Skip to content

Commit 5f96d73

Browse files
author
Lance
committed
The latest PKCS PeculiarVentures#11 v2.40 specification, changes the values, because there was conflict with Blowfish in older version v2.30:
http://docs.oasis-open.org/pkcs11/pkcs11-curr/v2.40/cs01/pkcs11-curr-v2.40-cs01.pdf #define CKM_BLOWFISH_KEY_GEN 0x00001090 #define CKM_BLOWFISH_CBC 0x00001091 #define CKM_AES_KEY_WRAP 0x00002109 #define CKM_AES_KEY_WRAP_PAD 0x0000210A
1 parent d220b7c commit 5f96d73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/pkcs11/pkcs11t.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -892,8 +892,8 @@ typedef CK_ULONG CK_MECHANISM_TYPE;
892892

893893
#define CKM_AES_GCM 0x00001087
894894
#define CKM_AES_CCM 0x00001088
895-
#define CKM_AES_KEY_WRAP 0x00001090
896-
#define CKM_AES_KEY_WRAP_PAD 0x00001091
895+
#define CKM_AES_KEY_WRAP 0x00002109
896+
#define CKM_AES_KEY_WRAP_PAD 0x0000210a
897897

898898
#define CKM_BLOWFISH_CBC_PAD 0x00001094
899899
#define CKM_TWOFISH_CBC_PAD 0x00001095

0 commit comments

Comments
 (0)