pkcs11_luna 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data/.gemtest +0 -0
- data/.yardopts +1 -0
- data/Manifest.txt +24 -0
- data/README_LUNA.rdoc +103 -0
- data/Rakefile +88 -0
- data/examples/config.rb +5 -0
- data/examples/derive_aes_ecdh_key.rb +108 -0
- data/examples/encrypt_decrypt_aes.rb +41 -0
- data/examples/encrypt_decrypt_rsa.rb +47 -0
- data/examples/mechanism_list.rb +20 -0
- data/examples/multithread.rb +73 -0
- data/examples/objects_list.rb +23 -0
- data/examples/sign_verify.rb +56 -0
- data/examples/slot_info.rb +23 -0
- data/ext/extconf.rb +14 -0
- data/ext/generate_constants.rb +57 -0
- data/ext/generate_structs.rb +77 -0
- data/ext/pk11_const_macros.h +38 -0
- data/ext/pk11_struct_macros.h +435 -0
- data/ext/pk11_version.h +6 -0
- data/ext/pk11l.c +352 -0
- data/ext/pk11l_const_def.inc +804 -0
- data/ext/pk11l_struct.doc +1012 -0
- data/ext/pk11l_struct_def.inc +388 -0
- data/ext/pk11l_struct_impl.inc +388 -0
- data/lib/pkcs11_luna/extensions.rb +131 -0
- data/lib/pkcs11_luna.rb +11 -0
- data/test/app_id_helper.rb +29 -0
- data/test/luna_helper.rb +57 -0
- data/test/test_pkcs11_luna.rb +112 -0
- data/test/test_pkcs11_luna_crypt.rb +260 -0
- data.tar.gz.sig +0 -0
- metadata +173 -0
- metadata.gz.sig +1 -0
@@ -0,0 +1,804 @@
|
|
1
|
+
PKCS11_DEFINE_MECHANISM(CKM_RSA_PKCS_KEY_PAIR_GEN); /* 0x00000000 */
|
2
|
+
PKCS11_DEFINE_MECHANISM(CKM_RSA_PKCS); /* 0x00000001 */
|
3
|
+
PKCS11_DEFINE_MECHANISM(CKM_RSA_9796); /* 0x00000002 */
|
4
|
+
PKCS11_DEFINE_MECHANISM(CKM_RSA_X_509); /* 0x00000003 */
|
5
|
+
PKCS11_DEFINE_MECHANISM(CKM_MD2_RSA_PKCS); /* 0x00000004 */
|
6
|
+
PKCS11_DEFINE_MECHANISM(CKM_MD5_RSA_PKCS); /* 0x00000005 */
|
7
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA1_RSA_PKCS); /* 0x00000006 */
|
8
|
+
PKCS11_DEFINE_MECHANISM(CKM_RIPEMD128_RSA_PKCS); /* 0x00000007 */
|
9
|
+
PKCS11_DEFINE_MECHANISM(CKM_RIPEMD160_RSA_PKCS); /* 0x00000008 */
|
10
|
+
PKCS11_DEFINE_MECHANISM(CKM_RSA_PKCS_OAEP); /* 0x00000009 */
|
11
|
+
PKCS11_DEFINE_MECHANISM(CKM_RSA_X9_31_KEY_PAIR_GEN); /* 0x0000000A */
|
12
|
+
PKCS11_DEFINE_MECHANISM(CKM_RSA_X9_31); /* 0x0000000B */
|
13
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA1_RSA_X9_31); /* 0x0000000C */
|
14
|
+
PKCS11_DEFINE_MECHANISM(CKM_RSA_PKCS_PSS); /* 0x0000000D */
|
15
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA1_RSA_PKCS_PSS); /* 0x0000000E */
|
16
|
+
PKCS11_DEFINE_MECHANISM(CKM_DSA_KEY_PAIR_GEN); /* 0x00000010 */
|
17
|
+
PKCS11_DEFINE_MECHANISM(CKM_DSA); /* 0x00000011 */
|
18
|
+
PKCS11_DEFINE_MECHANISM(CKM_DSA_SHA1); /* 0x00000012 */
|
19
|
+
PKCS11_DEFINE_MECHANISM(CKM_DH_PKCS_KEY_PAIR_GEN); /* 0x00000020 */
|
20
|
+
PKCS11_DEFINE_MECHANISM(CKM_DH_PKCS_DERIVE); /* 0x00000021 */
|
21
|
+
PKCS11_DEFINE_MECHANISM(CKM_X9_42_DH_KEY_PAIR_GEN); /* 0x00000030 */
|
22
|
+
PKCS11_DEFINE_MECHANISM(CKM_X9_42_DH_DERIVE); /* 0x00000031 */
|
23
|
+
PKCS11_DEFINE_MECHANISM(CKM_X9_42_DH_HYBRID_DERIVE); /* 0x00000032 */
|
24
|
+
PKCS11_DEFINE_MECHANISM(CKM_X9_42_MQV_DERIVE); /* 0x00000033 */
|
25
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA256_RSA_PKCS); /* 0x00000040 */
|
26
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA384_RSA_PKCS); /* 0x00000041 */
|
27
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA512_RSA_PKCS); /* 0x00000042 */
|
28
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA256_RSA_PKCS_PSS); /* 0x00000043 */
|
29
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA384_RSA_PKCS_PSS); /* 0x00000044 */
|
30
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA512_RSA_PKCS_PSS); /* 0x00000045 */
|
31
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA224_RSA_PKCS); /* 0x00000046 */
|
32
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA224_RSA_PKCS_PSS); /* 0x00000047 */
|
33
|
+
PKCS11_DEFINE_MECHANISM(CKM_RC2_KEY_GEN); /* 0x00000100 */
|
34
|
+
PKCS11_DEFINE_MECHANISM(CKM_RC2_ECB); /* 0x00000101 */
|
35
|
+
PKCS11_DEFINE_MECHANISM(CKM_RC2_CBC); /* 0x00000102 */
|
36
|
+
PKCS11_DEFINE_MECHANISM(CKM_RC2_MAC); /* 0x00000103 */
|
37
|
+
PKCS11_DEFINE_MECHANISM(CKM_RC2_MAC_GENERAL); /* 0x00000104 */
|
38
|
+
PKCS11_DEFINE_MECHANISM(CKM_RC2_CBC_PAD); /* 0x00000105 */
|
39
|
+
PKCS11_DEFINE_MECHANISM(CKM_RC4_KEY_GEN); /* 0x00000110 */
|
40
|
+
PKCS11_DEFINE_MECHANISM(CKM_RC4); /* 0x00000111 */
|
41
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES_KEY_GEN); /* 0x00000120 */
|
42
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES_ECB); /* 0x00000121 */
|
43
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES_CBC); /* 0x00000122 */
|
44
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES_MAC); /* 0x00000123 */
|
45
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES_MAC_GENERAL); /* 0x00000124 */
|
46
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES_CBC_PAD); /* 0x00000125 */
|
47
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES2_KEY_GEN); /* 0x00000130 */
|
48
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES3_KEY_GEN); /* 0x00000131 */
|
49
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES3_ECB); /* 0x00000132 */
|
50
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES3_CBC); /* 0x00000133 */
|
51
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES3_MAC); /* 0x00000134 */
|
52
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES3_MAC_GENERAL); /* 0x00000135 */
|
53
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES3_CBC_PAD); /* 0x00000136 */
|
54
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES3_CMAC_GENERAL); /* 0x00000137 */
|
55
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES3_CMAC); /* 0x00000138 */
|
56
|
+
PKCS11_DEFINE_MECHANISM(CKM_CDMF_KEY_GEN); /* 0x00000140 */
|
57
|
+
PKCS11_DEFINE_MECHANISM(CKM_CDMF_ECB); /* 0x00000141 */
|
58
|
+
PKCS11_DEFINE_MECHANISM(CKM_CDMF_CBC); /* 0x00000142 */
|
59
|
+
PKCS11_DEFINE_MECHANISM(CKM_CDMF_MAC); /* 0x00000143 */
|
60
|
+
PKCS11_DEFINE_MECHANISM(CKM_CDMF_MAC_GENERAL); /* 0x00000144 */
|
61
|
+
PKCS11_DEFINE_MECHANISM(CKM_CDMF_CBC_PAD); /* 0x00000145 */
|
62
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES_OFB64); /* 0x00000150 */
|
63
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES_OFB8); /* 0x00000151 */
|
64
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES_CFB64); /* 0x00000152 */
|
65
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES_CFB8); /* 0x00000153 */
|
66
|
+
PKCS11_DEFINE_MECHANISM(CKM_MD2); /* 0x00000200 */
|
67
|
+
PKCS11_DEFINE_MECHANISM(CKM_MD2_HMAC); /* 0x00000201 */
|
68
|
+
PKCS11_DEFINE_MECHANISM(CKM_MD2_HMAC_GENERAL); /* 0x00000202 */
|
69
|
+
PKCS11_DEFINE_MECHANISM(CKM_MD5); /* 0x00000210 */
|
70
|
+
PKCS11_DEFINE_MECHANISM(CKM_MD5_HMAC); /* 0x00000211 */
|
71
|
+
PKCS11_DEFINE_MECHANISM(CKM_MD5_HMAC_GENERAL); /* 0x00000212 */
|
72
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA_1); /* 0x00000220 */
|
73
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA_1_HMAC); /* 0x00000221 */
|
74
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA_1_HMAC_GENERAL); /* 0x00000222 */
|
75
|
+
PKCS11_DEFINE_MECHANISM(CKM_RIPEMD128); /* 0x00000230 */
|
76
|
+
PKCS11_DEFINE_MECHANISM(CKM_RIPEMD128_HMAC); /* 0x00000231 */
|
77
|
+
PKCS11_DEFINE_MECHANISM(CKM_RIPEMD128_HMAC_GENERAL); /* 0x00000232 */
|
78
|
+
PKCS11_DEFINE_MECHANISM(CKM_RIPEMD160); /* 0x00000240 */
|
79
|
+
PKCS11_DEFINE_MECHANISM(CKM_RIPEMD160_HMAC); /* 0x00000241 */
|
80
|
+
PKCS11_DEFINE_MECHANISM(CKM_RIPEMD160_HMAC_GENERAL); /* 0x00000242 */
|
81
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA256); /* 0x00000250 */
|
82
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA256_HMAC); /* 0x00000251 */
|
83
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA256_HMAC_GENERAL); /* 0x00000252 */
|
84
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA224); /* 0x00000255 */
|
85
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA224_HMAC); /* 0x00000256 */
|
86
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA224_HMAC_GENERAL); /* 0x00000257 */
|
87
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA384); /* 0x00000260 */
|
88
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA384_HMAC); /* 0x00000261 */
|
89
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA384_HMAC_GENERAL); /* 0x00000262 */
|
90
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA512); /* 0x00000270 */
|
91
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA512_HMAC); /* 0x00000271 */
|
92
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA512_HMAC_GENERAL); /* 0x00000272 */
|
93
|
+
PKCS11_DEFINE_MECHANISM(CKM_SECURID_KEY_GEN); /* 0x00000280 */
|
94
|
+
PKCS11_DEFINE_MECHANISM(CKM_SECURID); /* 0x00000282 */
|
95
|
+
PKCS11_DEFINE_MECHANISM(CKM_HOTP_KEY_GEN); /* 0x00000290 */
|
96
|
+
PKCS11_DEFINE_MECHANISM(CKM_HOTP); /* 0x00000291 */
|
97
|
+
PKCS11_DEFINE_MECHANISM(CKM_ACTI); /* 0x000002A0 */
|
98
|
+
PKCS11_DEFINE_MECHANISM(CKM_ACTI_KEY_GEN); /* 0x000002A1 */
|
99
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST_KEY_GEN); /* 0x00000300 */
|
100
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST_ECB); /* 0x00000301 */
|
101
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST_CBC); /* 0x00000302 */
|
102
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST_MAC); /* 0x00000303 */
|
103
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST_MAC_GENERAL); /* 0x00000304 */
|
104
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST_CBC_PAD); /* 0x00000305 */
|
105
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST3_KEY_GEN); /* 0x00000310 */
|
106
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST3_ECB); /* 0x00000311 */
|
107
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST3_CBC); /* 0x00000312 */
|
108
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST3_MAC); /* 0x00000313 */
|
109
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST3_MAC_GENERAL); /* 0x00000314 */
|
110
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST3_CBC_PAD); /* 0x00000315 */
|
111
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST5_KEY_GEN); /* 0x00000320 */
|
112
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST128_KEY_GEN); /* 0x00000320 */
|
113
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST5_ECB); /* 0x00000321 */
|
114
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST128_ECB); /* 0x00000321 */
|
115
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST5_CBC); /* 0x00000322 */
|
116
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST128_CBC); /* 0x00000322 */
|
117
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST5_MAC); /* 0x00000323 */
|
118
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST128_MAC); /* 0x00000323 */
|
119
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST5_MAC_GENERAL); /* 0x00000324 */
|
120
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST128_MAC_GENERAL); /* 0x00000324 */
|
121
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST5_CBC_PAD); /* 0x00000325 */
|
122
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST128_CBC_PAD); /* 0x00000325 */
|
123
|
+
PKCS11_DEFINE_MECHANISM(CKM_RC5_KEY_GEN); /* 0x00000330 */
|
124
|
+
PKCS11_DEFINE_MECHANISM(CKM_RC5_ECB); /* 0x00000331 */
|
125
|
+
PKCS11_DEFINE_MECHANISM(CKM_RC5_CBC); /* 0x00000332 */
|
126
|
+
PKCS11_DEFINE_MECHANISM(CKM_RC5_MAC); /* 0x00000333 */
|
127
|
+
PKCS11_DEFINE_MECHANISM(CKM_RC5_MAC_GENERAL); /* 0x00000334 */
|
128
|
+
PKCS11_DEFINE_MECHANISM(CKM_RC5_CBC_PAD); /* 0x00000335 */
|
129
|
+
PKCS11_DEFINE_MECHANISM(CKM_IDEA_KEY_GEN); /* 0x00000340 */
|
130
|
+
PKCS11_DEFINE_MECHANISM(CKM_IDEA_ECB); /* 0x00000341 */
|
131
|
+
PKCS11_DEFINE_MECHANISM(CKM_IDEA_CBC); /* 0x00000342 */
|
132
|
+
PKCS11_DEFINE_MECHANISM(CKM_IDEA_MAC); /* 0x00000343 */
|
133
|
+
PKCS11_DEFINE_MECHANISM(CKM_IDEA_MAC_GENERAL); /* 0x00000344 */
|
134
|
+
PKCS11_DEFINE_MECHANISM(CKM_IDEA_CBC_PAD); /* 0x00000345 */
|
135
|
+
PKCS11_DEFINE_MECHANISM(CKM_GENERIC_SECRET_KEY_GEN); /* 0x00000350 */
|
136
|
+
PKCS11_DEFINE_MECHANISM(CKM_CONCATENATE_BASE_AND_KEY); /* 0x00000360 */
|
137
|
+
PKCS11_DEFINE_MECHANISM(CKM_CONCATENATE_BASE_AND_DATA); /* 0x00000362 */
|
138
|
+
PKCS11_DEFINE_MECHANISM(CKM_CONCATENATE_DATA_AND_BASE); /* 0x00000363 */
|
139
|
+
PKCS11_DEFINE_MECHANISM(CKM_XOR_BASE_AND_DATA); /* 0x00000364 */
|
140
|
+
PKCS11_DEFINE_MECHANISM(CKM_EXTRACT_KEY_FROM_KEY); /* 0x00000365 */
|
141
|
+
PKCS11_DEFINE_MECHANISM(CKM_SSL3_PRE_MASTER_KEY_GEN); /* 0x00000370 */
|
142
|
+
PKCS11_DEFINE_MECHANISM(CKM_SSL3_MASTER_KEY_DERIVE); /* 0x00000371 */
|
143
|
+
PKCS11_DEFINE_MECHANISM(CKM_SSL3_KEY_AND_MAC_DERIVE); /* 0x00000372 */
|
144
|
+
PKCS11_DEFINE_MECHANISM(CKM_SSL3_MASTER_KEY_DERIVE_DH); /* 0x00000373 */
|
145
|
+
PKCS11_DEFINE_MECHANISM(CKM_TLS_PRE_MASTER_KEY_GEN); /* 0x00000374 */
|
146
|
+
PKCS11_DEFINE_MECHANISM(CKM_TLS_MASTER_KEY_DERIVE); /* 0x00000375 */
|
147
|
+
PKCS11_DEFINE_MECHANISM(CKM_TLS_KEY_AND_MAC_DERIVE); /* 0x00000376 */
|
148
|
+
PKCS11_DEFINE_MECHANISM(CKM_TLS_MASTER_KEY_DERIVE_DH); /* 0x00000377 */
|
149
|
+
PKCS11_DEFINE_MECHANISM(CKM_TLS_PRF); /* 0x00000378 */
|
150
|
+
PKCS11_DEFINE_MECHANISM(CKM_SSL3_MD5_MAC); /* 0x00000380 */
|
151
|
+
PKCS11_DEFINE_MECHANISM(CKM_SSL3_SHA1_MAC); /* 0x00000381 */
|
152
|
+
PKCS11_DEFINE_MECHANISM(CKM_MD5_KEY_DERIVATION); /* 0x00000390 */
|
153
|
+
PKCS11_DEFINE_MECHANISM(CKM_MD2_KEY_DERIVATION); /* 0x00000391 */
|
154
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA1_KEY_DERIVATION); /* 0x00000392 */
|
155
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA256_KEY_DERIVATION); /* 0x00000393 */
|
156
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA384_KEY_DERIVATION); /* 0x00000394 */
|
157
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA512_KEY_DERIVATION); /* 0x00000395 */
|
158
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA224_KEY_DERIVATION); /* 0x00000396 */
|
159
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_MD2_DES_CBC); /* 0x000003A0 */
|
160
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_MD5_DES_CBC); /* 0x000003A1 */
|
161
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_MD5_CAST_CBC); /* 0x000003A2 */
|
162
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_MD5_CAST3_CBC); /* 0x000003A3 */
|
163
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_MD5_CAST5_CBC); /* 0x000003A4 */
|
164
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_MD5_CAST128_CBC); /* 0x000003A4 */
|
165
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_SHA1_CAST5_CBC); /* 0x000003A5 */
|
166
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_SHA1_CAST128_CBC); /* 0x000003A5 */
|
167
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_SHA1_RC4_128); /* 0x000003A6 */
|
168
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_SHA1_RC4_40); /* 0x000003A7 */
|
169
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_SHA1_DES3_EDE_CBC); /* 0x000003A8 */
|
170
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_SHA1_DES2_EDE_CBC); /* 0x000003A9 */
|
171
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_SHA1_RC2_128_CBC); /* 0x000003AA */
|
172
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_SHA1_RC2_40_CBC); /* 0x000003AB */
|
173
|
+
PKCS11_DEFINE_MECHANISM(CKM_PKCS5_PBKD2); /* 0x000003B0 */
|
174
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBA_SHA1_WITH_SHA1_HMAC); /* 0x000003C0 */
|
175
|
+
PKCS11_DEFINE_MECHANISM(CKM_WTLS_PRE_MASTER_KEY_GEN); /* 0x000003D0 */
|
176
|
+
PKCS11_DEFINE_MECHANISM(CKM_WTLS_MASTER_KEY_DERIVE); /* 0x000003D1 */
|
177
|
+
PKCS11_DEFINE_MECHANISM(CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC); /* 0x000003D2 */
|
178
|
+
PKCS11_DEFINE_MECHANISM(CKM_WTLS_PRF); /* 0x000003D3 */
|
179
|
+
PKCS11_DEFINE_MECHANISM(CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE); /* 0x000003D4 */
|
180
|
+
PKCS11_DEFINE_MECHANISM(CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE); /* 0x000003D5 */
|
181
|
+
PKCS11_DEFINE_MECHANISM(CKM_KEY_WRAP_LYNKS); /* 0x00000400 */
|
182
|
+
PKCS11_DEFINE_MECHANISM(CKM_KEY_WRAP_SET_OAEP); /* 0x00000401 */
|
183
|
+
PKCS11_DEFINE_MECHANISM(CKM_CMS_SIG); /* 0x00000500 */
|
184
|
+
PKCS11_DEFINE_MECHANISM(CKM_KIP_DERIVE); /* 0x00000510 */
|
185
|
+
PKCS11_DEFINE_MECHANISM(CKM_KIP_WRAP); /* 0x00000511 */
|
186
|
+
PKCS11_DEFINE_MECHANISM(CKM_KIP_MAC); /* 0x00000512 */
|
187
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAMELLIA_KEY_GEN); /* 0x00000550 */
|
188
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAMELLIA_ECB); /* 0x00000551 */
|
189
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAMELLIA_CBC); /* 0x00000552 */
|
190
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAMELLIA_MAC); /* 0x00000553 */
|
191
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAMELLIA_MAC_GENERAL); /* 0x00000554 */
|
192
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAMELLIA_CBC_PAD); /* 0x00000555 */
|
193
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAMELLIA_ECB_ENCRYPT_DATA); /* 0x00000556 */
|
194
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAMELLIA_CBC_ENCRYPT_DATA); /* 0x00000557 */
|
195
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAMELLIA_CTR); /* 0x00000558 */
|
196
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_KEY_GEN); /* 0x00000560 */
|
197
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_ECB); /* 0x00000561 */
|
198
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_CBC); /* 0x00000562 */
|
199
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_MAC); /* 0x00000563 */
|
200
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_MAC_GENERAL); /* 0x00000564 */
|
201
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_CBC_PAD); /* 0x00000565 */
|
202
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_ECB_ENCRYPT_DATA); /* 0x00000566 */
|
203
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_CBC_ENCRYPT_DATA); /* 0x00000567 */
|
204
|
+
PKCS11_DEFINE_MECHANISM(CKM_SKIPJACK_KEY_GEN); /* 0x00001000 */
|
205
|
+
PKCS11_DEFINE_MECHANISM(CKM_SKIPJACK_ECB64); /* 0x00001001 */
|
206
|
+
PKCS11_DEFINE_MECHANISM(CKM_SKIPJACK_CBC64); /* 0x00001002 */
|
207
|
+
PKCS11_DEFINE_MECHANISM(CKM_SKIPJACK_OFB64); /* 0x00001003 */
|
208
|
+
PKCS11_DEFINE_MECHANISM(CKM_SKIPJACK_CFB64); /* 0x00001004 */
|
209
|
+
PKCS11_DEFINE_MECHANISM(CKM_SKIPJACK_CFB32); /* 0x00001005 */
|
210
|
+
PKCS11_DEFINE_MECHANISM(CKM_SKIPJACK_CFB16); /* 0x00001006 */
|
211
|
+
PKCS11_DEFINE_MECHANISM(CKM_SKIPJACK_CFB8); /* 0x00001007 */
|
212
|
+
PKCS11_DEFINE_MECHANISM(CKM_SKIPJACK_WRAP); /* 0x00001008 */
|
213
|
+
PKCS11_DEFINE_MECHANISM(CKM_SKIPJACK_PRIVATE_WRAP); /* 0x00001009 */
|
214
|
+
PKCS11_DEFINE_MECHANISM(CKM_SKIPJACK_RELAYX); /* 0x0000100a */
|
215
|
+
PKCS11_DEFINE_MECHANISM(CKM_KEA_KEY_PAIR_GEN); /* 0x00001010 */
|
216
|
+
PKCS11_DEFINE_MECHANISM(CKM_KEA_KEY_DERIVE); /* 0x00001011 */
|
217
|
+
PKCS11_DEFINE_MECHANISM(CKM_FORTEZZA_TIMESTAMP); /* 0x00001020 */
|
218
|
+
PKCS11_DEFINE_MECHANISM(CKM_BATON_KEY_GEN); /* 0x00001030 */
|
219
|
+
PKCS11_DEFINE_MECHANISM(CKM_BATON_ECB128); /* 0x00001031 */
|
220
|
+
PKCS11_DEFINE_MECHANISM(CKM_BATON_ECB96); /* 0x00001032 */
|
221
|
+
PKCS11_DEFINE_MECHANISM(CKM_BATON_CBC128); /* 0x00001033 */
|
222
|
+
PKCS11_DEFINE_MECHANISM(CKM_BATON_COUNTER); /* 0x00001034 */
|
223
|
+
PKCS11_DEFINE_MECHANISM(CKM_BATON_SHUFFLE); /* 0x00001035 */
|
224
|
+
PKCS11_DEFINE_MECHANISM(CKM_BATON_WRAP); /* 0x00001036 */
|
225
|
+
PKCS11_DEFINE_MECHANISM(CKM_ECDSA_KEY_PAIR_GEN); /* 0x00001040 */
|
226
|
+
PKCS11_DEFINE_MECHANISM(CKM_EC_KEY_PAIR_GEN); /* 0x00001040 */
|
227
|
+
PKCS11_DEFINE_MECHANISM(CKM_ECDSA); /* 0x00001041 */
|
228
|
+
PKCS11_DEFINE_MECHANISM(CKM_ECDSA_SHA1); /* 0x00001042 */
|
229
|
+
PKCS11_DEFINE_MECHANISM(CKM_ECDH1_DERIVE); /* 0x00001050 */
|
230
|
+
PKCS11_DEFINE_MECHANISM(CKM_ECDH1_COFACTOR_DERIVE); /* 0x00001051 */
|
231
|
+
PKCS11_DEFINE_MECHANISM(CKM_ECMQV_DERIVE); /* 0x00001052 */
|
232
|
+
PKCS11_DEFINE_MECHANISM(CKM_JUNIPER_KEY_GEN); /* 0x00001060 */
|
233
|
+
PKCS11_DEFINE_MECHANISM(CKM_JUNIPER_ECB128); /* 0x00001061 */
|
234
|
+
PKCS11_DEFINE_MECHANISM(CKM_JUNIPER_CBC128); /* 0x00001062 */
|
235
|
+
PKCS11_DEFINE_MECHANISM(CKM_JUNIPER_COUNTER); /* 0x00001063 */
|
236
|
+
PKCS11_DEFINE_MECHANISM(CKM_JUNIPER_SHUFFLE); /* 0x00001064 */
|
237
|
+
PKCS11_DEFINE_MECHANISM(CKM_JUNIPER_WRAP); /* 0x00001065 */
|
238
|
+
PKCS11_DEFINE_MECHANISM(CKM_FASTHASH); /* 0x00001070 */
|
239
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_KEY_GEN); /* 0x00001080 */
|
240
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_ECB); /* 0x00001081 */
|
241
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_CBC); /* 0x00001082 */
|
242
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_MAC); /* 0x00001083 */
|
243
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_MAC_GENERAL); /* 0x00001084 */
|
244
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_CBC_PAD); /* 0x00001085 */
|
245
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_CTR); /* 0x00001086 */
|
246
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_CMAC_GENERAL); /* 0x00001089 */
|
247
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_CMAC); /* 0x0000108A */
|
248
|
+
PKCS11_DEFINE_MECHANISM(CKM_BLOWFISH_KEY_GEN); /* 0x00001090 */
|
249
|
+
PKCS11_DEFINE_MECHANISM(CKM_BLOWFISH_CBC); /* 0x00001091 */
|
250
|
+
PKCS11_DEFINE_MECHANISM(CKM_TWOFISH_KEY_GEN); /* 0x00001092 */
|
251
|
+
PKCS11_DEFINE_MECHANISM(CKM_TWOFISH_CBC); /* 0x00001093 */
|
252
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES_ECB_ENCRYPT_DATA); /* 0x00001100 */
|
253
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES_CBC_ENCRYPT_DATA); /* 0x00001101 */
|
254
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES3_ECB_ENCRYPT_DATA); /* 0x00001102 */
|
255
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES3_CBC_ENCRYPT_DATA); /* 0x00001103 */
|
256
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_ECB_ENCRYPT_DATA); /* 0x00001104 */
|
257
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_CBC_ENCRYPT_DATA); /* 0x00001105 */
|
258
|
+
PKCS11_DEFINE_MECHANISM(CKM_DSA_PARAMETER_GEN); /* 0x00002000 */
|
259
|
+
PKCS11_DEFINE_MECHANISM(CKM_DH_PKCS_PARAMETER_GEN); /* 0x00002001 */
|
260
|
+
PKCS11_DEFINE_MECHANISM(CKM_X9_42_DH_PARAMETER_GEN); /* 0x00002002 */
|
261
|
+
PKCS11_DEFINE_MECHANISM(CKM_VENDOR_DEFINED); /* 0x80000000 */
|
262
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_CLASS); /* 0x00000000 */
|
263
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_TOKEN); /* 0x00000001 */
|
264
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_PRIVATE); /* 0x00000002 */
|
265
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_LABEL); /* 0x00000003 */
|
266
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_APPLICATION); /* 0x00000010 */
|
267
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_VALUE); /* 0x00000011 */
|
268
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_OBJECT_ID); /* 0x00000012 */
|
269
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_CERTIFICATE_TYPE); /* 0x00000080 */
|
270
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_ISSUER); /* 0x00000081 */
|
271
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_SERIAL_NUMBER); /* 0x00000082 */
|
272
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_AC_ISSUER); /* 0x00000083 */
|
273
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_OWNER); /* 0x00000084 */
|
274
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_ATTR_TYPES); /* 0x00000085 */
|
275
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_TRUSTED); /* 0x00000086 */
|
276
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_CERTIFICATE_CATEGORY); /* 0x00000087 */
|
277
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_JAVA_MIDP_SECURITY_DOMAIN); /* 0x00000088 */
|
278
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_URL); /* 0x00000089 */
|
279
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_HASH_OF_SUBJECT_PUBLIC_KEY); /* 0x0000008A */
|
280
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_HASH_OF_ISSUER_PUBLIC_KEY); /* 0x0000008B */
|
281
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_CHECK_VALUE); /* 0x00000090 */
|
282
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_KEY_TYPE); /* 0x00000100 */
|
283
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_SUBJECT); /* 0x00000101 */
|
284
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_ID); /* 0x00000102 */
|
285
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_SENSITIVE); /* 0x00000103 */
|
286
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_ENCRYPT); /* 0x00000104 */
|
287
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_DECRYPT); /* 0x00000105 */
|
288
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_WRAP); /* 0x00000106 */
|
289
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_UNWRAP); /* 0x00000107 */
|
290
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_SIGN); /* 0x00000108 */
|
291
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_SIGN_RECOVER); /* 0x00000109 */
|
292
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_VERIFY); /* 0x0000010A */
|
293
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_VERIFY_RECOVER); /* 0x0000010B */
|
294
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_DERIVE); /* 0x0000010C */
|
295
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_START_DATE); /* 0x00000110 */
|
296
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_END_DATE); /* 0x00000111 */
|
297
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_MODULUS); /* 0x00000120 */
|
298
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_MODULUS_BITS); /* 0x00000121 */
|
299
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_PUBLIC_EXPONENT); /* 0x00000122 */
|
300
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_PRIVATE_EXPONENT); /* 0x00000123 */
|
301
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_PRIME_1); /* 0x00000124 */
|
302
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_PRIME_2); /* 0x00000125 */
|
303
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_EXPONENT_1); /* 0x00000126 */
|
304
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_EXPONENT_2); /* 0x00000127 */
|
305
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_COEFFICIENT); /* 0x00000128 */
|
306
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_PRIME); /* 0x00000130 */
|
307
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_SUBPRIME); /* 0x00000131 */
|
308
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_BASE); /* 0x00000132 */
|
309
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_PRIME_BITS); /* 0x00000133 */
|
310
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_SUBPRIME_BITS); /* 0x00000134 */
|
311
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_SUB_PRIME_BITS); /* CKA_SUBPRIME_BITS */
|
312
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_VALUE_BITS); /* 0x00000160 */
|
313
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_VALUE_LEN); /* 0x00000161 */
|
314
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_EXTRACTABLE); /* 0x00000162 */
|
315
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_LOCAL); /* 0x00000163 */
|
316
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_NEVER_EXTRACTABLE); /* 0x00000164 */
|
317
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_ALWAYS_SENSITIVE); /* 0x00000165 */
|
318
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_KEY_GEN_MECHANISM); /* 0x00000166 */
|
319
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_MODIFIABLE); /* 0x00000170 */
|
320
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_ECDSA_PARAMS); /* 0x00000180 */
|
321
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_EC_PARAMS); /* 0x00000180 */
|
322
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_EC_POINT); /* 0x00000181 */
|
323
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_SECONDARY_AUTH); /* 0x00000200 */
|
324
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_AUTH_PIN_FLAGS); /* 0x00000201 */
|
325
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_ALWAYS_AUTHENTICATE); /* 0x00000202 */
|
326
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_WRAP_WITH_TRUSTED); /* 0x00000210 */
|
327
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_WRAP_TEMPLATE); /* (CKF_ARRAY_ATTRIBUTE|0x00000211) */
|
328
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_UNWRAP_TEMPLATE); /* (CKF_ARRAY_ATTRIBUTE|0x00000212) */
|
329
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_OTP_FORMAT); /* 0x00000220 */
|
330
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_OTP_LENGTH); /* 0x00000221 */
|
331
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_OTP_TIME_INTERVAL); /* 0x00000222 */
|
332
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_OTP_USER_FRIENDLY_MODE); /* 0x00000223 */
|
333
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_OTP_CHALLENGE_REQUIREMENT); /* 0x00000224 */
|
334
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_OTP_TIME_REQUIREMENT); /* 0x00000225 */
|
335
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_OTP_COUNTER_REQUIREMENT); /* 0x00000226 */
|
336
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_OTP_PIN_REQUIREMENT); /* 0x00000227 */
|
337
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_OTP_COUNTER); /* 0x0000022E */
|
338
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_OTP_TIME); /* 0x0000022F */
|
339
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_OTP_USER_IDENTIFIER); /* 0x0000022A */
|
340
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_OTP_SERVICE_IDENTIFIER); /* 0x0000022B */
|
341
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_OTP_SERVICE_LOGO); /* 0x0000022C */
|
342
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_OTP_SERVICE_LOGO_TYPE); /* 0x0000022D */
|
343
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_HW_FEATURE_TYPE); /* 0x00000300 */
|
344
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_RESET_ON_INIT); /* 0x00000301 */
|
345
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_HAS_RESET); /* 0x00000302 */
|
346
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_PIXEL_X); /* 0x00000400 */
|
347
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_PIXEL_Y); /* 0x00000401 */
|
348
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_RESOLUTION); /* 0x00000402 */
|
349
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_CHAR_ROWS); /* 0x00000403 */
|
350
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_CHAR_COLUMNS); /* 0x00000404 */
|
351
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_COLOR); /* 0x00000405 */
|
352
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_BITS_PER_PIXEL); /* 0x00000406 */
|
353
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_CHAR_SETS); /* 0x00000480 */
|
354
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_ENCODING_METHODS); /* 0x00000481 */
|
355
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_MIME_TYPES); /* 0x00000482 */
|
356
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_MECHANISM_TYPE); /* 0x00000500 */
|
357
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_REQUIRED_CMS_ATTRIBUTES); /* 0x00000501 */
|
358
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_DEFAULT_CMS_ATTRIBUTES); /* 0x00000502 */
|
359
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_SUPPORTED_CMS_ATTRIBUTES); /* 0x00000503 */
|
360
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_ALLOWED_MECHANISMS); /* (CKF_ARRAY_ATTRIBUTE|0x00000600) */
|
361
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_VENDOR_DEFINED); /* 0x80000000 */
|
362
|
+
PKCS11_DEFINE_OBJECT_CLASS(CKO_DATA); /* 0x00000000 */
|
363
|
+
PKCS11_DEFINE_OBJECT_CLASS(CKO_CERTIFICATE); /* 0x00000001 */
|
364
|
+
PKCS11_DEFINE_OBJECT_CLASS(CKO_PUBLIC_KEY); /* 0x00000002 */
|
365
|
+
PKCS11_DEFINE_OBJECT_CLASS(CKO_PRIVATE_KEY); /* 0x00000003 */
|
366
|
+
PKCS11_DEFINE_OBJECT_CLASS(CKO_SECRET_KEY); /* 0x00000004 */
|
367
|
+
PKCS11_DEFINE_OBJECT_CLASS(CKO_HW_FEATURE); /* 0x00000005 */
|
368
|
+
PKCS11_DEFINE_OBJECT_CLASS(CKO_DOMAIN_PARAMETERS); /* 0x00000006 */
|
369
|
+
PKCS11_DEFINE_OBJECT_CLASS(CKO_MECHANISM); /* 0x00000007 */
|
370
|
+
PKCS11_DEFINE_OBJECT_CLASS(CKO_OTP_KEY); /* 0x00000008 */
|
371
|
+
PKCS11_DEFINE_OBJECT_CLASS(CKO_VENDOR_DEFINED); /* 0x80000000 */
|
372
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_OK); /* 0x00000000 */
|
373
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_CANCEL); /* 0x00000001 */
|
374
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_HOST_MEMORY); /* 0x00000002 */
|
375
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SLOT_ID_INVALID); /* 0x00000003 */
|
376
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_GENERAL_ERROR); /* 0x00000005 */
|
377
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_FUNCTION_FAILED); /* 0x00000006 */
|
378
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_ARGUMENTS_BAD); /* 0x00000007 */
|
379
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_NO_EVENT); /* 0x00000008 */
|
380
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_NEED_TO_CREATE_THREADS); /* 0x00000009 */
|
381
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_CANT_LOCK); /* 0x0000000A */
|
382
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_ATTRIBUTE_READ_ONLY); /* 0x00000010 */
|
383
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_ATTRIBUTE_SENSITIVE); /* 0x00000011 */
|
384
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_ATTRIBUTE_TYPE_INVALID); /* 0x00000012 */
|
385
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_ATTRIBUTE_VALUE_INVALID); /* 0x00000013 */
|
386
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_DATA_INVALID); /* 0x00000020 */
|
387
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_DATA_LEN_RANGE); /* 0x00000021 */
|
388
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_DEVICE_ERROR); /* 0x00000030 */
|
389
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_DEVICE_MEMORY); /* 0x00000031 */
|
390
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_DEVICE_REMOVED); /* 0x00000032 */
|
391
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_ENCRYPTED_DATA_INVALID); /* 0x00000040 */
|
392
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_ENCRYPTED_DATA_LEN_RANGE); /* 0x00000041 */
|
393
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_FUNCTION_CANCELED); /* 0x00000050 */
|
394
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_FUNCTION_NOT_PARALLEL); /* 0x00000051 */
|
395
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_FUNCTION_NOT_SUPPORTED); /* 0x00000054 */
|
396
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_KEY_HANDLE_INVALID); /* 0x00000060 */
|
397
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_KEY_SIZE_RANGE); /* 0x00000062 */
|
398
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_KEY_TYPE_INCONSISTENT); /* 0x00000063 */
|
399
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_KEY_NOT_NEEDED); /* 0x00000064 */
|
400
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_KEY_CHANGED); /* 0x00000065 */
|
401
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_KEY_NEEDED); /* 0x00000066 */
|
402
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_KEY_INDIGESTIBLE); /* 0x00000067 */
|
403
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_KEY_FUNCTION_NOT_PERMITTED); /* 0x00000068 */
|
404
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_KEY_NOT_WRAPPABLE); /* 0x00000069 */
|
405
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_KEY_UNEXTRACTABLE); /* 0x0000006A */
|
406
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_MECHANISM_INVALID); /* 0x00000070 */
|
407
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_MECHANISM_PARAM_INVALID); /* 0x00000071 */
|
408
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_OBJECT_HANDLE_INVALID); /* 0x00000082 */
|
409
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_OPERATION_ACTIVE); /* 0x00000090 */
|
410
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_OPERATION_NOT_INITIALIZED); /* 0x00000091 */
|
411
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_PIN_INCORRECT); /* 0x000000A0 */
|
412
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_PIN_INVALID); /* 0x000000A1 */
|
413
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_PIN_LEN_RANGE); /* 0x000000A2 */
|
414
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_PIN_EXPIRED); /* 0x000000A3 */
|
415
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_PIN_LOCKED); /* 0x000000A4 */
|
416
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SESSION_CLOSED); /* 0x000000B0 */
|
417
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SESSION_COUNT); /* 0x000000B1 */
|
418
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SESSION_HANDLE_INVALID); /* 0x000000B3 */
|
419
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SESSION_PARALLEL_NOT_SUPPORTED); /* 0x000000B4 */
|
420
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SESSION_READ_ONLY); /* 0x000000B5 */
|
421
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SESSION_EXISTS); /* 0x000000B6 */
|
422
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SESSION_READ_ONLY_EXISTS); /* 0x000000B7 */
|
423
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SESSION_READ_WRITE_SO_EXISTS); /* 0x000000B8 */
|
424
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SIGNATURE_INVALID); /* 0x000000C0 */
|
425
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SIGNATURE_LEN_RANGE); /* 0x000000C1 */
|
426
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_TEMPLATE_INCOMPLETE); /* 0x000000D0 */
|
427
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_TEMPLATE_INCONSISTENT); /* 0x000000D1 */
|
428
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_TOKEN_NOT_PRESENT); /* 0x000000E0 */
|
429
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_TOKEN_NOT_RECOGNIZED); /* 0x000000E1 */
|
430
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_TOKEN_WRITE_PROTECTED); /* 0x000000E2 */
|
431
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_UNWRAPPING_KEY_HANDLE_INVALID); /* 0x000000F0 */
|
432
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_UNWRAPPING_KEY_SIZE_RANGE); /* 0x000000F1 */
|
433
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT); /* 0x000000F2 */
|
434
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_USER_ALREADY_LOGGED_IN); /* 0x00000100 */
|
435
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_USER_NOT_LOGGED_IN); /* 0x00000101 */
|
436
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_USER_PIN_NOT_INITIALIZED); /* 0x00000102 */
|
437
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_USER_TYPE_INVALID); /* 0x00000103 */
|
438
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_USER_ANOTHER_ALREADY_LOGGED_IN); /* 0x00000104 */
|
439
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_USER_TOO_MANY_TYPES); /* 0x00000105 */
|
440
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_WRAPPED_KEY_INVALID); /* 0x00000110 */
|
441
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_WRAPPED_KEY_LEN_RANGE); /* 0x00000112 */
|
442
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_WRAPPING_KEY_HANDLE_INVALID); /* 0x00000113 */
|
443
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_WRAPPING_KEY_SIZE_RANGE); /* 0x00000114 */
|
444
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_WRAPPING_KEY_TYPE_INCONSISTENT); /* 0x00000115 */
|
445
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_RANDOM_SEED_NOT_SUPPORTED); /* 0x00000120 */
|
446
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_RANDOM_NO_RNG); /* 0x00000121 */
|
447
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_DOMAIN_PARAMS_INVALID); /* 0x00000130 */
|
448
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_BUFFER_TOO_SMALL); /* 0x00000150 */
|
449
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SAVED_STATE_INVALID); /* 0x00000160 */
|
450
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_INFORMATION_SENSITIVE); /* 0x00000170 */
|
451
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_STATE_UNSAVEABLE); /* 0x00000180 */
|
452
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_CRYPTOKI_NOT_INITIALIZED); /* 0x00000190 */
|
453
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_CRYPTOKI_ALREADY_INITIALIZED); /* 0x00000191 */
|
454
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_MUTEX_BAD); /* 0x000001A0 */
|
455
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_MUTEX_NOT_LOCKED); /* 0x000001A1 */
|
456
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_NEW_PIN_MODE); /* 0x000001B0 */
|
457
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_NEXT_OTP); /* 0x000001B1 */
|
458
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_FUNCTION_REJECTED); /* 0x00000200 */
|
459
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_VENDOR_DEFINED); /* 0x80000000 */
|
460
|
+
PKCS11_DEFINE_CONST(CKD_NULL); /* 0x00000001 */
|
461
|
+
PKCS11_DEFINE_CONST(CKD_SHA1_KDF); /* 0x00000002 */
|
462
|
+
PKCS11_DEFINE_CONST(CKD_SHA1_KDF_ASN1); /* 0x00000003 */
|
463
|
+
PKCS11_DEFINE_CONST(CKD_SHA1_KDF_CONCATENATE); /* 0x00000004 */
|
464
|
+
PKCS11_DEFINE_CONST(CKU_SO); /* 0 */
|
465
|
+
PKCS11_DEFINE_CONST(CKU_USER); /* 1 */
|
466
|
+
PKCS11_DEFINE_CONST(CKU_CONTEXT_SPECIFIC); /* 2 */
|
467
|
+
PKCS11_DEFINE_CONST(CKF_TOKEN_PRESENT); /* 0x00000001 */
|
468
|
+
PKCS11_DEFINE_CONST(CKF_REMOVABLE_DEVICE); /* 0x00000002 */
|
469
|
+
PKCS11_DEFINE_CONST(CKF_HW_SLOT); /* 0x00000004 */
|
470
|
+
PKCS11_DEFINE_CONST(CKF_RNG); /* 0x00000001 */
|
471
|
+
PKCS11_DEFINE_CONST(CKF_WRITE_PROTECTED); /* 0x00000002 */
|
472
|
+
PKCS11_DEFINE_CONST(CKF_LOGIN_REQUIRED); /* 0x00000004 */
|
473
|
+
PKCS11_DEFINE_CONST(CKF_USER_PIN_INITIALIZED); /* 0x00000008 */
|
474
|
+
PKCS11_DEFINE_CONST(CKF_RESTORE_KEY_NOT_NEEDED); /* 0x00000020 */
|
475
|
+
PKCS11_DEFINE_CONST(CKF_CLOCK_ON_TOKEN); /* 0x00000040 */
|
476
|
+
PKCS11_DEFINE_CONST(CKF_PROTECTED_AUTHENTICATION_PATH); /* 0x00000100 */
|
477
|
+
PKCS11_DEFINE_CONST(CKF_DUAL_CRYPTO_OPERATIONS); /* 0x00000200 */
|
478
|
+
PKCS11_DEFINE_CONST(CKF_TOKEN_INITIALIZED); /* 0x00000400 */
|
479
|
+
PKCS11_DEFINE_CONST(CKF_SECONDARY_AUTHENTICATION); /* 0x00000800 */
|
480
|
+
PKCS11_DEFINE_CONST(CKF_USER_PIN_COUNT_LOW); /* 0x00010000 */
|
481
|
+
PKCS11_DEFINE_CONST(CKF_USER_PIN_FINAL_TRY); /* 0x00020000 */
|
482
|
+
PKCS11_DEFINE_CONST(CKF_USER_PIN_LOCKED); /* 0x00040000 */
|
483
|
+
PKCS11_DEFINE_CONST(CKF_USER_PIN_TO_BE_CHANGED); /* 0x00080000 */
|
484
|
+
PKCS11_DEFINE_CONST(CKF_SO_PIN_COUNT_LOW); /* 0x00100000 */
|
485
|
+
PKCS11_DEFINE_CONST(CKF_SO_PIN_FINAL_TRY); /* 0x00200000 */
|
486
|
+
PKCS11_DEFINE_CONST(CKF_SO_PIN_LOCKED); /* 0x00400000 */
|
487
|
+
PKCS11_DEFINE_CONST(CKF_SO_PIN_TO_BE_CHANGED); /* 0x00800000 */
|
488
|
+
PKCS11_DEFINE_CONST(CKF_RW_SESSION); /* 0x00000002 */
|
489
|
+
PKCS11_DEFINE_CONST(CKF_SERIAL_SESSION); /* 0x00000004 */
|
490
|
+
PKCS11_DEFINE_CONST(CKF_ARRAY_ATTRIBUTE); /* 0x40000000 */
|
491
|
+
PKCS11_DEFINE_CONST(CKF_HW); /* 0x00000001 */
|
492
|
+
PKCS11_DEFINE_CONST(CKF_ENCRYPT); /* 0x00000100 */
|
493
|
+
PKCS11_DEFINE_CONST(CKF_DECRYPT); /* 0x00000200 */
|
494
|
+
PKCS11_DEFINE_CONST(CKF_DIGEST); /* 0x00000400 */
|
495
|
+
PKCS11_DEFINE_CONST(CKF_SIGN); /* 0x00000800 */
|
496
|
+
PKCS11_DEFINE_CONST(CKF_SIGN_RECOVER); /* 0x00001000 */
|
497
|
+
PKCS11_DEFINE_CONST(CKF_VERIFY); /* 0x00002000 */
|
498
|
+
PKCS11_DEFINE_CONST(CKF_VERIFY_RECOVER); /* 0x00004000 */
|
499
|
+
PKCS11_DEFINE_CONST(CKF_GENERATE); /* 0x00008000 */
|
500
|
+
PKCS11_DEFINE_CONST(CKF_GENERATE_KEY_PAIR); /* 0x00010000 */
|
501
|
+
PKCS11_DEFINE_CONST(CKF_WRAP); /* 0x00020000 */
|
502
|
+
PKCS11_DEFINE_CONST(CKF_UNWRAP); /* 0x00040000 */
|
503
|
+
PKCS11_DEFINE_CONST(CKF_DERIVE); /* 0x00080000 */
|
504
|
+
PKCS11_DEFINE_CONST(CKF_EC_F_P); /* 0x00100000 */
|
505
|
+
PKCS11_DEFINE_CONST(CKF_EC_F_2M); /* 0x00200000 */
|
506
|
+
PKCS11_DEFINE_CONST(CKF_EC_ECPARAMETERS); /* 0x00400000 */
|
507
|
+
PKCS11_DEFINE_CONST(CKF_EC_NAMEDCURVE); /* 0x00800000 */
|
508
|
+
PKCS11_DEFINE_CONST(CKF_EC_UNCOMPRESS); /* 0x01000000 */
|
509
|
+
PKCS11_DEFINE_CONST(CKF_EC_COMPRESS); /* 0x02000000 */
|
510
|
+
PKCS11_DEFINE_CONST(CKF_EXTENSION); /* 0x80000000 */
|
511
|
+
PKCS11_DEFINE_CONST(CKF_LIBRARY_CANT_CREATE_OS_THREADS); /* 0x00000001 */
|
512
|
+
PKCS11_DEFINE_CONST(CKF_OS_LOCKING_OK); /* 0x00000002 */
|
513
|
+
PKCS11_DEFINE_CONST(CKF_DONT_BLOCK); /* 1 */
|
514
|
+
PKCS11_DEFINE_CONST(CKF_NEXT_OTP); /* 0x00000001 */
|
515
|
+
PKCS11_DEFINE_CONST(CKF_EXCLUDE_TIME); /* 0x00000002 */
|
516
|
+
PKCS11_DEFINE_CONST(CKF_EXCLUDE_COUNTER); /* 0x00000004 */
|
517
|
+
PKCS11_DEFINE_CONST(CKF_EXCLUDE_CHALLENGE); /* 0x00000008 */
|
518
|
+
PKCS11_DEFINE_CONST(CKF_EXCLUDE_PIN); /* 0x00000010 */
|
519
|
+
PKCS11_DEFINE_CONST(CKF_USER_FRIENDLY_OTP); /* 0x00000020 */
|
520
|
+
PKCS11_DEFINE_MECHANISM(CKM_VENDOR_DEFINED_OLD_XXX); /* 0x00008000 */
|
521
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST_KEY_GEN_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 0 // Entrust added capabilities */
|
522
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST_ECB_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 1 // Entrust added capabilities */
|
523
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST_CBC_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 2 // Entrust added capabilities */
|
524
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST_MAC_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 3 // Entrust added capabilities */
|
525
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST3_KEY_GEN_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 4 // Entrust added capabilities */
|
526
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST3_ECB_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 5 // Entrust added capabilities */
|
527
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST3_CBC_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 6 // Entrust added capabilities */
|
528
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST3_MAC_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 7 // Entrust added capabilities */
|
529
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_MD2_DES_CBC_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 8 // Password based encryption */
|
530
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_MD5_DES_CBC_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 9 // Password based encryption */
|
531
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_MD5_CAST_CBC_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 10 // Password based encryption */
|
532
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_MD5_CAST3_CBC_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 11 // Password based encryption */
|
533
|
+
PKCS11_DEFINE_MECHANISM(CKM_CONCATENATE_BASE_AND_KEY_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 12 // SPKM & SLL added capabilities */
|
534
|
+
PKCS11_DEFINE_MECHANISM(CKM_CONCATENATE_KEY_AND_BASE_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 13 // SPKM & SLL added capabilities */
|
535
|
+
PKCS11_DEFINE_MECHANISM(CKM_CONCATENATE_BASE_AND_DATA_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 14 // SPKM & SLL added capabilities */
|
536
|
+
PKCS11_DEFINE_MECHANISM(CKM_CONCATENATE_DATA_AND_BASE_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 15 // SPKM & SLL added capabilities */
|
537
|
+
PKCS11_DEFINE_MECHANISM(CKM_XOR_BASE_AND_DATA_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 16 // SPKM & SLL added capabilities */
|
538
|
+
PKCS11_DEFINE_MECHANISM(CKM_EXTRACT_KEY_FROM_KEY_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 17 // SPKM & SLL added capabilities */
|
539
|
+
PKCS11_DEFINE_MECHANISM(CKM_MD5_KEY_DERIVATION_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 18 // SPKM & SLL added capabilities */
|
540
|
+
PKCS11_DEFINE_MECHANISM(CKM_MD2_KEY_DERIVATION_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 19 // SPKM & SLL added capabilities */
|
541
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA1_KEY_DERIVATION_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 20 // SPKM & SLL added capabilities */
|
542
|
+
PKCS11_DEFINE_MECHANISM(CKM_GENERIC_SECRET_KEY_GEN_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 21 // Generation of secret keys */
|
543
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST5_KEY_GEN_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 22 // Entrust added capabilities */
|
544
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST5_ECB_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 23 // Entrust added capabilities */
|
545
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST5_CBC_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 24 // Entrust added capabilities */
|
546
|
+
PKCS11_DEFINE_MECHANISM(CKM_CAST5_MAC_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 25 // Entrust added capabilities */
|
547
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_SHA1_CAST5_CBC_OLD_XXX); /* CKM_VENDOR_DEFINED_OLD_XXX + 26 // Entrust added capabilities */
|
548
|
+
PKCS11_DEFINE_MECHANISM(CKM_KEY_TRANSLATION); /* CKM_VENDOR_DEFINED_OLD_XXX + 27 // Entrust added capabilities */
|
549
|
+
PKCS11_DEFINE_MECHANISM(CKM_XOR_BASE_AND_KEY); /* CKM_VENDOR_DEFINED + 27 */
|
550
|
+
PKCS11_DEFINE_MECHANISM(CKM_2DES_KEY_DERIVATION); /* CKM_VENDOR_DEFINED_OLD_XXX + 28 // Custom Gemplus Capabilities */
|
551
|
+
PKCS11_DEFINE_MECHANISM(CKM_INDIRECT_LOGIN_REENCRYPT); /* CKM_VENDOR_DEFINED_OLD_XXX + 29 // Used for indirect login */
|
552
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_SHA1_DES3_EDE_CBC_OLD); /* CKM_VENDOR_DEFINED_OLD_XXX + 30 */
|
553
|
+
PKCS11_DEFINE_MECHANISM(CKM_PBE_SHA1_DES2_EDE_CBC_OLD); /* CKM_VENDOR_DEFINED_OLD_XXX + 31 */
|
554
|
+
PKCS11_DEFINE_MECHANISM(CKM_HAS160); /* (CKM_VENDOR_DEFINED + 0x100) */
|
555
|
+
PKCS11_DEFINE_MECHANISM(CKM_KCDSA_KEY_PAIR_GEN); /* (CKM_VENDOR_DEFINED + 0x101) */
|
556
|
+
PKCS11_DEFINE_MECHANISM(CKM_KCDSA_HAS160); /* (CKM_VENDOR_DEFINED + 0x102) */
|
557
|
+
PKCS11_DEFINE_MECHANISM(CKM_SEED_KEY_GEN); /* (CKM_VENDOR_DEFINED + 0x103) */
|
558
|
+
PKCS11_DEFINE_MECHANISM(CKM_SEED_ECB); /* (CKM_VENDOR_DEFINED + 0x104) */
|
559
|
+
PKCS11_DEFINE_MECHANISM(CKM_SEED_CBC); /* (CKM_VENDOR_DEFINED + 0x105) */
|
560
|
+
PKCS11_DEFINE_MECHANISM(CKM_SEED_CBC_PAD); /* (CKM_VENDOR_DEFINED + 0x106) */
|
561
|
+
PKCS11_DEFINE_MECHANISM(CKM_SEED_MAC); /* (CKM_VENDOR_DEFINED + 0x107) */
|
562
|
+
PKCS11_DEFINE_MECHANISM(CKM_SEED_MAC_GENERAL); /* (CKM_VENDOR_DEFINED + 0x108) */
|
563
|
+
PKCS11_DEFINE_MECHANISM(CKM_KCDSA_SHA1); /* (CKM_VENDOR_DEFINED + 0x109) */
|
564
|
+
PKCS11_DEFINE_MECHANISM(CKM_KCDSA_SHA224); /* (CKM_VENDOR_DEFINED + 0x10A) */
|
565
|
+
PKCS11_DEFINE_MECHANISM(CKM_KCDSA_SHA256); /* (CKM_VENDOR_DEFINED + 0x10B) */
|
566
|
+
PKCS11_DEFINE_MECHANISM(CKM_KCDSA_SHA384); /* (CKM_VENDOR_DEFINED + 0x10C) */
|
567
|
+
PKCS11_DEFINE_MECHANISM(CKM_KCDSA_SHA512); /* (CKM_VENDOR_DEFINED + 0x10D) */
|
568
|
+
PKCS11_DEFINE_MECHANISM(CKM_KCDSA_PARAMETER_GEN); /* (CKM_VENDOR_DEFINED + 0x10F) */
|
569
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA224_RSA_PKCS_OLD); /* (CKM_VENDOR_DEFINED + 0x110) */
|
570
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA224_RSA_PKCS_PSS_OLD); /* (CKM_VENDOR_DEFINED + 0x111) */
|
571
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA224_OLD); /* (CKM_VENDOR_DEFINED + 0x112) */
|
572
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA224_HMAC_OLD); /* (CKM_VENDOR_DEFINED + 0x113) */
|
573
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA224_HMAC_GENERAL_OLD); /* (CKM_VENDOR_DEFINED + 0x114) */
|
574
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA224_KEY_DERIVATION_OLD); /* (CKM_VENDOR_DEFINED + 0x115) */
|
575
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES3_CTR); /* (CKM_VENDOR_DEFINED + 0x116) */
|
576
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_CFB8); /* (CKM_VENDOR_DEFINED + 0x118) */
|
577
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_CFB128); /* (CKM_VENDOR_DEFINED + 0x119) */
|
578
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_OFB); /* (CKM_VENDOR_DEFINED + 0x11a) */
|
579
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_GCM); /* (CKM_VENDOR_DEFINED + 0x11c) */
|
580
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_CFB8); /* (CKM_VENDOR_DEFINED + 0x11d) */
|
581
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_CFB128); /* (CKM_VENDOR_DEFINED + 0x11e) */
|
582
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_OFB); /* (CKM_VENDOR_DEFINED + 0x11f) */
|
583
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_CTR); /* (CKM_VENDOR_DEFINED + 0x120) */
|
584
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_GCM); /* (CKM_VENDOR_DEFINED + 0x121) */
|
585
|
+
PKCS11_DEFINE_MECHANISM(CKM_ECDSA_SHA224); /* (CKM_VENDOR_DEFINED + 0x122) */
|
586
|
+
PKCS11_DEFINE_MECHANISM(CKM_ECDSA_SHA256); /* (CKM_VENDOR_DEFINED + 0x123) */
|
587
|
+
PKCS11_DEFINE_MECHANISM(CKM_ECDSA_SHA384); /* (CKM_VENDOR_DEFINED + 0x124) */
|
588
|
+
PKCS11_DEFINE_MECHANISM(CKM_ECDSA_SHA512); /* (CKM_VENDOR_DEFINED + 0x125) */
|
589
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_GMAC); /* (CKM_VENDOR_DEFINED + 0x126) */
|
590
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_CMAC); /* (CKM_VENDOR_DEFINED + 0x128) */
|
591
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_CMAC_GENERAL); /* (CKM_VENDOR_DEFINED + 0x129) */
|
592
|
+
PKCS11_DEFINE_MECHANISM(CKM_SEED_CMAC); /* (CKM_VENDOR_DEFINED + 0x12c) */
|
593
|
+
PKCS11_DEFINE_MECHANISM(CKM_SEED_CMAC_GENERAL); /* (CKM_VENDOR_DEFINED + 0x12d) */
|
594
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES3_CBC_PAD_IPSEC_OLD); /* 0x00000137 */
|
595
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES3_CBC_PAD_IPSEC); /* (CKM_VENDOR_DEFINED + 0x12e) */
|
596
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_CBC_PAD_IPSEC_OLD); /* 0x00001089 */
|
597
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_CBC_PAD_IPSEC); /* (CKM_VENDOR_DEFINED + 0x12f) */
|
598
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_L_ECB); /* (CKM_VENDOR_DEFINED + 0x130) */
|
599
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_L_CBC); /* (CKM_VENDOR_DEFINED + 0x131) */
|
600
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_L_CBC_PAD); /* (CKM_VENDOR_DEFINED + 0x132) */
|
601
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_L_MAC); /* (CKM_VENDOR_DEFINED + 0x133) */
|
602
|
+
PKCS11_DEFINE_MECHANISM(CKM_ARIA_L_MAC_GENERAL); /* (CKM_VENDOR_DEFINED + 0x134) */
|
603
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA224_RSA_X9_31); /* (CKM_VENDOR_DEFINED + 0x135) */
|
604
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA256_RSA_X9_31); /* (CKM_VENDOR_DEFINED + 0x136) */
|
605
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA384_RSA_X9_31); /* (CKM_VENDOR_DEFINED + 0x137) */
|
606
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA512_RSA_X9_31); /* (CKM_VENDOR_DEFINED + 0x138) */
|
607
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA1_RSA_X9_31_NON_FIPS); /* (CKM_VENDOR_DEFINED + 0x139) */
|
608
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA224_RSA_X9_31_NON_FIPS); /* (CKM_VENDOR_DEFINED + 0x13a) */
|
609
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA256_RSA_X9_31_NON_FIPS); /* (CKM_VENDOR_DEFINED + 0x13b) */
|
610
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA384_RSA_X9_31_NON_FIPS); /* (CKM_VENDOR_DEFINED + 0x13c) */
|
611
|
+
PKCS11_DEFINE_MECHANISM(CKM_SHA512_RSA_X9_31_NON_FIPS); /* (CKM_VENDOR_DEFINED + 0x13d) */
|
612
|
+
PKCS11_DEFINE_MECHANISM(CKM_RSA_X9_31_NON_FIPS); /* (CKM_VENDOR_DEFINED + 0x13e) */
|
613
|
+
PKCS11_DEFINE_MECHANISM(CKM_DSA_SHA224); /* (CKM_VENDOR_DEFINED + 0x140) //DH -moved here to keep ECDSA SHA 2 same as FW4 */
|
614
|
+
PKCS11_DEFINE_MECHANISM(CKM_DSA_SHA256); /* (CKM_VENDOR_DEFINED + 0x141) */
|
615
|
+
PKCS11_DEFINE_MECHANISM(CKM_RSA_FIPS_186_3_AUX_PRIME_KEY_PAIR_GEN); /* (CKM_VENDOR_DEFINED + 0x142) */
|
616
|
+
PKCS11_DEFINE_MECHANISM(CKM_RSA_FIPS_186_3_PRIME_KEY_PAIR_GEN); /* (CKM_VENDOR_DEFINED + 0x143) */
|
617
|
+
PKCS11_DEFINE_MECHANISM(CKM_SEED_CTR); /* (CKM_VENDOR_DEFINED + 0x144) */
|
618
|
+
PKCS11_DEFINE_MECHANISM(CKM_KCDSA_HAS160_NO_PAD); /* (CKM_VENDOR_DEFINED + 0x145) */
|
619
|
+
PKCS11_DEFINE_MECHANISM(CKM_KCDSA_SHA1_NO_PAD); /* (CKM_VENDOR_DEFINED + 0x146) */
|
620
|
+
PKCS11_DEFINE_MECHANISM(CKM_KCDSA_SHA224_NO_PAD); /* (CKM_VENDOR_DEFINED + 0x147) */
|
621
|
+
PKCS11_DEFINE_MECHANISM(CKM_KCDSA_SHA256_NO_PAD); /* (CKM_VENDOR_DEFINED + 0x148) */
|
622
|
+
PKCS11_DEFINE_MECHANISM(CKM_KCDSA_SHA384_NO_PAD); /* (CKM_VENDOR_DEFINED + 0x149) */
|
623
|
+
PKCS11_DEFINE_MECHANISM(CKM_KCDSA_SHA512_NO_PAD); /* (CKM_VENDOR_DEFINED + 0x151) */
|
624
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES3_X919_MAC); /* (CKM_VENDOR_DEFINED + 0x150) */
|
625
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_CBC_PAD_EXTRACT); /* (CKM_VENDOR_DEFINED + 0x200) */
|
626
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_CBC_PAD_INSERT); /* (CKM_VENDOR_DEFINED + 0x201) */
|
627
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_CBC_PAD_EXTRACT_FLATTENED); /* (CKM_VENDOR_DEFINED + 0x202) */
|
628
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_CBC_PAD_INSERT_FLATTENED); /* (CKM_VENDOR_DEFINED + 0x203) */
|
629
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_CBC_PAD_EXTRACT_DOMAIN_CTRL); /* (CKM_VENDOR_DEFINED + 0x204) */
|
630
|
+
PKCS11_DEFINE_MECHANISM(CKM_AES_CBC_PAD_INSERT_DOMAIN_CTRL); /* (CKM_VENDOR_DEFINED + 0x205) */
|
631
|
+
PKCS11_DEFINE_MECHANISM(CKM_PLACE_HOLDER_FOR_ERACOME_DEF_IN_SHIM); /* (CKM_VENDOR_DEFINED + 0x502) */
|
632
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES2_DUKPT_PIN); /* (CKM_VENDOR_DEFINED + 0x611) */
|
633
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES2_DUKPT_MAC); /* (CKM_VENDOR_DEFINED + 0x612) */
|
634
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES2_DUKPT_MAC_RESP); /* (CKM_VENDOR_DEFINED + 0x613) */
|
635
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES2_DUKPT_DATA); /* (CKM_VENDOR_DEFINED + 0x614) */
|
636
|
+
PKCS11_DEFINE_MECHANISM(CKM_DES2_DUKPT_DATA_RESP); /* (CKM_VENDOR_DEFINED + 0x615) */
|
637
|
+
PKCS11_DEFINE_MECHANISM(CKM_ECIES); /* (CKM_VENDOR_DEFINED + 0xA00) */
|
638
|
+
PKCS11_DEFINE_MECHANISM(CKM_XOR_BASE_AND_DATA_W_KDF); /* (CKM_VENDOR_DEFINED + 0xA01) */
|
639
|
+
PKCS11_DEFINE_MECHANISM(CKM_NIST_PRF_KDF); /* (CKM_VENDOR_DEFINED + 0xA02) */
|
640
|
+
PKCS11_DEFINE_MECHANISM(CKM_PRF_KDF); /* (CKM_VENDOR_DEFINED + 0xA03) */
|
641
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_START_DATE_OLD_XXX); /* 0x0083 // Kept temporarily for backward compatibility with Beta version. Use CKA_START_DATE */
|
642
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_END_DATE_OLD_XXX); /* 0x0084 // Kept temporarily for backward compatibility with Beta version. Use CKA_END_DATE */
|
643
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_CCM_PRIVATE); /* (CKA_VENDOR_DEFINED | 0x0001) */
|
644
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_FINGERPRINT_SHA1); /* (CKA_VENDOR_DEFINED | 0x0002) */
|
645
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_PKC_TCTRUST); /* (CKA_VENDOR_DEFINED | 0x0003) */
|
646
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_PKC_CITS); /* (CKA_VENDOR_DEFINED | 0x0004) */
|
647
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_OUID); /* (CKA_VENDOR_DEFINED | 0x0005) */
|
648
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_X9_31_GENERATED); /* (CKA_VENDOR_DEFINED | 0x0006) */
|
649
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_PKC_ECC); /* (CKA_VENDOR_DEFINED | 0x0007) */
|
650
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_EKM_UID); /* (CKA_VENDOR_DEFINED | 0x0008) */
|
651
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_USAGE_COUNT); /* (CKA_VENDOR_DEFINED + 0x0101) */
|
652
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_USAGE_LIMIT); /* (CKA_VENDOR_DEFINED + 0x0200) */
|
653
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_GENERIC_1); /* (CKA_VENDOR_DEFINED + 0x1000) */
|
654
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_GENERIC_2); /* (CKA_VENDOR_DEFINED + 0x1001) */
|
655
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_GENERIC_3); /* (CKA_VENDOR_DEFINED + 0x1002) */
|
656
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_FINGERPRINT_SHA256); /* (CKA_VENDOR_DEFINED + 0x1003) */
|
657
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_SIM_NO_AUTHORIZATION); /* 0 // no authorization needed */
|
658
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_SIM_PASSWORD); /* 1 // plain-text passwords */
|
659
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_SIM_CHALLENGE); /* 2 // challenge secrets emitted through the secure port */
|
660
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_SIM_SECURE_PORT); /* 3 // PED keys */
|
661
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_SIM_PORTABLE_NO_AUTHORIZATION); /* 4 // no authorization needed, portable */
|
662
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_SIM_PORTABLE_PASSWORD); /* 5 // plain-text passwords, portable */
|
663
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_SIM_PORTABLE_CHALLENGE); /* 6 // challenge secrets emitted through the secure port, portable */
|
664
|
+
PKCS11_DEFINE_ATTRIBUTE(CKA_SIM_PORTABLE_SECURE_PORT); /* 7 // PED keys, portable */
|
665
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_INSERTION_CALLBACK_NOT_SUPPORTED); /* 0x00000141 */
|
666
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_FUNCTION_PARALLEL); /* 0x0052 */
|
667
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SESSION_EXCLUSIVE_EXISTS); /* 0x00B2 */
|
668
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_RC_ERROR); /* (CKR_VENDOR_DEFINED + 0x04) */
|
669
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_CONTAINER_HANDLE_INVALID); /* (CKR_VENDOR_DEFINED + 0x05) */
|
670
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_TOO_MANY_CONTAINERS); /* (CKR_VENDOR_DEFINED + 0x06) */
|
671
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_USER_LOCKED_OUT); /* (CKR_VENDOR_DEFINED + 0x07) */
|
672
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_CLONING_PARAMETER_ALREADY_EXISTS); /* (CKR_VENDOR_DEFINED + 0x08) */
|
673
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_CLONING_PARAMETER_MISSING); /* (CKR_VENDOR_DEFINED + 0x09) */
|
674
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_CERTIFICATE_DATA_MISSING); /* (CKR_VENDOR_DEFINED + 0x0a) */
|
675
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_CERTIFICATE_DATA_INVALID); /* (CKR_VENDOR_DEFINED + 0x0b) */
|
676
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_ACCEL_DEVICE_ERROR); /* (CKR_VENDOR_DEFINED + 0x0c) */
|
677
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_WRAPPING_ERROR); /* (CKR_VENDOR_DEFINED + 0x0d) */
|
678
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_UNWRAPPING_ERROR); /* (CKR_VENDOR_DEFINED + 0x0e) */
|
679
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_MAC_MISSING); /* (CKR_VENDOR_DEFINED + 0x0f) */
|
680
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_DAC_POLICY_PID_MISMATCH); /* (CKR_VENDOR_DEFINED + 0x10) */
|
681
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_DAC_MISSING); /* (CKR_VENDOR_DEFINED + 0x11) */
|
682
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_BAD_DAC); /* (CKR_VENDOR_DEFINED + 0x12) */
|
683
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SSK_MISSING); /* (CKR_VENDOR_DEFINED + 0x13) */
|
684
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_BAD_MAC); /* (CKR_VENDOR_DEFINED + 0x14) */
|
685
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_DAK_MISSING); /* (CKR_VENDOR_DEFINED + 0x15) */
|
686
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_BAD_DAK); /* (CKR_VENDOR_DEFINED + 0x16) */
|
687
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SIM_AUTHORIZATION_FAILED); /* (CKR_VENDOR_DEFINED + 0x17) */
|
688
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SIM_VERSION_UNSUPPORTED); /* (CKR_VENDOR_DEFINED + 0x18) */
|
689
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SIM_CORRUPT_DATA); /* (CKR_VENDOR_DEFINED + 0x19) */
|
690
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_USER_NOT_AUTHORIZED); /* (CKR_VENDOR_DEFINED + 0x1a) */
|
691
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_MAX_OBJECT_COUNT_EXCEEDED); /* (CKR_VENDOR_DEFINED + 0x1b) */
|
692
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SO_LOGIN_FAILURE_THRESHOLD); /* (CKR_VENDOR_DEFINED + 0x1c) */
|
693
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SIM_AUTHFORM_INVALID); /* (CKR_VENDOR_DEFINED + 0x1d) */
|
694
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_CITS_DAK_MISSING); /* (CKR_VENDOR_DEFINED + 0x1e) */
|
695
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_UNABLE_TO_CONNECT); /* (CKR_VENDOR_DEFINED + 0x1f) */
|
696
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_PARTITION_DISABLED); /* (CKR_VENDOR_DEFINED + 0x20) */
|
697
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_CALLBACK_ERROR); /* (CKR_VENDOR_DEFINED + 0x21) */
|
698
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SECURITY_PARAMETER_MISSING); /* (CKR_VENDOR_DEFINED + 0x22) */
|
699
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_SP_TIMEOUT); /* (CKR_VENDOR_DEFINED + 0x23) */
|
700
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_TIMEOUT); /* (CKR_VENDOR_DEFINED + 0x24) */
|
701
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_ECC_UNKNOWN_CURVE); /* (CKR_VENDOR_DEFINED + 0x25) */
|
702
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_MTK_ZEROIZED); /* (CKR_VENDOR_DEFINED + 0x26) */
|
703
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_MTK_STATE_INVALID); /* (CKR_VENDOR_DEFINED + 0x27) */
|
704
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_INVALID_ENTRY_TYPE); /* (CKR_VENDOR_DEFINED + 0x28) */
|
705
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_MTK_SPLIT_INVALID); /* (CKR_VENDOR_DEFINED + 0x29) */
|
706
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_HSM_STORAGE_FULL); /* (CKR_VENDOR_DEFINED + 0x2a) */
|
707
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_DEVICE_TIMEOUT); /* (CKR_VENDOR_DEFINED + 0x2b) */
|
708
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_CONTAINER_OBJECT_STORAGE_FULL); /* (CKR_VENDOR_DEFINED + 0x2C) */
|
709
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_PED_CLIENT_NOT_RUNNING); /* (CKR_VENDOR_DEFINED + 0x2D) */
|
710
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_PED_UNPLUGGED); /* (CKR_VENDOR_DEFINED + 0x2E) */
|
711
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_ECC_POINT_INVALID); /* (CKR_VENDOR_DEFINED + 0x2F) */
|
712
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_OPERATION_NOT_ALLOWED); /* (CKR_VENDOR_DEFINED + 0x30) */
|
713
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_LICENSE_CAPACITY_EXCEEDED); /* (CKR_VENDOR_DEFINED + 0x31) */
|
714
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_LOG_FILE_NOT_OPEN); /* (CKR_VENDOR_DEFINED + 0x32) */
|
715
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_LOG_FILE_WRITE_ERROR); /* (CKR_VENDOR_DEFINED + 0x33) */
|
716
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_LOG_BAD_FILE_NAME); /* (CKR_VENDOR_DEFINED + 0x34) */
|
717
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_LOG_FULL); /* (CKR_VENDOR_DEFINED + 0x35) */
|
718
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_LOG_NO_KCV); /* (CKR_VENDOR_DEFINED + 0x36) */
|
719
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_LOG_BAD_RECORD_HMAC); /* (CKR_VENDOR_DEFINED + 0x37) */
|
720
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_LOG_BAD_TIME); /* (CKR_VENDOR_DEFINED + 0x38) */
|
721
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_LOG_AUDIT_NOT_INITIALIZED); /* (CKR_VENDOR_DEFINED + 0x39) */
|
722
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_LOG_RESYNC_NEEDED); /* (CKR_VENDOR_DEFINED + 0x3A) */
|
723
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_AUDIT_LOGIN_TIMEOUT_IN_PROGRESS); /* (CKR_VENDOR_DEFINED + 0x3B) */
|
724
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_AUDIT_LOGIN_FAILURE_THRESHOLD); /* (CKR_VENDOR_DEFINED + 0x3C) */
|
725
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_INVALID_FUF_TARGET); /* (CKR_VENDOR_DEFINED + 0x3D) */
|
726
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_INVALID_FUF_HEADER); /* (CKR_VENDOR_DEFINED + 0x3E) */
|
727
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_INVALID_FUF_VERSION); /* (CKR_VENDOR_DEFINED + 0x3F) */
|
728
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_ECC_ECC_RESULT_AT_INF); /* (CKR_VENDOR_DEFINED + 0x40) */
|
729
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_AGAIN); /* (CKR_VENDOR_DEFINED + 0x41) */
|
730
|
+
PKCS11_DEFINE_RETURN_VALUE(CKR_KEY_NOT_ACTIVE); /* (CKR_VENDOR_DEFINED + 0x136) */
|
731
|
+
PKCS11_DEFINE_CONST(CKD_SHA224_KDF); /* 0x00000005 */
|
732
|
+
PKCS11_DEFINE_CONST(CKD_SHA224_KDF_OLD); /* 0x80000003 */
|
733
|
+
PKCS11_DEFINE_CONST(CKD_SHA256_KDF); /* 0x00000006 */
|
734
|
+
PKCS11_DEFINE_CONST(CKD_SHA256_KDF_OLD); /* 0x80000004 */
|
735
|
+
PKCS11_DEFINE_CONST(CKD_SHA384_KDF); /* 0x00000007 */
|
736
|
+
PKCS11_DEFINE_CONST(CKD_SHA384_KDF_OLD); /* 0x80000005 */
|
737
|
+
PKCS11_DEFINE_CONST(CKD_SHA512_KDF); /* 0x00000008 */
|
738
|
+
PKCS11_DEFINE_CONST(CKD_SHA512_KDF_OLD); /* 0x80000006 */
|
739
|
+
PKCS11_DEFINE_CONST(CKD_RIPEMD160_KDF); /* 0x80000007 */
|
740
|
+
PKCS11_DEFINE_CONST(CKD_SHA1_NIST_KDF); /* 0x00000012 */
|
741
|
+
PKCS11_DEFINE_CONST(CKD_SHA224_NIST_KDF); /* 0x80000013 */
|
742
|
+
PKCS11_DEFINE_CONST(CKD_SHA256_NIST_KDF); /* 0x80000014 */
|
743
|
+
PKCS11_DEFINE_CONST(CKD_SHA384_NIST_KDF); /* 0x80000015 */
|
744
|
+
PKCS11_DEFINE_CONST(CKD_SHA512_NIST_KDF); /* 0x80000016 */
|
745
|
+
PKCS11_DEFINE_CONST(CKD_RIPEMD160_NIST_KDF); /* 0x80000017 */
|
746
|
+
PKCS11_DEFINE_CONST(CKD_SHA1_SES_KDF); /* 0x82000000 */
|
747
|
+
PKCS11_DEFINE_CONST(CKD_SHA224_SES_KDF); /* 0x83000000 */
|
748
|
+
PKCS11_DEFINE_CONST(CKD_SHA256_SES_KDF); /* 0x84000000 */
|
749
|
+
PKCS11_DEFINE_CONST(CKD_SHA384_SES_KDF); /* 0x85000000 */
|
750
|
+
PKCS11_DEFINE_CONST(CKD_SHA512_SES_KDF); /* 0x86000000 */
|
751
|
+
PKCS11_DEFINE_CONST(CKD_RIPEMD160_SES_KDF); /* 0x87000000 */
|
752
|
+
PKCS11_DEFINE_CONST(CKD_SES_ENC_CTR); /* 0x00000001 */
|
753
|
+
PKCS11_DEFINE_CONST(CKD_SES_AUTH_CTR); /* 0x00000002 */
|
754
|
+
PKCS11_DEFINE_CONST(CKD_SES_ALT_ENC_CTR); /* 0x00000003 */
|
755
|
+
PKCS11_DEFINE_CONST(CKD_SES_ALT_AUTH_CTR); /* 0x00000004 */
|
756
|
+
PKCS11_DEFINE_CONST(CKD_SHA1_KDF_CONCATENATE_X9_42); /* CKD_SHA1_KDF_CONCATENATE */
|
757
|
+
PKCS11_DEFINE_CONST(CKD_SHA1_KDF_CONCATENATE_NIST); /* 0x80000001 */
|
758
|
+
PKCS11_DEFINE_CONST(CKD_SHA1_KDF_ASN1_X9_42); /* CKD_SHA1_KDF_ASN1 */
|
759
|
+
PKCS11_DEFINE_CONST(CKD_SHA1_KDF_ASN1_NIST); /* 0x80000002 */
|
760
|
+
PKCS11_DEFINE_CONST(CKU_CRYPTO_OFFICER); /* CKU_USER */
|
761
|
+
PKCS11_DEFINE_CONST(CKU_LIMITED_USER); /* 0x80000001 */
|
762
|
+
PKCS11_DEFINE_CONST(CKU_LIMITED_USER_OLD); /* 0x8000001 */
|
763
|
+
PKCS11_DEFINE_CONST(CKU_CRYPTO_USER); /* CKU_LIMITED_USER */
|
764
|
+
PKCS11_DEFINE_CONST(CKU_AUDIT); /* 0x80000002 */
|
765
|
+
PKCS11_DEFINE_CONST(CKF_EXCLUSIVE_SESSION); /* 0x0001 */
|
766
|
+
PKCS11_DEFINE_CONST(CKF_EXCLUSIVE_EXISTS); /* 0x0010 */
|
767
|
+
PKCS11_DEFINE_CONST(CKF_SO_SESSION); /* 0x8000 */
|
768
|
+
PKCS11_DEFINE_CONST(CKF_AUDIT_SESSION); /* 0x10000 */
|
769
|
+
PKCS11_DEFINE_CONST(CKDHP_STANDARD); /* 0x00000001 */
|
770
|
+
PKCS11_DEFINE_CONST(CKDHP_ECDH1_COFACTOR); /* 0x00000001 */
|
771
|
+
PKCS11_DEFINE_CONST(CKDHP_MODIFIED); /* 0x00000002 */
|
772
|
+
PKCS11_DEFINE_CONST(CKDHP_ECDH1); /* 0x00000003 */
|
773
|
+
PKCS11_DEFINE_CONST(CKES_XOR); /* 0x00000001 */
|
774
|
+
PKCS11_DEFINE_CONST(CKES_DES3_CBC_PAD); /* 0x00000002 */
|
775
|
+
PKCS11_DEFINE_CONST(CKES_AES_CBC_PAD); /* 0x00000003 */
|
776
|
+
PKCS11_DEFINE_CONST(CKES_DES3_CBC); /* 0x00000004 */
|
777
|
+
PKCS11_DEFINE_CONST(CKES_AES_CBC); /* 0x00000005 */
|
778
|
+
PKCS11_DEFINE_CONST(CKMS_HMAC_SHA1); /* 0x00000001 */
|
779
|
+
PKCS11_DEFINE_CONST(CKMS_SHA1); /* 0x00000002 */
|
780
|
+
PKCS11_DEFINE_CONST(CKMS_HMAC_SHA224); /* 0x00000003 */
|
781
|
+
PKCS11_DEFINE_CONST(CKMS_SHA224); /* 0x00000004 */
|
782
|
+
PKCS11_DEFINE_CONST(CKMS_HMAC_SHA256); /* 0x00000005 */
|
783
|
+
PKCS11_DEFINE_CONST(CKMS_SHA256); /* 0x00000006 */
|
784
|
+
PKCS11_DEFINE_CONST(CKMS_HMAC_SHA384); /* 0x00000007 */
|
785
|
+
PKCS11_DEFINE_CONST(CKMS_SHA384); /* 0x00000008 */
|
786
|
+
PKCS11_DEFINE_CONST(CKMS_HMAC_SHA512); /* 0x00000009 */
|
787
|
+
PKCS11_DEFINE_CONST(CKMS_SHA512); /* 0x0000000a */
|
788
|
+
PKCS11_DEFINE_CONST(CKMS_HMAC_RIPEMD160); /* 0x0000000b */
|
789
|
+
PKCS11_DEFINE_CONST(CKMS_RIPEMD160); /* 0x0000000c */
|
790
|
+
PKCS11_DEFINE_CONST(CAF_M_OF_N_REQUIRED); /* 0x00000001 */
|
791
|
+
PKCS11_DEFINE_CONST(CAF_M_OF_N_ACTIVATED); /* 0x00000002 */
|
792
|
+
PKCS11_DEFINE_CONST(CAF_M_OF_N_GENERATED); /* 0x00000004 */
|
793
|
+
PKCS11_DEFINE_CONST(CAF_M_OF_N_CLONEABLE); /* 0x00000008 */
|
794
|
+
PKCS11_DEFINE_CONST(CKHSC_CERT_TYPE_TCTRUST_MAC); /* 0x00000001 */
|
795
|
+
PKCS11_DEFINE_CONST(CKHSC_CERT_TYPE_TCTRUST_DAC); /* 0x00000002 */
|
796
|
+
PKCS11_DEFINE_CONST(CKHSC_CERT_TYPE_CITS_ROOT); /* 0x00000003 */
|
797
|
+
PKCS11_DEFINE_CONST(CKHSC_CERT_TYPE_CITS_MICHOC); /* 0x00000004 */
|
798
|
+
PKCS11_DEFINE_CONST(CKHSC_CERT_TYPE_CITS_DAC); /* 0x00000005 */
|
799
|
+
PKCS11_DEFINE_CONST(CKHSC_CERT_TYPE_ECC_MIC); /* 0x00000006 */
|
800
|
+
PKCS11_DEFINE_CONST(CKHSC_CERT_TYPE_ECC_HOC); /* 0x00000007 */
|
801
|
+
PKCS11_DEFINE_CONST(CKHSC_CERT_TYPE_ECC_DAC); /* 0x00000008 */
|
802
|
+
PKCS11_DEFINE_CONST(CKHSC_CERT_TYPE_TWC); /* 0x00000009 */
|
803
|
+
PKCS11_DEFINE_CONST(CKHSC_CERT_TYPE_TWC2); /* 0x0000000A */
|
804
|
+
PKCS11_DEFINE_CONST(CKHSC_CERT_TYPE_TWC3); /* 0x0000000B */
|