Update PKCS#11 mechanism constants for AES key wrapping to PKCS#11 v2.40.

SoftHSM 2.0.0rc1 was updates to these new constants to avoid collision with
Blowfish mechanisms.

Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Petr Spacek 2015-06-08 16:14:24 +02:00 committed by Petr Vobornik
parent 4d05b5d18d
commit 40680fd2a9
2 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@ BuildRequires: libunistring-devel
BuildRequires: python-lesscpy
BuildRequires: python-yubico >= 1.2.3
BuildRequires: python-backports-ssl_match_hostname
BuildRequires: softhsm-devel >= 2.0.0b1-3
BuildRequires: softhsm-devel >= 2.0.0rc1-1
BuildRequires: openssl-devel
BuildRequires: p11-kit-devel
BuildRequires: pki-base >= 10.2.4-1

View File

@ -50,8 +50,8 @@
#include "library.h"
// compat TODO
#define CKM_AES_KEY_WRAP (0x1090)
#define CKM_AES_KEY_WRAP_PAD (0x1091)
#define CKM_AES_KEY_WRAP (0x2109)
#define CKM_AES_KEY_WRAP_PAD (0x210a)
// TODO
#define CKA_COPYABLE (0x0017)