Skip to content

Commit

Permalink
Add support for EC aliases in SunPKCS11
Browse files Browse the repository at this point in the history
Allow EC aliases to be used for ECKeyFactory in SunPKCS11

Signed-off-by: Bob Du <bob.du@ibm.com>
  • Loading branch information
Bob Du committed Aug 26, 2024
1 parent 12ee8ca commit cbc1dde
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ private static void register(Descriptor d) {
d(KF, "DH", P11DHKeyFactory,
dhAlias,
m(CKM_DH_PKCS_KEY_PAIR_GEN, CKM_DH_PKCS_DERIVE));
d(KF, "EC", P11ECKeyFactory,
dA(KF, "EC", P11ECKeyFactory,
m(CKM_EC_KEY_PAIR_GEN, CKM_ECDH1_DERIVE,
CKM_ECDSA, CKM_ECDSA_SHA1));

Expand Down

0 comments on commit cbc1dde

Please sign in to comment.