Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New values for CKM_AES_KEY_WRAP and CKM_AES_KEY_WRAP_PAD #54

Merged
merged 1 commit into from
Sep 16, 2019

Conversation

zBuffer
Copy link

@zBuffer zBuffer commented Sep 15, 2019

The latest PKCS #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

…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
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 5f96d73 on zBuffer:master into d220b7c on PeculiarVentures:master.

@microshine microshine merged commit 1433813 into PeculiarVentures:master Sep 16, 2019
@microshine
Copy link
Contributor

@zBuffer Thank you for PR. I published [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants