rust-cryptoki
rust-cryptoki copied to clipboard
Current `pkcs11.h` is not up-to-date
trafficstars
The pkcs11.h header file in crypto-sys is not in conformance with PKCS#11 v2.40 + errata 01. This should be updated to match what the current spec is. We have two options:
- Go through the file and add in the missing fields
- Download latest header files from oasis
2a. Will need to either modify
pkcs11.hor add in our own header files for the different architectures (really the big one is Windows with itspragmadirectives).
What speaks against updating the pkcs11.h file to what opensc is using currently? Diffing the two files they look quite similiar, maybe that's easier then adopting the oasis files?
The latest set of headers were added in #228!