Skip to content

Commit

Permalink
Update pkcs11.h with ECDSA defines
Browse files Browse the repository at this point in the history
Added Mechanism implemented with EC keys
  • Loading branch information
msetina committed Mar 16, 2024
1 parent 808199f commit e2c2e87
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/opensc/pkcs11.h
Expand Up @@ -656,6 +656,10 @@ typedef unsigned long ck_mechanism_type_t;
#define CKM_EC_KEY_PAIR_GEN (0x1040)
#define CKM_ECDSA (0x1041)
#define CKM_ECDSA_SHA1 (0x1042)
#define CKM_ECDSA_SHA224 (0x1043)
#define CKM_ECDSA_SHA256 (0x1044)
#define CKM_ECDSA_SHA384 (0x1045)
#define CKM_ECDSA_SHA512 (0x1046)
#define CKM_ECDH1_DERIVE (0x1050)
#define CKM_ECDH1_COFACTOR_DERIVE (0x1051)
#define CKM_ECMQV_DERIVE (0x1052)
Expand Down

0 comments on commit e2c2e87

Please sign in to comment.