2 # ***** BEGIN LICENSE BLOCK *****
3 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License. You may obtain a copy of the License at
8 # http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
15 # The Original Code is the Netscape security libraries.
17 # The Initial Developer of the Original Code is
18 # Netscape Communications Corporation.
19 # Portions created by the Initial Developer are Copyright (C) 1994-2000
20 # the Initial Developer. All Rights Reserved.
24 # Alternatively, the contents of this file may be used under the terms of
25 # either the GNU General Public License Version 2 or later (the "GPL"), or
26 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 # in which case the provisions of the GPL or the LGPL are applicable instead
28 # of those above. If you wish to allow use of your version of this file only
29 # under the terms of either the GPL or the LGPL, and not to allow others to
30 # use your version of this file under the terms of the MPL, indicate your
31 # decision by deleting the provisions above and replace them with the notice
32 # and other provisions required by the GPL or the LGPL. If you do not delete
33 # the provisions above, a recipient may use your version of this file under
34 # the terms of any one of the MPL, the GPL or the LGPL.
36 # ***** END LICENSE BLOCK *****
40 cTemplate=pk11test.htp
44 regressSpecfile=pkcs11.reg
53 Use supplied pin, =PR_TRUE
54 Use different (incorrect) pin, =PR_FALSE
59 Generate keys on target token, = PR_TRUE
60 Generate keys on internal module, = PR_FALSE
64 TYPE = CK_MECHANISM_TYPE
66 RSA PKCS, = CKM_RSA_PKCS
67 RSA 9796, = CKM_RSA_9796
68 RSA X.509, = CKM_RSA_X_509
69 MD2 RSA PKCS, = CKM_MD2_RSA_PKCS
70 MD5 RSA PKCS, = CKM_MD5_RSA_PKCS
71 SHA1 RSA PKCS, = CKM_SHA1_RSA_PKCS
73 DSA SHA1, = CKM_DSA_SHA1
75 ECDSA SHA1, = CKM_ECDSA_SHA1
76 RC2 ECB, = CKM_RC2_ECB
77 RC2 CBC, = CKM_RC2_CBC
78 #RC2 CBC PAD, = CKM_RC2_CBC_PAD
79 #RC2 MAC general, = CKM_RC2_MAC_GENERAL
80 #RC2 MAC, = CKM_RC2_MAC
82 RC5 ECB, = CKM_RC5_ECB
83 RC5 CBC, = CKM_RC5_CBC
84 #RC5 CBC PAD, = CKM_RC5_CBC_PAD
85 #RC5 MAC general, = CKM_RC5_MAC_GENERAL
86 #RC5 MAC, = CKM_RC5_MAC
87 DES ECB, = CKM_DES_ECB
88 DES CBC, = CKM_DES_CBC
89 #DES CBC PAD, = CKM_DES_CBC_PAD
90 #DES MAC general, = CKM_DES_MAC_GENERAL
91 #DES MAC, = CKM_DES_MAC
92 #DES2 keygen, = CKM_DES2_KEY_GEN
93 DES3 ECB, = CKM_DES3_ECB
94 DES3 CBC, = CKM_DES3_CBC
95 #DES3 CBC pad, = CKM_DES3_CBC_PAD
96 #DES3 MAC general, = CKM_DES3_MAC_GENERAL
97 #DES3 MAC, = CKM_DES3_MAC
98 CAST ECB, = CKM_CAST_ECB
99 CAST CBC, = CKM_CAST_CBC
100 #CAST CBC PAD, = CKM_CAST_CBC_PAD
101 #CAST MAC general, = CKM_CAST_MAC_GENERAL
102 #CAST MAC, = CKM_CAST_MAC
103 CAST3 ECB, = CKM_CAST3_ECB
104 CAST3 CBC, = CKM_CAST3_CBC
105 #CAST3 CBC PAD, = CKM_CAST3_CBC_PAD
106 #CAST3 MAC general, = CKM_CAST3_MAC_GENERAL
107 #CAST3 MAC, = CKM_CAST3_MAC
108 CAST5 ECB, = CKM_CAST5_ECB
109 CAST5 CBC, = CKM_CAST5_CBC
110 #CAST5 CBC PAD, = CKM_CAST5_CBC_PAD
111 #CAST5 MAC general, = CKM_CAST5_MAC_GENERAL
112 #CAST5 MAC, = CKM_CAST5_MAC
113 IDEA ECB, = CKM_IDEA_ECB
114 IDEA CBC, = CKM_IDEA_CBC
115 #IDEA CBC PAD, = CKM_IDEA_CBC_PAD
116 #IDEA MAC general, = CKM_IDEA_MAC_GENERAL
117 #IDEA MAC, = CKM_IDEA_MAC
118 CDMF ECB, = CKM_CDMF_ECB
119 CDMF CBC, = CKM_CDMF_CBC
120 #CDMF CBC PAD, = CKM_CDMF_CBC_PAD
121 #CDMF MAC general, = CKM_CDMF_MAC_GENERAL
122 #CDMF MAC, = CKM_CDMF_MAC
123 SKIPJACK ECB64, = CKM_SKIPJACK_ECB64
124 SKIPJACK CBC64, = CKM_SKIPJACK_CBC64
125 SKIPJACK OFB64, = CKM_SKIPJACK_OFB64
126 SKIPJACK CFB64, = CKM_SKIPJACK_CFB64
127 SKIPJACK CFB32, = CKM_SKIPJACK_CFB32
128 SKIPJACK CFB16, = CKM_SKIPJACK_CFB16
129 SKIPJACK CFB8, = CKM_SKIPJACK_CFB8
130 BATON ECB128, = CKM_BATON_ECB128
131 BATON ECB96, = CKM_BATON_ECB96
132 BATON CBC128, = CKM_BATON_CBC128
133 BATON counter, = CKM_BATON_COUNTER
134 BATON shuffle, = CKM_BATON_SHUFFLE
135 JUNIPER ECB128, = CKM_JUNIPER_ECB128
136 JUNIPER CBC128, = CKM_JUNIPER_CBC128
137 JUNIPER counter, = CKM_JUNIPER_COUNTER
138 JUNIPER shuffle, = CKM_JUNIPER_SHUFFLE
139 #MD2 digest, = CKM_MD2
140 #MD2 HMAC general, = CKM_MD2_HMAC_GENERAL
141 #MD2 HMAC, = CKM_MD2_HMAC
142 #MD5 digest, = CKM_MD5
143 #MD5 HMAC general, = CKM_MD5_HMAC_GENERAL
144 #MD5 HMAC, = CKM_MD5_HMAC
145 #SHA1 digest, = CKM_SHA_1
146 #SHA1 HMAC general, = CKM_SHA_1_HMAC_GENERAL
147 #SHA1 HMAC, = CKM_SHA_1_HMAC
148 #Fasthash, = CKM_FASTHASH
149 #CKM_PBE_MD2_DES_CBC = CKM_PBE_MD2_DES_CBC
150 #CKM_PBE_MD5_DES_CBC = CKM_PBE_MD5_DES_CBC
151 #CKM_PBE_MD5_CAST_CBC = CKM_PBE_MD5_CAST_CBC
152 #CKM_PBE_MD5_CAST3_CBC = CKM_PBE_MD5_CAST3_CBC
153 #CKM_PBE_MD5_CAST5_CBC = CKM_PBE_MD5_CAST5_CBC
154 #CKM_PBE_SHA1_CAST5_CBC = CKM_PBE_SHA1_CAST5_CBC
155 #CKM_PBE_SHA1_RC4_128 = CKM_PBE_SHA1_RC4_128
156 #CKM_PBE_SHA1_RC4_40 = CKM_PBE_SHA1_RC4_40
157 #CKM_PBE_SHA1_DES3_EDE_CBC = CKM_PBE_SHA1_DES3_EDE_CBC
158 #CKM_PBE_SHA1_DES2_EDE_CBC = CKM_PBE_SHA1_DES2_EDE_CBC
159 #CKM_PBE_SHA1_RC2_128_CBC = CKM_PBE_SHA1_RC2_128_CBC
160 #CKM_PBE_SHA1_RC2_40_CBC = CKM_PBE_SHA1_RC2_40_CBC
161 #CKM_PBA_SHA1_WITH_SHA1_HMAC = CKM_PBA_SHA1_WITH_SHA1_HMAC