diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2023-10-23 21:53:30 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2023-10-23 22:17:19 +0300 |
commit | 185aad3f5de6274260a161e58d92312d91813770 (patch) | |
tree | 39b2a93a9a649bffaaea9e405b00ceeea0d13c11 /contrib/restricted/aws/s2n/tls/s2n_tls_parameters.h | |
parent | a14514f8c6ab647d334ae41253e65f69ee9b5fa6 (diff) | |
download | ydb-185aad3f5de6274260a161e58d92312d91813770.tar.gz |
Update contrib/restricted/aws/s2n to 1.3.54
Diffstat (limited to 'contrib/restricted/aws/s2n/tls/s2n_tls_parameters.h')
-rw-r--r-- | contrib/restricted/aws/s2n/tls/s2n_tls_parameters.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/contrib/restricted/aws/s2n/tls/s2n_tls_parameters.h b/contrib/restricted/aws/s2n/tls/s2n_tls_parameters.h index e0187fdf3b..cb565aa307 100644 --- a/contrib/restricted/aws/s2n/tls/s2n_tls_parameters.h +++ b/contrib/restricted/aws/s2n/tls/s2n_tls_parameters.h @@ -65,9 +65,15 @@ /* TLS 1.3 hybrid post-quantum definitions are from the proposed reserved range defined * in https://tools.ietf.org/html/draft-stebila-tls-hybrid-design. Values for interoperability are defined in - * https://github.com/open-quantum-safe/openssl/blob/OQS-OpenSSL_1_1_1-stable/oqs-template/oqs-kem-info.md */ -#define TLS_PQ_KEM_GROUP_ID_X25519_KYBER_512_R3 0x2F39 -#define TLS_PQ_KEM_GROUP_ID_SECP256R1_KYBER_512_R3 0x2F3A + * https://github.com/open-quantum-safe/oqs-provider/blob/main/oqs-template/oqs-kem-info.md and + * https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml + */ +#define TLS_PQ_KEM_GROUP_ID_X25519_KYBER_512_R3 0x2F39 +#define TLS_PQ_KEM_GROUP_ID_SECP256R1_KYBER_512_R3 0x2F3A +#define TLS_PQ_KEM_GROUP_ID_SECP384R1_KYBER_768_R3 0x2F3C +#define TLS_PQ_KEM_GROUP_ID_SECP521R1_KYBER_1024_R3 0x2F3D +#define TLS_PQ_KEM_GROUP_ID_X25519_KYBER_768_R3 0x6399 +#define TLS_PQ_KEM_GROUP_ID_SECP256R1_KYBER_768_R3 0x639A /* From https://tools.ietf.org/html/rfc7507 */ #define TLS_FALLBACK_SCSV 0x56, 0x00 |