/titanic_41/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | pkcs11Session.c | 84 rv = FUNCLIST(fw_st_id)->C_OpenSession(true_id, flags, in C_OpenSession() 108 FUNCLIST(slotID)->C_CloseSession(prov_sess); in C_OpenSession() 140 rv = FUNCLIST(sessp->se_slotid)->C_CloseSession(sessp->se_handle); in C_CloseSession() 202 rv = FUNCLIST(fw_st_id)->C_CloseAllSessions(true_id); in C_CloseAllSessions() 217 rv1 = FUNCLIST(fw_st_id)-> in C_CloseAllSessions() 286 rv = FUNCLIST(slot_id)-> in C_GetSessionInfo() 330 rv = FUNCLIST(sessp->se_slotid)->C_GetOperationState(sessp->se_handle, in C_GetOperationState() 373 rv = FUNCLIST(sessp->se_slotid)->C_SetOperationState(sessp->se_handle, in C_SetOperationState() 415 rv = FUNCLIST(sessp->se_slotid)->C_Login(sessp->se_handle, in C_Login() 452 rv = FUNCLIST(sessp->se_slotid)->C_Logout(sessp->se_handle); in C_Logout()
|
H A D | pkcs11Object.c | 66 rv = FUNCLIST(sessp->se_slotid)->C_CreateObject(sessp->se_handle, in C_CreateObject() 107 rv = FUNCLIST(sessp->se_slotid)->C_CopyObject(sessp->se_handle, in C_CopyObject() 145 rv = FUNCLIST(sessp->se_slotid)->C_DestroyObject(sessp->se_handle, in C_DestroyObject() 185 rv = FUNCLIST(sessp->se_slotid)->C_GetAttributeValue(sessp->se_handle, in C_GetAttributeValue() 226 rv = FUNCLIST(sessp->se_slotid)->C_SetAttributeValue(sessp->se_handle, in C_SetAttributeValue() 266 rv = FUNCLIST(sessp->se_slotid)->C_GetObjectSize(sessp->se_handle, in C_GetObjectSize() 306 rv = FUNCLIST(sessp->se_slotid)->C_FindObjectsInit(sessp->se_handle, in C_FindObjectsInit() 348 rv = FUNCLIST(sessp->se_slotid)->C_FindObjects(sessp->se_handle, in C_FindObjects() 386 rv = FUNCLIST(sessp->se_slotid)->C_FindObjectsFinal(sessp->se_handle); in C_FindObjectsFinal()
|
H A D | metaUtil.c | 242 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 D | pkcs11Crypt.c | 80 rv = FUNCLIST(slotid)->C_EncryptInit(sessp->se_handle, in C_EncryptInit() 123 rv = FUNCLIST(sessp->se_slotid)->C_Encrypt(sessp->se_handle, pData, in C_Encrypt() 166 rv = FUNCLIST(sessp->se_slotid)->C_EncryptUpdate(sessp->se_handle, in C_EncryptUpdate() 207 rv = FUNCLIST(sessp->se_slotid)->C_EncryptFinal(sessp->se_handle, in C_EncryptFinal() 263 rv = FUNCLIST(slotid)->C_DecryptInit(sessp->se_handle, in C_DecryptInit() 306 rv = FUNCLIST(sessp->se_slotid)->C_Decrypt(sessp->se_handle, in C_Decrypt() 349 rv = FUNCLIST(sessp->se_slotid)->C_DecryptUpdate(sessp->se_handle, in C_DecryptUpdate() 390 rv = FUNCLIST(sessp->se_slotid)->C_DecryptFinal(sessp->se_handle, in C_DecryptFinal()
|
H A D | pkcs11Sign.c | 79 rv = FUNCLIST(slotid)->C_SignInit(sessp->se_handle, in C_SignInit() 122 rv = FUNCLIST(sessp->se_slotid)->C_Sign(sessp->se_handle, pData, in C_Sign() 161 rv = FUNCLIST(sessp->se_slotid)->C_SignUpdate(sessp->se_handle, pPart, in C_SignUpdate() 202 rv = FUNCLIST(sessp->se_slotid)->C_SignFinal(sessp->se_handle, in C_SignFinal() 257 rv = FUNCLIST(slotid)->C_SignRecoverInit(sessp->se_handle, in C_SignRecoverInit() 297 rv = FUNCLIST(sessp->se_slotid)->C_SignRecover(sessp->se_handle, pData, in C_SignRecover()
|
H A D | pkcs11Verify.c | 78 rv = FUNCLIST(slotid)->C_VerifyInit(sessp->se_handle, in C_VerifyInit() 119 rv = FUNCLIST(sessp->se_slotid)->C_Verify(sessp->se_handle, pData, in C_Verify() 160 rv = FUNCLIST(sessp->se_slotid)->C_VerifyUpdate(sessp->se_handle, in C_VerifyUpdate() 199 rv = FUNCLIST(sessp->se_slotid)->C_VerifyFinal(sessp->se_handle, in C_VerifyFinal() 255 rv = FUNCLIST(slotid)->C_VerifyRecoverInit(sessp->se_handle, in C_VerifyRecoverInit() 297 rv = FUNCLIST(sessp->se_slotid)->C_VerifyRecover(sessp->se_handle, in C_VerifyRecover()
|
H A D | metaSlotManager.c | 162 (void) FUNCLIST(session->fw_st_id)->C_CloseSession( in meta_slotManager_finalize() 173 (void) FUNCLIST(session->fw_st_id)->C_CloseSession( in meta_slotManager_finalize() 242 rv = FUNCLIST(fw_st_id)->C_GetSlotInfo(true_id, in meta_slotManager_find_object_token() 258 rv = FUNCLIST(fw_st_id)->C_GetSlotInfo(true_id, in meta_slotManager_find_object_token() 287 rv = FUNCLIST(fw_st_id)->C_GetTokenInfo(true_id, in meta_slotManager_find_object_token() 319 rv = FUNCLIST(fw_st_id)->C_GetTokenInfo(true_id, in meta_slotManager_find_object_token() 498 rv = FUNCLIST(fw_st_id)->C_OpenSession(true_id, flags, NULL, NULL, in meta_get_slot_session() 504 rv = FUNCLIST(fw_st_id)->C_OpenSession(true_id, in meta_get_slot_session() 573 (void) FUNCLIST(session->fw_st_id)->C_CloseSession(session->hSession); in meta_release_slot_session()
|
H A D | pkcs11Digest.c | 78 rv = FUNCLIST(slotid)->C_DigestInit(sessp->se_handle, in C_DigestInit() 119 rv = FUNCLIST(sessp->se_slotid)->C_Digest(sessp->se_handle, pData, in C_Digest() 160 rv = FUNCLIST(sessp->se_slotid)->C_DigestUpdate(sessp->se_handle, in C_DigestUpdate() 198 rv = FUNCLIST(sessp->se_slotid)->C_DigestKey(sessp->se_handle, hKey); in C_DigestKey() 237 rv = FUNCLIST(sessp->se_slotid)->C_DigestFinal(sessp->se_handle, in C_DigestFinal()
|
H A D | pkcs11DualCrypt.c | 67 rv = FUNCLIST(sessp->se_slotid)-> in C_DigestEncryptUpdate() 113 rv = FUNCLIST(sessp->se_slotid)-> in C_DecryptDigestUpdate() 158 rv = FUNCLIST(sessp->se_slotid)-> in C_SignEncryptUpdate() 203 rv = FUNCLIST(sessp->se_slotid)-> in C_DecryptVerifyUpdate()
|
H A D | pkcs11Keys.c | 78 rv = FUNCLIST(slotid)->C_GenerateKey(sessp->se_handle, in C_GenerateKey() 138 rv = FUNCLIST(slotid)->C_GenerateKeyPair(sessp->se_handle, in C_GenerateKeyPair() 196 rv = FUNCLIST(slotid)->C_WrapKey(sessp->se_handle, in C_WrapKey() 253 rv = FUNCLIST(slotid)->C_UnwrapKey(sessp->se_handle, in C_UnwrapKey() 309 rv = FUNCLIST(slotid)->C_DeriveKey(sessp->se_handle, in C_DeriveKey()
|
H A D | pkcs11SlotToken.c | 101 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 D | metaSession.c | 226 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 D | metaObject.c | 212 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 D | metaObjectManager.c | 312 rv = FUNCLIST(fw_st_id)->C_GetAttributeValue(hSession, hObject, in meta_object_get_attr() 372 rv = FUNCLIST(fw_st_id)->C_GetAttributeValue(hSession, hObject, in meta_object_get_attr() 573 rv = FUNCLIST(obj_session->fw_st_id)->\ in meta_object_dealloc() 778 rv = FUNCLIST(fw_st_id)->C_GetAttributeValue(hSession, in meta_object_copyin() 829 rv = FUNCLIST(fw_st_id)->C_GetAttributeValue(hSession, in meta_object_copyin() 952 rv = FUNCLIST(slot_session->fw_st_id)->C_CreateObject( in create_wrap_unwrap_key() 998 rv = FUNCLIST(dst_slot_session->fw_st_id)->C_CreateObject( in clone_by_create() 1282 rv = FUNCLIST(src_slot_session->fw_st_id)->C_GetAttributeValue( in clone_by_wrap() 1334 rv = FUNCLIST(src_slot_session->fw_st_id)->C_WrapKey( in clone_by_wrap() 1349 rv = FUNCLIST(src_slot_session->fw_st_id)->C_WrapKey( in clone_by_wrap() [all …]
|
H A D | pkcs11Rand.c | 75 rv = FUNCLIST(slotid)->C_SeedRandom(sessp->se_handle, pSeed, in C_SeedRandom() 129 rv = FUNCLIST(sessp->se_slotid)->C_GenerateRandom(sessp->se_handle, in C_GenerateRandom()
|
H A D | metaSlotToken.c | 110 rv = FUNCLIST(metaslot_keystore_slotid)->C_GetSlotInfo(true_id, in meta_GetSlotInfo() 150 rv = FUNCLIST(metaslot_keystore_slotid)->C_GetTokenInfo(true_id, in meta_GetTokenInfo() 401 rv = FUNCLIST(slot_session->fw_st_id)->C_SetPIN(slot_session->hSession, in meta_SetPIN()
|
H A D | metaMechManager.c | 349 rv = FUNCLIST(fw_st_id)->C_GetMechanismList(true_id, NULL, in meta_mechManager_update_slot() 363 rv = FUNCLIST(fw_st_id)->C_GetMechanismList(true_id, in meta_mechManager_update_slot() 473 rv = FUNCLIST(fw_st_id)->C_GetMechanismInfo(true_id, mech, &info); in update_slotmech()
|
H A D | pkcs11Slot.h | 114 #define FUNCLIST(slotID) (slottable->st_slots[(slotID)]->sl_func_list) macro
|
H A D | metaAttrManager.c | 58 rv = FUNCLIST(session->fw_st_id)->C_GetAttributeValue( in get_master_attributes_by_object() 85 rv = FUNCLIST(session->fw_st_id)->C_GetAttributeValue( in get_master_attributes_by_object()
|
H A D | metaSessionManager.c | 275 rv = FUNCLIST(slotsessp->fw_st_id)->C_Logout( in meta_session_deactivate()
|