Skip to content

Commit 93159a3

Browse files
committed
Ensure SignatureAlgorithm::iter() works for ML-DSA
1 parent 9712d5b commit 93159a3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rcgen/src/sign_algo.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ impl SignatureAlgorithm {
8484
#[cfg(feature = "aws_lc_rs")]
8585
&ECDSA_P521_SHA512,
8686
&ED25519,
87+
#[cfg(all(feature = "aws_lc_rs_unstable", not(feature = "fips")))]
88+
&ML_DSA_44,
89+
#[cfg(all(feature = "aws_lc_rs_unstable", not(feature = "fips")))]
90+
&ML_DSA_65,
91+
#[cfg(all(feature = "aws_lc_rs_unstable", not(feature = "fips")))]
92+
&ML_DSA_87,
8793
];
8894
ALGORITHMS.iter()
8995
}

0 commit comments

Comments
 (0)