Home
last modified time | relevance | path

Searched refs:FUNCLIST (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11Session.c82 rv = FUNCLIST(fw_st_id)->C_OpenSession(true_id, flags, in C_OpenSession()
106 FUNCLIST(slotID)->C_CloseSession(prov_sess); in C_OpenSession()
138 rv = FUNCLIST(sessp->se_slotid)->C_CloseSession(sessp->se_handle); in C_CloseSession()
200 rv = FUNCLIST(fw_st_id)->C_CloseAllSessions(true_id); in C_CloseAllSessions()
215 rv1 = FUNCLIST(fw_st_id)-> in C_CloseAllSessions()
284 rv = FUNCLIST(slot_id)-> in C_GetSessionInfo()
328 rv = FUNCLIST(sessp->se_slotid)->C_GetOperationState(sessp->se_handle, in C_GetOperationState()
371 rv = FUNCLIST(sessp->se_slotid)->C_SetOperationState(sessp->se_handle, in C_SetOperationState()
413 rv = FUNCLIST(sessp->se_slotid)->C_Login(sessp->se_handle, in C_Login()
450 rv = FUNCLIST(sessp->se_slotid)->C_Logout(sessp->se_handle); in C_Logout()
H A Dpkcs11Object.c64 rv = FUNCLIST(sessp->se_slotid)->C_CreateObject(sessp->se_handle, in C_CreateObject()
105 rv = FUNCLIST(sessp->se_slotid)->C_CopyObject(sessp->se_handle, in C_CopyObject()
143 rv = FUNCLIST(sessp->se_slotid)->C_DestroyObject(sessp->se_handle, in C_DestroyObject()
183 rv = FUNCLIST(sessp->se_slotid)->C_GetAttributeValue(sessp->se_handle, in C_GetAttributeValue()
224 rv = FUNCLIST(sessp->se_slotid)->C_SetAttributeValue(sessp->se_handle, in C_SetAttributeValue()
264 rv = FUNCLIST(sessp->se_slotid)->C_GetObjectSize(sessp->se_handle, in C_GetObjectSize()
304 rv = FUNCLIST(sessp->se_slotid)->C_FindObjectsInit(sessp->se_handle, in C_FindObjectsInit()
346 rv = FUNCLIST(sessp->se_slotid)->C_FindObjects(sessp->se_handle, in C_FindObjects()
384 rv = FUNCLIST(sessp->se_slotid)->C_FindObjectsFinal(sessp->se_handle); in C_FindObjectsFinal()
H A DmetaUtil.c242 rv = FUNCLIST(fw_st_id)->C_EncryptInit( in meta_operation_init()
247 rv = FUNCLIST(fw_st_id)->C_DecryptInit( in meta_operation_init()
252 rv = FUNCLIST(fw_st_id)->C_DigestInit( in meta_operation_init()
256 rv = FUNCLIST(fw_st_id)->C_SignInit( in meta_operation_init()
261 rv = FUNCLIST(fw_st_id)->C_VerifyInit( in meta_operation_init()
266 rv = FUNCLIST(fw_st_id)->C_SignRecoverInit( in meta_operation_init()
271 rv = FUNCLIST(fw_st_id)->C_VerifyRecoverInit( in meta_operation_init()
426 rv = FUNCLIST(fw_st_id)->C_EncryptInit( in meta_operation_init_softtoken()
431 rv = FUNCLIST(fw_st_id)->C_DecryptInit( in meta_operation_init_softtoken()
436 rv = FUNCLIST(fw_st_id)->C_DigestInit( in meta_operation_init_softtoken()
[all …]
H A Dpkcs11Crypt.c78 rv = FUNCLIST(slotid)->C_EncryptInit(sessp->se_handle, in C_EncryptInit()
121 rv = FUNCLIST(sessp->se_slotid)->C_Encrypt(sessp->se_handle, pData, in C_Encrypt()
164 rv = FUNCLIST(sessp->se_slotid)->C_EncryptUpdate(sessp->se_handle, in C_EncryptUpdate()
205 rv = FUNCLIST(sessp->se_slotid)->C_EncryptFinal(sessp->se_handle, in C_EncryptFinal()
261 rv = FUNCLIST(slotid)->C_DecryptInit(sessp->se_handle, in C_DecryptInit()
304 rv = FUNCLIST(sessp->se_slotid)->C_Decrypt(sessp->se_handle, in C_Decrypt()
347 rv = FUNCLIST(sessp->se_slotid)->C_DecryptUpdate(sessp->se_handle, in C_DecryptUpdate()
388 rv = FUNCLIST(sessp->se_slotid)->C_DecryptFinal(sessp->se_handle, in C_DecryptFinal()
H A DmetaSlotManager.c160 (void) FUNCLIST(session->fw_st_id)->C_CloseSession( in meta_slotManager_finalize()
171 (void) FUNCLIST(session->fw_st_id)->C_CloseSession( in meta_slotManager_finalize()
240 rv = FUNCLIST(fw_st_id)->C_GetSlotInfo(true_id, in meta_slotManager_find_object_token()
256 rv = FUNCLIST(fw_st_id)->C_GetSlotInfo(true_id, in meta_slotManager_find_object_token()
285 rv = FUNCLIST(fw_st_id)->C_GetTokenInfo(true_id, in meta_slotManager_find_object_token()
317 rv = FUNCLIST(fw_st_id)->C_GetTokenInfo(true_id, in meta_slotManager_find_object_token()
496 rv = FUNCLIST(fw_st_id)->C_OpenSession(true_id, flags, NULL, NULL, in meta_get_slot_session()
502 rv = FUNCLIST(fw_st_id)->C_OpenSession(true_id, in meta_get_slot_session()
571 (void) FUNCLIST(session->fw_st_id)->C_CloseSession(session->hSession); in meta_release_slot_session()
H A Dpkcs11Sign.c77 rv = FUNCLIST(slotid)->C_SignInit(sessp->se_handle, in C_SignInit()
120 rv = FUNCLIST(sessp->se_slotid)->C_Sign(sessp->se_handle, pData, in C_Sign()
159 rv = FUNCLIST(sessp->se_slotid)->C_SignUpdate(sessp->se_handle, pPart, in C_SignUpdate()
200 rv = FUNCLIST(sessp->se_slotid)->C_SignFinal(sessp->se_handle, in C_SignFinal()
255 rv = FUNCLIST(slotid)->C_SignRecoverInit(sessp->se_handle, in C_SignRecoverInit()
295 rv = FUNCLIST(sessp->se_slotid)->C_SignRecover(sessp->se_handle, pData, in C_SignRecover()
H A Dpkcs11Verify.c76 rv = FUNCLIST(slotid)->C_VerifyInit(sessp->se_handle, in C_VerifyInit()
117 rv = FUNCLIST(sessp->se_slotid)->C_Verify(sessp->se_handle, pData, in C_Verify()
158 rv = FUNCLIST(sessp->se_slotid)->C_VerifyUpdate(sessp->se_handle, in C_VerifyUpdate()
197 rv = FUNCLIST(sessp->se_slotid)->C_VerifyFinal(sessp->se_handle, in C_VerifyFinal()
253 rv = FUNCLIST(slotid)->C_VerifyRecoverInit(sessp->se_handle, in C_VerifyRecoverInit()
295 rv = FUNCLIST(sessp->se_slotid)->C_VerifyRecover(sessp->se_handle, in C_VerifyRecover()
H A Dpkcs11Digest.c76 rv = FUNCLIST(slotid)->C_DigestInit(sessp->se_handle, in C_DigestInit()
117 rv = FUNCLIST(sessp->se_slotid)->C_Digest(sessp->se_handle, pData, in C_Digest()
158 rv = FUNCLIST(sessp->se_slotid)->C_DigestUpdate(sessp->se_handle, in C_DigestUpdate()
196 rv = FUNCLIST(sessp->se_slotid)->C_DigestKey(sessp->se_handle, hKey); in C_DigestKey()
235 rv = FUNCLIST(sessp->se_slotid)->C_DigestFinal(sessp->se_handle, in C_DigestFinal()
H A Dpkcs11DualCrypt.c65 rv = FUNCLIST(sessp->se_slotid)-> in C_DigestEncryptUpdate()
111 rv = FUNCLIST(sessp->se_slotid)-> in C_DecryptDigestUpdate()
156 rv = FUNCLIST(sessp->se_slotid)-> in C_SignEncryptUpdate()
201 rv = FUNCLIST(sessp->se_slotid)-> in C_DecryptVerifyUpdate()
H A Dpkcs11Keys.c76 rv = FUNCLIST(slotid)->C_GenerateKey(sessp->se_handle, in C_GenerateKey()
136 rv = FUNCLIST(slotid)->C_GenerateKeyPair(sessp->se_handle, in C_GenerateKeyPair()
194 rv = FUNCLIST(slotid)->C_WrapKey(sessp->se_handle, in C_WrapKey()
251 rv = FUNCLIST(slotid)->C_UnwrapKey(sessp->se_handle, in C_UnwrapKey()
307 rv = FUNCLIST(slotid)->C_DeriveKey(sessp->se_handle, in C_DeriveKey()
H A Dpkcs11SlotToken.c101 prov_rv = FUNCLIST(i)-> in C_GetSlotList()
158 rv = FUNCLIST(fw_st_id)->C_GetSlotInfo(TRUEID(fw_st_id), pInfo); in C_GetSlotInfo()
192 rv = FUNCLIST(fw_st_id)->C_GetTokenInfo(TRUEID(fw_st_id), pInfo); in C_GetTokenInfo()
324 rv = FUNCLIST(i)->C_WaitForSlotEvent(flags, in C_WaitForSlotEvent()
620 prov_funcs = FUNCLIST(fw_st_id); in C_GetMechanismList()
754 prov_funcs = FUNCLIST(fw_st_id); in C_GetMechanismInfo()
800 rv = FUNCLIST(fw_st_id)->C_InitToken(TRUEID(fw_st_id), pPin, ulPinLen, in C_InitToken()
835 rv = FUNCLIST(sessp->se_slotid)->C_InitPIN(sessp->se_handle, in C_InitPIN()
872 rv = FUNCLIST(sessp->se_slotid)->C_SetPIN(sessp->se_handle, in C_SetPIN()
981 rv = FUNCLIST(wfse->slotid)->C_WaitForSlotEvent(wfse->flags, &slot, in child_waitforslotevent()
H A DmetaSession.c226 rv = FUNCLIST(slot_session->fw_st_id)->C_GetOperationState( in meta_getopstatelen()
316 rv = FUNCLIST(slot_session->fw_st_id)->C_GetOperationState( in meta_GetOperationState()
381 rv = FUNCLIST(slot_session->fw_st_id)->C_SetOperationState( in meta_set_opstate()
389 rv = FUNCLIST(slot_session->fw_st_id)->C_SetOperationState( in meta_set_opstate()
539 rv = FUNCLIST(fw_st_id)->C_Login(login_session->hSession, userType, in meta_Login()
560 rv = FUNCLIST(fw_st_id)->C_GetTokenInfo(true_id, &token_info); in meta_Login()
603 rv = FUNCLIST(logout_session->fw_st_id)->C_Logout( in meta_Logout()
H A DmetaObject.c212 rv = FUNCLIST(slot_session->fw_st_id)->C_CreateObject( in meta_CreateObject()
243 rv = FUNCLIST(slot_session->fw_st_id)->C_CreateObject( in meta_CreateObject()
437 rv = FUNCLIST(slot_session->fw_st_id)->C_CopyObject( in meta_CopyObject()
488 rv = FUNCLIST(slot_session->fw_st_id)->C_CopyObject( in meta_CopyObject()
697 rv = FUNCLIST(slot_session->fw_st_id)->C_GetAttributeValue( in meta_GetAttributeValue()
770 rv = FUNCLIST(slot_session->fw_st_id)->\ in meta_SetAttributeValue()
814 rv = FUNCLIST(slot_session->fw_st_id)->\ in meta_SetAttributeValue()
850 (void) FUNCLIST( in meta_SetAttributeValue()
1041 rv = FUNCLIST(fw_st_id)->C_FindObjectsInit(hSession, in meta_search_for_objects()
1049 rv = FUNCLIST(fw_st_id)->C_FindObjects(hSession, tmp_results, in meta_search_for_objects()
[all …]
H A DmetaObjectManager.c313 rv = FUNCLIST(fw_st_id)->C_GetAttributeValue(hSession, hObject, in meta_object_get_attr()
373 rv = FUNCLIST(fw_st_id)->C_GetAttributeValue(hSession, hObject, in meta_object_get_attr()
574 rv = FUNCLIST(obj_session->fw_st_id)->\ in meta_object_dealloc()
781 rv = FUNCLIST(fw_st_id)->C_GetAttributeValue(hSession, in meta_object_copyin()
832 rv = FUNCLIST(fw_st_id)->C_GetAttributeValue(hSession, in meta_object_copyin()
956 rv = FUNCLIST(slot_session->fw_st_id)->C_CreateObject( in create_wrap_unwrap_key()
1002 rv = FUNCLIST(dst_slot_session->fw_st_id)->C_CreateObject( in clone_by_create()
1286 rv = FUNCLIST(src_slot_session->fw_st_id)->C_GetAttributeValue( in clone_by_wrap()
1338 rv = FUNCLIST(src_slot_session->fw_st_id)->C_WrapKey( in clone_by_wrap()
1353 rv = FUNCLIST(src_slot_session->fw_st_id)->C_WrapKey( in clone_by_wrap()
[all …]
H A Dpkcs11Rand.c73 rv = FUNCLIST(slotid)->C_SeedRandom(sessp->se_handle, pSeed, in C_SeedRandom()
127 rv = FUNCLIST(sessp->se_slotid)->C_GenerateRandom(sessp->se_handle, in C_GenerateRandom()
H A DmetaSlotToken.c108 rv = FUNCLIST(metaslot_keystore_slotid)->C_GetSlotInfo(true_id, in meta_GetSlotInfo()
148 rv = FUNCLIST(metaslot_keystore_slotid)->C_GetTokenInfo(true_id, in meta_GetTokenInfo()
399 rv = FUNCLIST(slot_session->fw_st_id)->C_SetPIN(slot_session->hSession, in meta_SetPIN()
H A DmetaMechManager.c347 rv = FUNCLIST(fw_st_id)->C_GetMechanismList(true_id, NULL, in meta_mechManager_update_slot()
361 rv = FUNCLIST(fw_st_id)->C_GetMechanismList(true_id, in meta_mechManager_update_slot()
471 rv = FUNCLIST(fw_st_id)->C_GetMechanismInfo(true_id, mech, &info); in update_slotmech()
H A Dpkcs11Slot.h112 #define FUNCLIST(slotID) (slottable->st_slots[(slotID)]->sl_func_list) macro
H A DmetaAttrManager.c59 rv = FUNCLIST(session->fw_st_id)->C_GetAttributeValue( in get_master_attributes_by_object()
86 rv = FUNCLIST(session->fw_st_id)->C_GetAttributeValue( in get_master_attributes_by_object()
H A DmetaSessionManager.c275 rv = FUNCLIST(slotsessp->fw_st_id)->C_Logout( in meta_session_deactivate()