Searched refs:ckpFunctions (Results 1 - 9 of 9) sorted by relevance

/openjdk7/jdk/src/share/native/sun/security/pkcs11/wrapper/
H A Dp11_digest.c73 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
74 if (ckpFunctions == NULL) { return; }
80 rv = (*ckpFunctions->C_DigestInit)(ckSessionHandle, &ckMechanism);
113 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
114 if (ckpFunctions == NULL) { return 0; }
120 rv = (*ckpFunctions->C_DigestInit)(ckSessionHandle, &ckMechanism);
145 rv = (*ckpFunctions->C_Digest)(ckSessionHandle, bufP, jInLen, DIGESTBUF, &ckDigestLength);
175 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
176 if (ckpFunctions == NULL) { return; }
181 rv = (*ckpFunctions
236 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
265 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
296 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
329 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
[all...]
H A Dp11_dual.c79 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
80 if (ckpFunctions == NULL) { return NULL; }
86 rv = (*ckpFunctions->C_DigestEncryptUpdate)(ckSessionHandle, ckpPart, ckPartLength, NULL_PTR, &ckEncryptedPartLength);
99 rv = (*ckpFunctions->C_DigestEncryptUpdate)(ckSessionHandle, ckpPart, ckPartLength, ckpEncryptedPart, &ckEncryptedPartLength);
131 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
132 if (ckpFunctions == NULL) { return NULL; }
138 rv = (*ckpFunctions->C_DecryptDigestUpdate)(ckSessionHandle, ckpEncryptedPart, ckEncryptedPartLength, NULL_PTR, &ckPartLength);
151 rv = (*ckpFunctions->C_DecryptDigestUpdate)(ckSessionHandle, ckpEncryptedPart, ckEncryptedPartLength, ckpPart, &ckPartLength);
183 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
184 if (ckpFunctions
235 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
281 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
306 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
[all...]
H A Dp11_objmgmt.c78 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
79 if (ckpFunctions == NULL) { return 0L; }
85 rv = (*ckpFunctions->C_CreateObject)(ckSessionHandle, ckpAttributes, ckAttributesLength, &ckObjectHandle);
119 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
120 if (ckpFunctions == NULL) { return 0L; }
127 rv = (*ckpFunctions->C_CopyObject)(ckSessionHandle, ckObjectHandle, ckpAttributes, ckAttributesLength, &ckNewObjectHandle);
154 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
155 if (ckpFunctions == NULL) { return; }
160 rv = (*ckpFunctions->C_DestroyObject)(ckSessionHandle, ckObjectHandle);
184 CK_FUNCTION_LIST_PTR ckpFunctions local
222 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
310 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
344 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
386 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
422 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
[all...]
H A Dp11_sign.c75 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
76 if (ckpFunctions == NULL) { return; }
83 rv = (*ckpFunctions->C_SignInit)(ckSessionHandle, &ckMechanism, ckKeyHandle);
116 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
117 if (ckpFunctions == NULL) { return NULL; }
126 rv = (*ckpFunctions->C_Sign)(ckSessionHandle, ckpData, ckDataLength, NULL_PTR, &ckSignatureLength);
140 rv = (*ckpFunctions->C_Sign)(ckSessionHandle, ckpData, ckDataLength, ckpSignature, &ckSignatureLength);
152 rv = (*ckpFunctions->C_Sign)(ckSessionHandle, ckpData, ckDataLength, ckpSignature, &ckSignatureLength);
162 rv = (*ckpFunctions->C_Sign)(ckSessionHandle, ckpData, ckDataLength, ckpSignature, &ckSignatureLength);
195 CK_FUNCTION_LIST_PTR ckpFunctions local
260 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
306 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
348 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
410 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
451 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
493 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
555 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
589 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
631 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
[all...]
H A Dp11_general.c188 CK_FUNCTION_LIST_PTR ckpFunctions; local
192 ckpFunctions = getFunctionList(env, obj);
193 if (ckpFunctions == NULL) {
202 rv = (*ckpFunctions->C_Initialize)(ckpInitArgs);
230 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
231 if (ckpFunctions == NULL) { return; }
235 rv = (*ckpFunctions->C_Finalize)(ckpReserved);
256 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
257 if (ckpFunctions == NULL) { return NULL; }
259 rv = (*ckpFunctions
343 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
387 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
479 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
609 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
643 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
691 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
772 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
814 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
853 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
[all...]
H A Dp11_sessmgmt.c91 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
92 if (ckpFunctions == NULL) { return 0L; }
124 rv = (*ckpFunctions->C_OpenSession)(ckSlotID, ckFlags, ckpApplication, ckNotify, &ckSessionHandle);
175 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
176 if (ckpFunctions == NULL) { return; }
180 rv = (*ckpFunctions->C_CloseSession)(ckSessionHandle);
220 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
221 if (ckpFunctions == NULL) { return; }
225 rv = (*ckpFunctions->C_CloseAllSessions)(ckSlotID);
262 CK_FUNCTION_LIST_PTR ckpFunctions local
294 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
340 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
378 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
408 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
[all...]
H A Dp11_crypt.c78 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
79 if (ckpFunctions == NULL) { return; }
86 rv = (*ckpFunctions->C_EncryptInit)(ckSessionHandle, &ckMechanism,
122 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
123 if (ckpFunctions == NULL) { return 0; }
139 rv = (*ckpFunctions->C_Encrypt)(ckSessionHandle,
177 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
178 if (ckpFunctions == NULL) { return 0; }
205 rv = (*ckpFunctions->C_EncryptUpdate)(ckSessionHandle,
246 CK_FUNCTION_LIST_PTR ckpFunctions local
298 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
342 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
398 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
462 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
[all...]
H A Dp11_keymgmt.c80 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
81 if (ckpFunctions == NULL) { return 0L; }
95 rv = (*ckpFunctions->C_GenerateKey)(ckSessionHandle, &ckMechanism, ckpAttributes, ckAttributesLength, &ckKeyHandle);
156 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
157 if (ckpFunctions == NULL) { return NULL; }
193 rv = (*ckpFunctions->C_GenerateKeyPair)(ckSessionHandle, &ckMechanism,
239 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
240 if (ckpFunctions == NULL) { return NULL; }
249 rv = (*ckpFunctions->C_WrapKey)(ckSessionHandle, &ckMechanism, ckWrappingKeyHandle, ckKeyHandle, ckpWrappedKey, &ckWrappedKeyLength);
260 rv = (*ckpFunctions
304 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
482 CK_FUNCTION_LIST_PTR ckpFunctions = getFunctionList(env, obj); local
[all...]
H A Dp11_util.c128 CK_FUNCTION_LIST_PTR ckpFunctions; local
135 ckpFunctions = moduleData->ckFunctionListPtr;
136 return ckpFunctions;

Completed in 44 milliseconds