File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ struct FipsMechanism {
283283/// Struct that holds FIPS properties for keys and mechanisms
284284struct FipsChecks {
285285 keys : [ FipsKeyType ; 17 ] ,
286- mechs : [ FipsMechanism ; 91 ] ,
286+ mechs : [ FipsMechanism ; 93 ] ,
287287}
288288
289289/// A constant instantiation of FIPS properties with a list
@@ -552,6 +552,19 @@ const FIPS_CHECKS: FipsChecks = FipsChecks {
552552 restrictions : [ restrict ! ( CKK_EC ) , restrict ! ( ) ] ,
553553 genflags : 0 ,
554554 } ,
555+ /* EDDSA */
556+ FipsMechanism {
557+ mechanism : CKM_EC_EDWARDS_KEY_PAIR_GEN ,
558+ operations : CKF_GENERATE_KEY_PAIR ,
559+ restrictions : [ restrict ! ( CKK_EC_EDWARDS ) , restrict ! ( ) ] ,
560+ genflags : CKF_SIGN | CKF_VERIFY ,
561+ } ,
562+ FipsMechanism {
563+ mechanism : CKM_EDDSA ,
564+ operations : CKF_SIGN | CKF_VERIFY ,
565+ restrictions : [ restrict ! ( CKK_EC_EDWARDS ) , restrict ! ( ) ] ,
566+ genflags : 0 ,
567+ } ,
555568 /* AES */
556569 FipsMechanism {
557570 mechanism : CKM_AES_KEY_GEN ,
You can’t perform that action at this time.
0 commit comments