Create defines for TLS Group Ids
[openssl.git] / include / internal / tlsgroups.h
1 /*
2  * Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
3  *
4  * Licensed under the Apache License 2.0 (the "License").  You may not use
5  * this file except in compliance with the License.  You can obtain a copy
6  * in the file LICENSE in the source distribution or at
7  * https://www.openssl.org/source/license.html
8  */
9
10 #ifndef OSSL_INTERNAL_TLSGROUPS_H
11 # define OSSL_INTERNAL_TLSGROUPS_H
12
13 # define OSSL_TLS_GROUP_ID_sect163k1        0x0001
14 # define OSSL_TLS_GROUP_ID_sect163r1        0x0002
15 # define OSSL_TLS_GROUP_ID_sect163r2        0x0003
16 # define OSSL_TLS_GROUP_ID_sect193r1        0x0004
17 # define OSSL_TLS_GROUP_ID_sect193r2        0x0005
18 # define OSSL_TLS_GROUP_ID_sect233k1        0x0006
19 # define OSSL_TLS_GROUP_ID_sect233r1        0x0007
20 # define OSSL_TLS_GROUP_ID_sect239k1        0x0008
21 # define OSSL_TLS_GROUP_ID_sect283k1        0x0009
22 # define OSSL_TLS_GROUP_ID_sect283r1        0x000A
23 # define OSSL_TLS_GROUP_ID_sect409k1        0x000B
24 # define OSSL_TLS_GROUP_ID_sect409r1        0x000C
25 # define OSSL_TLS_GROUP_ID_sect571k1        0x000D
26 # define OSSL_TLS_GROUP_ID_sect571r1        0x000E
27 # define OSSL_TLS_GROUP_ID_secp160k1        0x000F
28 # define OSSL_TLS_GROUP_ID_secp160r1        0x0010
29 # define OSSL_TLS_GROUP_ID_secp160r2        0x0011
30 # define OSSL_TLS_GROUP_ID_secp192k1        0x0012
31 # define OSSL_TLS_GROUP_ID_secp192r1        0x0013
32 # define OSSL_TLS_GROUP_ID_secp224k1        0x0014
33 # define OSSL_TLS_GROUP_ID_secp224r1        0x0015
34 # define OSSL_TLS_GROUP_ID_secp256k1        0x0016
35 # define OSSL_TLS_GROUP_ID_secp256r1        0x0017
36 # define OSSL_TLS_GROUP_ID_secp384r1        0x0018
37 # define OSSL_TLS_GROUP_ID_secp521r1        0x0019
38 # define OSSL_TLS_GROUP_ID_brainpoolP256r1  0x001A
39 # define OSSL_TLS_GROUP_ID_brainpoolP384r1  0x001B
40 # define OSSL_TLS_GROUP_ID_brainpoolP512r1  0x001C
41 # define OSSL_TLS_GROUP_ID_x25519           0x001D
42 # define OSSL_TLS_GROUP_ID_x448             0x001E
43 # define OSSL_TLS_GROUP_ID_ffdhe2048        0x0100
44 # define OSSL_TLS_GROUP_ID_ffdhe3072        0x0101
45 # define OSSL_TLS_GROUP_ID_ffdhe4096        0x0102
46 # define OSSL_TLS_GROUP_ID_ffdhe6144        0x0103
47 # define OSSL_TLS_GROUP_ID_ffdhe8192        0x0104
48
49 #endif