2
0

tlsgroups.h 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /*
  2. * Copyright 2017-2021 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. #ifndef OSSL_INTERNAL_TLSGROUPS_H
  10. # define OSSL_INTERNAL_TLSGROUPS_H
  11. # pragma once
  12. # define OSSL_TLS_GROUP_ID_sect163k1 0x0001
  13. # define OSSL_TLS_GROUP_ID_sect163r1 0x0002
  14. # define OSSL_TLS_GROUP_ID_sect163r2 0x0003
  15. # define OSSL_TLS_GROUP_ID_sect193r1 0x0004
  16. # define OSSL_TLS_GROUP_ID_sect193r2 0x0005
  17. # define OSSL_TLS_GROUP_ID_sect233k1 0x0006
  18. # define OSSL_TLS_GROUP_ID_sect233r1 0x0007
  19. # define OSSL_TLS_GROUP_ID_sect239k1 0x0008
  20. # define OSSL_TLS_GROUP_ID_sect283k1 0x0009
  21. # define OSSL_TLS_GROUP_ID_sect283r1 0x000A
  22. # define OSSL_TLS_GROUP_ID_sect409k1 0x000B
  23. # define OSSL_TLS_GROUP_ID_sect409r1 0x000C
  24. # define OSSL_TLS_GROUP_ID_sect571k1 0x000D
  25. # define OSSL_TLS_GROUP_ID_sect571r1 0x000E
  26. # define OSSL_TLS_GROUP_ID_secp160k1 0x000F
  27. # define OSSL_TLS_GROUP_ID_secp160r1 0x0010
  28. # define OSSL_TLS_GROUP_ID_secp160r2 0x0011
  29. # define OSSL_TLS_GROUP_ID_secp192k1 0x0012
  30. # define OSSL_TLS_GROUP_ID_secp192r1 0x0013
  31. # define OSSL_TLS_GROUP_ID_secp224k1 0x0014
  32. # define OSSL_TLS_GROUP_ID_secp224r1 0x0015
  33. # define OSSL_TLS_GROUP_ID_secp256k1 0x0016
  34. # define OSSL_TLS_GROUP_ID_secp256r1 0x0017
  35. # define OSSL_TLS_GROUP_ID_secp384r1 0x0018
  36. # define OSSL_TLS_GROUP_ID_secp521r1 0x0019
  37. # define OSSL_TLS_GROUP_ID_brainpoolP256r1 0x001A
  38. # define OSSL_TLS_GROUP_ID_brainpoolP384r1 0x001B
  39. # define OSSL_TLS_GROUP_ID_brainpoolP512r1 0x001C
  40. # define OSSL_TLS_GROUP_ID_x25519 0x001D
  41. # define OSSL_TLS_GROUP_ID_x448 0x001E
  42. # define OSSL_TLS_GROUP_ID_brainpoolP256r1_tls13 0x001F
  43. # define OSSL_TLS_GROUP_ID_brainpoolP384r1_tls13 0x0020
  44. # define OSSL_TLS_GROUP_ID_brainpoolP512r1_tls13 0x0021
  45. # define OSSL_TLS_GROUP_ID_gc256A 0x0022
  46. # define OSSL_TLS_GROUP_ID_gc256B 0x0023
  47. # define OSSL_TLS_GROUP_ID_gc256C 0x0024
  48. # define OSSL_TLS_GROUP_ID_gc256D 0x0025
  49. # define OSSL_TLS_GROUP_ID_gc512A 0x0026
  50. # define OSSL_TLS_GROUP_ID_gc512B 0x0027
  51. # define OSSL_TLS_GROUP_ID_gc512C 0x0028
  52. # define OSSL_TLS_GROUP_ID_ffdhe2048 0x0100
  53. # define OSSL_TLS_GROUP_ID_ffdhe3072 0x0101
  54. # define OSSL_TLS_GROUP_ID_ffdhe4096 0x0102
  55. # define OSSL_TLS_GROUP_ID_ffdhe6144 0x0103
  56. # define OSSL_TLS_GROUP_ID_ffdhe8192 0x0104
  57. #endif