From: Daiki Ueno Date: Tue, 6 Dec 2016 10:02:48 +0000 (+0100) Subject: pkcs11: Add AES key wrap mechanisms X-Git-Tag: 0.23.3~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ccc81bbfaffb5617a509126b8f882b6c930434e3;p=p11-kit pkcs11: Add AES key wrap mechanisms https://bugzilla.redhat.com/show_bug.cgi?id=1191231 --- 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;