From ccc81bbfaffb5617a509126b8f882b6c930434e3 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Tue, 6 Dec 2016 11:02:48 +0100 Subject: pkcs11: Add AES key wrap mechanisms https://bugzilla.redhat.com/show_bug.cgi?id=1191231 --- common/pkcs11.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common') 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; -- cgit v1.1