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