]> granicus.if.org Git - p11-kit/commitdiff
pkcs11: Add AES key wrap mechanisms
authorDaiki Ueno <dueno@redhat.com>
Tue, 6 Dec 2016 10:02:48 +0000 (11:02 +0100)
committerDaiki Ueno <ueno@gnu.org>
Tue, 13 Dec 2016 09:14:02 +0000 (10:14 +0100)
https://bugzilla.redhat.com/show_bug.cgi?id=1191231

common/pkcs11.h

index f8dc78e20885258630b82d00c46430e8a2aa7484..41ecc31190b87597f2dd143010864ae3e6fec7ac 100644 (file)
@@ -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;