diff options
author | Daiki Ueno <dueno@redhat.com> | 2016-12-06 11:02:48 +0100 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2016-12-13 10:14:02 +0100 |
commit | ccc81bbfaffb5617a509126b8f882b6c930434e3 (patch) | |
tree | 823e16e0ac879c0cfaf5d5b550dad7dd496fef53 /common | |
parent | b034e8601036c41acfcbd39f12fcd4bfb75dfd13 (diff) |
pkcs11: Add AES key wrap mechanisms
https://bugzilla.redhat.com/show_bug.cgi?id=1191231
Diffstat (limited to 'common')
-rw-r--r-- | common/pkcs11.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/pkcs11.h b/common/pkcs11.h index f8dc78e..41ecc31 100644 --- a/common/pkcs11.h +++ b/common/pkcs11.h @@ -716,6 +716,9 @@ typedef unsigned long ck_mechanism_type_t; #define CKM_CAMELLIA_ECB_ENCRYPT_DATA (0x556UL) #define CKM_CAMELLIA_CBC_ENCRYPT_DATA (0x557UL) +#define CKM_AES_KEY_WRAP (0x2109UL) +#define CKM_AES_KEY_WRAP_PAD (0x210aUL) + struct ck_mechanism { ck_mechanism_type_t mechanism; |