[Softhsm-develop] SOFTHSM-112: PKCS#11 constants conflict for AES and BLOWFISH

Jerry Lundström jerry.lundstrom at iis.se
Wed Feb 11 13:31:44 UTC 2015


Hi Petr,

On ons, 2015-02-11 at 13:24 +0100, Petr Spacek wrote:
> Current PKCS#11 v2.40 solved this problem by re-numbering AES_KEY_WRAP algorithms:
> 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

Interesting, will consider changing this for my Crypt::PKCS11 [1]
project also.

Have you found any pkcs11.h/pkcs11t.h/pkcs11f.h files for v2.40 ?

Btw, the latest specification is cos01 according to the "curr"-page [2].

/Jerry

[1] https://github.com/dotse/p5-Crypt-PKCS11
[2] http://docs.oasis-open.org/pkcs11/pkcs11-curr/v2.40/pkcs11-curr-v2.40.html

-- 
Jerry Lundström - Software Engineer
.SE - The Internet Infrastructure Foundation
http://www.iis.se/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.opendnssec.org/pipermail/softhsm-develop/attachments/20150211/f06626bc/attachment.bin>


More information about the Softhsm-develop mailing list