Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkcs11: handle CKA_{DECRYPT,ENCRYPT} when generating wrap keys
The translation of the CKA_{DECRYPT,ENCRYPT} attributes to the corresponding {un}wrap-data capabilities for wrap keys is missing from C_GenerateKey, but present in C_CreateObject. Remedy this by also handling the attributes in C_GenerateKey.
- Loading branch information