You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AES_KEY_WRAP and CKM_BLOWFISH_KEY_GEN have the same value.
CKM_AES_KEY_WRAP_PAD and CKM_BLOWFISH_CBC have the same value.
That was fixed in v 2.40 :
#define CKM_AES_KEY_WRAP 0x00002109UL /* WAS: 0x00001090 /
#define CKM_AES_KEY_WRAP_PAD 0x0000210AUL / WAS: 0x00001091 */
The problem is that software like e.g. softhsm > 2.0 beta have fixed this bug, and Crypt-PKCS11 keeping compatibility with the bugged version, means it's incompatible with newer software.
The constant values
use constant CKM_AES_KEY_WRAP => 0x00001090;
use constant CKM_AES_KEY_WRAP_PAD => 0x00001091;
are wrong. The right ones are:
CKM_AES_KEY_WRAP 0x00002109
CKM_AES_KEY_WRAP_PAD 0x0000210A
The text was updated successfully, but these errors were encountered: