summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornelson%bolyard.com <devnull@localhost>2009-03-25 05:21:34 +0000
committernelson%bolyard.com <devnull@localhost>2009-03-25 05:21:34 +0000
commite36456cc1476d1a8d4dc25efc335d67134fd149b (patch)
treebffae19b4913cd401e9bb3bbc1a288c36bda86ce
parent55aa5905b1f91d32918253cb436ae0d66283b06a (diff)
downloadnss-hg-e36456cc1476d1a8d4dc25efc335d67134fd149b.tar.gz
Bug 453234: Support for SEED Cipher Suites to TLS RFC 4010
patch by Yeonjung Kang <kang.yeonjung@gmail.com>, r=nelson
-rw-r--r--security/nss/lib/util/pkcs11t.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/nss/lib/util/pkcs11t.h b/security/nss/lib/util/pkcs11t.h
index 104fa698a..044ec511c 100644
--- a/security/nss/lib/util/pkcs11t.h
+++ b/security/nss/lib/util/pkcs11t.h
@@ -429,6 +429,8 @@ typedef CK_ULONG CK_KEY_TYPE;
/* Camellia is proposed for v2.20 Amendment 3 */
#define CKK_CAMELLIA 0x00000025
+#define CKK_SEED 0x00000026
+
#define CKK_VENDOR_DEFINED 0x80000000
@@ -933,6 +935,15 @@ typedef CK_ULONG CK_MECHANISM_TYPE;
#define CKM_CAMELLIA_ECB_ENCRYPT_DATA 0x00000556
#define CKM_CAMELLIA_CBC_ENCRYPT_DATA 0x00000557
+#define CKM_SEED_KEY_GEN 0x00000650
+#define CKM_SEED_ECB 0x00000651
+#define CKM_SEED_CBC 0x00000652
+#define CKM_SEED_MAC 0x00000653
+#define CKM_SEED_MAC_GENERAL 0x00000654
+#define CKM_SEED_CBC_PAD 0x00000655
+#define CKM_SEED_ECB_ENCRYPT_DATA 0x00000656
+#define CKM_SEED_CBC_ENCRYPT_DATA 0x00000657
+
/* CKM_xxx_ENCRYPT_DATA mechanisms are new for v2.20 */
#define CKM_DES_ECB_ENCRYPT_DATA 0x00001100
#define CKM_DES_CBC_ENCRYPT_DATA 0x00001101