Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nss: Set NSS_PKCS11_2_0_COMPAT to ensure using the compat interface f…
…or now. This might resolve the issue seen in #334 As per conversation with Bob: The issue is building with nss 3.52, If you build with 3.51 and run with 3.52 you won't run into the issue. It's the default for the definition of CK_GCM_PARAMS. The spec and the released headers were different from OASIS. In that case, the header is authoritative and we used the spec NSS needs to move the new definition, but doing so will break things that compile with NSS. To get around it you can add -DNSS_PKCS11_2_0_COMPAT or include it in your .c file Long term, you'll actually want to move the the AEAD interface. There's a new PKCS #11 interface that allows you to operate multiple AEAD operations on a single key. It allows token IV generation. I added new wrappers in 3.52 to handle the differences between tokens and mechanism
- Loading branch information