From 08ccf47fe3b58c36186b36e320fe7395eca390f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 28 Jun 2007 08:45:20 +0000 Subject: [PATCH] Add sha2 CKM's. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21385 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/ref/pkcs11.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/hx509/ref/pkcs11.h b/lib/hx509/ref/pkcs11.h index 115c309e4..905af0961 100644 --- a/lib/hx509/ref/pkcs11.h +++ b/lib/hx509/ref/pkcs11.h @@ -540,6 +540,15 @@ typedef unsigned long ck_mechanism_type_t; #define CKM_RIPEMD160 (0x240) #define CKM_RIPEMD160_HMAC (0x241) #define CKM_RIPEMD160_HMAC_GENERAL (0x242) +#define CKM_SHA256 (0x250) +#define CKM_SHA256_HMAC (0x251) +#define CKM_SHA256_HMAC_GENERAL (0x252) +#define CKM_SHA384 (0x260) +#define CKM_SHA384_HMAC (0x261) +#define CKM_SHA384_HMAC_GENERAL (0x262) +#define CKM_SHA512 (0x270) +#define CKM_SHA512_HMAC (0x271) +#define CKM_SHA512_HMAC_GENERAL (0x272) #define CKM_CAST_KEY_GEN (0x300) #define CKM_CAST_ECB (0x301) #define CKM_CAST_CBC (0x302)