File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ enum aws_tls_cipher_pref {
43
43
*/
44
44
AWS_IO_TLS_CIPHER_PREF_PQ_TLSV1_2_2024_10 = 7 ,
45
45
46
+ /* Recommended default policy with post-quantum algorithm support. This policy may change over time. */
47
+ AWS_IO_TLS_CIPHER_PREF_PQ_DEFAULT = 8 ,
48
+
46
49
AWS_IO_TLS_CIPHER_PREF_END_RANGE = 0xFFFF
47
50
};
48
51
Original file line number Diff line number Diff line change @@ -272,6 +272,8 @@ bool aws_tls_is_cipher_pref_supported(enum aws_tls_cipher_pref cipher_pref) {
272
272
return true;
273
273
case AWS_IO_TLS_CIPHER_PREF_PQ_TLSV1_2_2024_10 :
274
274
return true;
275
+ case AWS_IO_TLS_CIPHER_PREF_PQ_DEFAULT :
276
+ return true;
275
277
#endif
276
278
277
279
default :
@@ -1535,6 +1537,10 @@ static struct aws_tls_ctx *s_tls_ctx_new(
1535
1537
/* No-Op, if the user configured a minimum_tls_version then a version-specific Cipher Preference was set
1536
1538
*/
1537
1539
break ;
1540
+ case AWS_IO_TLS_CIPHER_PREF_PQ_DEFAULT :
1541
+ /* The specific PQ policy used here may change over time. */
1542
+ security_policy = "AWS-CRT-SDK-TLSv1.2-2023-PQ" ;
1543
+ break ;
1538
1544
case AWS_IO_TLS_CIPHER_PREF_PQ_TLSv1_0_2021_05 :
1539
1545
security_policy = "PQ-TLS-1-0-2021-05-26" ;
1540
1546
break ;
You can’t perform that action at this time.
0 commit comments