-
Notifications
You must be signed in to change notification settings - Fork 394
Open
Description
Per the Oasis 2.40 docs:
_2.1 Structure packing
Cryptoki structures are packed to occupy as little space as is possible. Cryptoki structures SHALL be packed with 1-byte alignment.
However in the develop branch of SoftHSMv2 there is no packing for gcc, which means the PKCS11 API has no hope of running with compliant host software. Granted, MANY implementations of PKCS11 ignore this requirement, but it's not a good excuse to ignore the specification. At the very least it should be a configurable item.
I will be glad to provide a patch if anyone is interested.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels