Lines Matching defs:sym
38 CK_C_Initialize sym;
51 sym = (CK_C_Initialize)dlsym(hPK11, "C_Initialize");
52 if (sym == NULL)
54 return (*sym)(pReserved);
63 CK_C_Finalize sym;
68 sym = (CK_C_Finalize)dlsym(hPK11, "C_Finalize");
69 if (sym == NULL)
71 rv = (*sym)(pReserved);
82 static CK_C_GetSlotList sym = NULL;
87 if ((sym == NULL) || (hPK11 != pPK11)) {
89 sym = (CK_C_GetSlotList)dlsym(hPK11, "C_GetSlotList");
91 if (sym == NULL)
93 return (*sym)(tokenPresent, pSlotList, pulCount);
98 static CK_C_GetTokenInfo sym = NULL;
103 if ((sym == NULL) || (hPK11 != pPK11)) {
105 sym = (CK_C_GetTokenInfo)dlsym(hPK11, "C_GetTokenInfo");
107 if (sym == NULL)
109 return (*sym)(slotID, pInfo);
116 static CK_C_GetMechanismInfo sym = NULL;
121 if ((sym == NULL) || (hPK11 != pPK11)) {
123 sym = (CK_C_GetMechanismInfo)dlsym(hPK11,
126 if (sym == NULL)
128 return (*sym)(slotID, type, pInfo);
139 static CK_C_OpenSession sym = NULL;
150 if ((sym == NULL) || (hPK11 != pPK11)) {
152 sym = (CK_C_OpenSession)dlsym(hPK11, "C_OpenSession");
154 if (sym == NULL)
156 return (*sym)(slotID, flags, pApplication, Notify, phSession);
161 static CK_C_CloseSession sym = NULL;
166 if ((sym == NULL) || (hPK11 != pPK11)) {
168 sym = (CK_C_CloseSession)dlsym(hPK11, "C_CloseSession");
170 if (sym == NULL)
172 return (*sym)(hSession);
179 static CK_C_Login sym = NULL;
184 if ((sym == NULL) || (hPK11 != pPK11)) {
186 sym = (CK_C_Login)dlsym(hPK11, "C_Login");
188 if (sym == NULL)
190 return (*sym)(hSession, userType, pPin, usPinLen);
195 static CK_C_Logout sym = NULL;
200 if ((sym == NULL) || (hPK11 != pPK11)) {
202 sym = (CK_C_Logout)dlsym(hPK11, "C_Logout");
204 if (sym == NULL)
206 return (*sym)(hSession);
213 static CK_C_CreateObject sym = NULL;
218 if ((sym == NULL) || (hPK11 != pPK11)) {
220 sym = (CK_C_CreateObject)dlsym(hPK11, "C_CreateObject");
222 if (sym == NULL)
224 return (*sym)(hSession, pTemplate, usCount, phObject);
229 static CK_C_DestroyObject sym = NULL;
234 if ((sym == NULL) || (hPK11 != pPK11)) {
236 sym = (CK_C_DestroyObject)dlsym(hPK11, "C_DestroyObject");
238 if (sym == NULL)
240 return (*sym)(hSession, hObject);
247 static CK_C_GetAttributeValue sym = NULL;
252 if ((sym == NULL) || (hPK11 != pPK11)) {
254 sym = (CK_C_GetAttributeValue)dlsym(hPK11,
257 if (sym == NULL)
259 return (*sym)(hSession, hObject, pTemplate, usCount);
266 static CK_C_SetAttributeValue sym = NULL;
271 if ((sym == NULL) || (hPK11 != pPK11)) {
273 sym = (CK_C_SetAttributeValue)dlsym(hPK11,
276 if (sym == NULL)
278 return (*sym)(hSession, hObject, pTemplate, usCount);
285 static CK_C_FindObjectsInit sym = NULL;
290 if ((sym == NULL) || (hPK11 != pPK11)) {
292 sym = (CK_C_FindObjectsInit)dlsym(hPK11, "C_FindObjectsInit");
294 if (sym == NULL)
296 return (*sym)(hSession, pTemplate, usCount);
303 static CK_C_FindObjects sym = NULL;
308 if ((sym == NULL) || (hPK11 != pPK11)) {
310 sym = (CK_C_FindObjects)dlsym(hPK11, "C_FindObjects");
312 if (sym == NULL)
314 return (*sym)(hSession, phObject, usMaxObjectCount, pusObjectCount);
320 static CK_C_FindObjectsFinal sym = NULL;
325 if ((sym == NULL) || (hPK11 != pPK11)) {
327 sym = (CK_C_FindObjectsFinal)dlsym(hPK11,
330 if (sym == NULL)
332 return (*sym)(hSession);
339 static CK_C_EncryptInit sym = NULL;
344 if ((sym == NULL) || (hPK11 != pPK11)) {
346 sym = (CK_C_EncryptInit)dlsym(hPK11, "C_EncryptInit");
348 if (sym == NULL)
350 return (*sym)(hSession, pMechanism, hKey);
358 static CK_C_Encrypt sym = NULL;
363 if ((sym == NULL) || (hPK11 != pPK11)) {
365 sym = (CK_C_Encrypt)dlsym(hPK11, "C_Encrypt");
367 if (sym == NULL)
369 return (*sym)(hSession, pData, ulDataLen,
375 static CK_C_DigestInit sym = NULL;
380 if ((sym == NULL) || (hPK11 != pPK11)) {
382 sym = (CK_C_DigestInit)dlsym(hPK11, "C_DigestInit");
384 if (sym == NULL)
386 return (*sym)(hSession, pMechanism);
393 static CK_C_DigestUpdate sym = NULL;
398 if ((sym == NULL) || (hPK11 != pPK11)) {
400 sym = (CK_C_DigestUpdate)dlsym(hPK11, "C_DigestUpdate");
402 if (sym == NULL)
404 return (*sym)(hSession, pPart, ulPartLen);
411 static CK_C_DigestFinal sym = NULL;
416 if ((sym == NULL) || (hPK11 != pPK11)) {
418 sym = (CK_C_DigestFinal)dlsym(hPK11, "C_DigestFinal");
420 if (sym == NULL)
422 return (*sym)(hSession, pDigest, pulDigestLen);
429 static CK_C_SignInit sym = NULL;
434 if ((sym == NULL) || (hPK11 != pPK11)) {
436 sym = (CK_C_SignInit)dlsym(hPK11, "C_SignInit");
438 if (sym == NULL)
440 return (*sym)(hSession, pMechanism, hKey);
448 static CK_C_Sign sym = NULL;
453 if ((sym == NULL) || (hPK11 != pPK11)) {
455 sym = (CK_C_Sign)dlsym(hPK11, "C_Sign");
457 if (sym == NULL)
459 return (*sym)(hSession, pData, ulDataLen, pSignature, pulSignatureLen);
466 static CK_C_SignUpdate sym = NULL;
471 if ((sym == NULL) || (hPK11 != pPK11)) {
473 sym = (CK_C_SignUpdate)dlsym(hPK11, "C_SignUpdate");
475 if (sym == NULL)
477 return (*sym)(hSession, pPart, ulPartLen);
484 static CK_C_SignFinal sym = NULL;
489 if ((sym == NULL) || (hPK11 != pPK11)) {
491 sym = (CK_C_SignFinal)dlsym(hPK11, "C_SignFinal");
493 if (sym == NULL)
495 return (*sym)(hSession, pSignature, pulSignatureLen);
502 static CK_C_VerifyInit sym = NULL;
507 if ((sym == NULL) || (hPK11 != pPK11)) {
509 sym = (CK_C_VerifyInit)dlsym(hPK11, "C_VerifyInit");
511 if (sym == NULL)
513 return (*sym)(hSession, pMechanism, hKey);
521 static CK_C_Verify sym = NULL;
526 if ((sym == NULL) || (hPK11 != pPK11)) {
528 sym = (CK_C_Verify)dlsym(hPK11, "C_Verify");
530 if (sym == NULL)
532 return (*sym)(hSession, pData, ulDataLen, pSignature, ulSignatureLen);
539 static CK_C_VerifyUpdate sym = NULL;
544 if ((sym == NULL) || (hPK11 != pPK11)) {
546 sym = (CK_C_VerifyUpdate)dlsym(hPK11, "C_VerifyUpdate");
548 if (sym == NULL)
550 return (*sym)(hSession, pPart, ulPartLen);
557 static CK_C_VerifyFinal sym = NULL;
562 if ((sym == NULL) || (hPK11 != pPK11)) {
564 sym = (CK_C_VerifyFinal)dlsym(hPK11, "C_VerifyFinal");
566 if (sym == NULL)
568 return (*sym)(hSession, pSignature, ulSignatureLen);
576 static CK_C_GenerateKey sym = NULL;
581 if ((sym == NULL) || (hPK11 != pPK11)) {
583 sym = (CK_C_GenerateKey)dlsym(hPK11, "C_GenerateKey");
585 if (sym == NULL)
587 return (*sym)(hSession, pMechanism, pTemplate, ulCount, phKey);
600 static CK_C_GenerateKeyPair sym = NULL;
605 if ((sym == NULL) || (hPK11 != pPK11)) {
607 sym = (CK_C_GenerateKeyPair)dlsym(hPK11, "C_GenerateKeyPair");
609 if (sym == NULL)
611 return (*sym)(hSession,
626 static CK_C_DeriveKey sym = NULL;
631 if ((sym == NULL) || (hPK11 != pPK11)) {
633 sym = (CK_C_DeriveKey)dlsym(hPK11, "C_DeriveKey");
635 if (sym == NULL)
637 return (*sym)(hSession,
649 static CK_C_SeedRandom sym = NULL;
654 if ((sym == NULL) || (hPK11 != pPK11)) {
656 sym = (CK_C_SeedRandom)dlsym(hPK11, "C_SeedRandom");
658 if (sym == NULL)
660 return (*sym)(hSession, pSeed, ulSeedLen);
667 static CK_C_GenerateRandom sym = NULL;
672 if ((sym == NULL) || (hPK11 != pPK11)) {
674 sym = (CK_C_GenerateRandom)dlsym(hPK11, "C_GenerateRandom");
676 if (sym == NULL)
678 return (*sym)(hSession, RandomData, ulRandomLen);