@@ -9,7 +9,7 @@ pub mod elliptic_curve;
99pub mod hkdf;
1010pub mod kbkdf;
1111mod mechanism_info;
12- pub mod mldsa ;
12+ pub mod dsa ;
1313pub mod rsa;
1414pub mod vendor_defined;
1515
@@ -1152,29 +1152,29 @@ pub enum Mechanism<'a> {
11521152 /// ML-DSA key pair generation mechanism
11531153 MlDsaKeyPairGen ,
11541154 /// ML-DSA signature mechanism
1155- MlDsa ( mldsa :: SignAdditionalContext < ' a > ) ,
1155+ MlDsa ( dsa :: SignAdditionalContext < ' a > ) ,
11561156 /// HashML-DSA signature mechanism
1157- HashMlDsa ( mldsa :: HashSignAdditionalContext < ' a > ) ,
1157+ HashMlDsa ( dsa :: HashSignAdditionalContext < ' a > ) ,
11581158 /// HashML-DSA signature mechanism with SHA224
1159- HashMlDsaSha224 ( mldsa :: SignAdditionalContext < ' a > ) ,
1159+ HashMlDsaSha224 ( dsa :: SignAdditionalContext < ' a > ) ,
11601160 /// HashML-DSA signature mechanism with SHA256
1161- HashMlDsaSha256 ( mldsa :: SignAdditionalContext < ' a > ) ,
1161+ HashMlDsaSha256 ( dsa :: SignAdditionalContext < ' a > ) ,
11621162 /// HashML-DSA signature mechanism with SHA384
1163- HashMlDsaSha384 ( mldsa :: SignAdditionalContext < ' a > ) ,
1163+ HashMlDsaSha384 ( dsa :: SignAdditionalContext < ' a > ) ,
11641164 /// HashML-DSA signature mechanism with SHA512
1165- HashMlDsaSha512 ( mldsa :: SignAdditionalContext < ' a > ) ,
1165+ HashMlDsaSha512 ( dsa :: SignAdditionalContext < ' a > ) ,
11661166 /// HashML-DSA signature mechanism with SHA3-224
1167- HashMlDsaSha3_224 ( mldsa :: SignAdditionalContext < ' a > ) ,
1167+ HashMlDsaSha3_224 ( dsa :: SignAdditionalContext < ' a > ) ,
11681168 /// HashML-DSA signature mechanism with SHA3-256
1169- HashMlDsaSha3_256 ( mldsa :: SignAdditionalContext < ' a > ) ,
1169+ HashMlDsaSha3_256 ( dsa :: SignAdditionalContext < ' a > ) ,
11701170 /// HashML-DSA signature mechanism with SHA3-384
1171- HashMlDsaSha3_384 ( mldsa :: SignAdditionalContext < ' a > ) ,
1171+ HashMlDsaSha3_384 ( dsa :: SignAdditionalContext < ' a > ) ,
11721172 /// HashML-DSA signature mechanism with SHA3-512
1173- HashMlDsaSha3_512 ( mldsa :: SignAdditionalContext < ' a > ) ,
1173+ HashMlDsaSha3_512 ( dsa :: SignAdditionalContext < ' a > ) ,
11741174 /// HashML-DSA signature mechanism with SHAKE128
1175- HashMlDsaShake128 ( mldsa :: SignAdditionalContext < ' a > ) ,
1175+ HashMlDsaShake128 ( dsa :: SignAdditionalContext < ' a > ) ,
11761176 /// HashML-DSA signature mechanism with SHAKE256
1177- HashMlDsaShake256 ( mldsa :: SignAdditionalContext < ' a > ) ,
1177+ HashMlDsaShake256 ( dsa :: SignAdditionalContext < ' a > ) ,
11781178
11791179 /// Vendor defined mechanism
11801180 VendorDefined ( VendorDefinedMechanism < ' a > ) ,
0 commit comments