/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaSlotManager.c | 109 slots[i].fw_st_id = i + 1; in meta_slotManager_initialize() 234 CK_SLOT_ID true_id, fw_st_id; in meta_slotManager_find_object_token() local 236 fw_st_id = slots[slot].fw_st_id; in meta_slotManager_find_object_token() 237 true_id = TRUEID(fw_st_id); in meta_slotManager_find_object_token() 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() 377 return (slots[slotnum].fw_st_id); in meta_slotManager_get_framework_table_id() 443 CK_SLOT_ID fw_st_id, true_id; in meta_get_slot_session() local 481 fw_st_id = slots[slotnum].fw_st_id; in meta_get_slot_session() 482 true_id = TRUEID(fw_st_id); in meta_get_slot_session() [all …]
|
H A D | metaUtil.c | 189 CK_SLOT_ID fw_st_id; in meta_operation_init() local 239 fw_st_id = init_session->fw_st_id; in meta_operation_init() 256 rv = FUNCLIST(fw_st_id)->C_SignInit( in meta_operation_init() 333 CK_SLOT_ID fw_st_id; in meta_operation_init_softtoken() local 417 fw_st_id = init_session->fw_st_id; in meta_operation_init_softtoken() 515 CK_SLOT_ID fw_st_id; in meta_do_operation() local 608 fw_st_id = slot_session->fw_st_id; in meta_do_operation() 767 CK_SLOT_ID fw_st_id; in meta_operation_cleanup() local 787 fw_st_id = op->session->fw_st_id; in meta_operation_cleanup() 1033 CK_SLOT_ID fw_st_id; in meta_generate_keys() local [all …]
|
H A D | pkcs11SlotToken.c | 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() 615 true_id = fw_st_id; in C_GetMechanismList() 619 true_id = TRUEID(fw_st_id); in C_GetMechanismList() 620 prov_funcs = FUNCLIST(fw_st_id); in C_GetMechanismList() 686 if (pkcs11_is_dismech(fw_st_id, pmech_list[i])) { in C_GetMechanismList() 749 true_id = fw_st_id; in C_GetMechanismInfo() 753 true_id = TRUEID(fw_st_id); in C_GetMechanismInfo() 754 prov_funcs = FUNCLIST(fw_st_id); in C_GetMechanismInfo() 758 if (pkcs11_is_dismech(fw_st_id, type)) { in C_GetMechanismInfo() [all …]
|
H A D | pkcs11Session.c | 47 CK_SLOT_ID fw_st_id; /* id for accessing framework's slottable */ in C_OpenSession() local 77 if (pkcs11_validate_and_convert_slotid(slotID, &fw_st_id) in C_OpenSession() 81 true_id = TRUEID(fw_st_id); in C_OpenSession() 82 rv = FUNCLIST(fw_st_id)->C_OpenSession(true_id, flags, in C_OpenSession() 100 rv = pkcs11_session_add(slottable->st_slots[fw_st_id], in C_OpenSession() 101 fw_st_id, phSession, prov_sess); in C_OpenSession() 168 CK_SLOT_ID fw_st_id; /* id for accessing framework's slottable */ in C_CloseAllSessions() local 197 slotp = slottable->st_slots[fw_st_id]; in C_CloseAllSessions() 198 true_id = TRUEID(fw_st_id); in C_CloseAllSessions() 200 rv = FUNCLIST(fw_st_id)->C_CloseAllSessions(true_id); in C_CloseAllSessions() [all …]
|
H A D | metaMechManager.c | 340 CK_SLOT_ID fw_st_id, true_id; in meta_mechManager_update_slot() local 343 fw_st_id = meta_slotManager_get_framework_table_id(slotnum); in meta_mechManager_update_slot() 344 true_id = TRUEID(fw_st_id); in meta_mechManager_update_slot() 347 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() 381 if (pkcs11_is_dismech(fw_st_id, tmp_slot_mechlist[i])) { in meta_mechManager_update_slot() 448 CK_SLOT_ID fw_st_id, true_id; in update_slotmech() local 451 fw_st_id = meta_slotManager_get_framework_table_id(slotnum); in update_slotmech() 452 true_id = TRUEID(fw_st_id); in update_slotmech() 459 if (pkcs11_is_dismech(fw_st_id, mech)) { in update_slotmech() [all …]
|
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() 515 CK_SLOT_ID true_id, fw_st_id; in meta_Login() local 538 fw_st_id = login_session->fw_st_id; in meta_Login() 539 rv = FUNCLIST(fw_st_id)->C_Login(login_session->hSession, userType, in meta_Login() 559 true_id = TRUEID(fw_st_id); 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 | metaObjectManager.c | 287 CK_SLOT_ID fw_st_id = slot_session->fw_st_id; in meta_object_get_attr() local 574 rv = FUNCLIST(obj_session->fw_st_id)->\ in meta_object_dealloc() 729 CK_SLOT_ID fw_st_id; in meta_object_copyin() local 778 fw_st_id = session->fw_st_id; in meta_object_copyin() 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() 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() 2088 rv = FUNCLIST(slot_session->fw_st_id)->\ in meta_freeobject_clone() 2117 rv = FUNCLIST(slot_session->fw_st_id)-> \ in meta_freeobject_clone() [all …]
|
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() 851 slot_session->fw_st_id)-> in meta_SetAttributeValue() 1039 CK_SLOT_ID fw_st_id = slot_session->fw_st_id; in meta_search_for_objects() local 1041 rv = FUNCLIST(fw_st_id)->C_FindObjectsInit(hSession, in meta_search_for_objects() [all …]
|
H A D | metaAttrManager.c | 59 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 D | metaSessionManager.c | 275 rv = FUNCLIST(slotsessp->fw_st_id)->C_Logout( in meta_session_deactivate()
|
H A D | metaSlotToken.c | 399 rv = FUNCLIST(slot_session->fw_st_id)->C_SetPIN(slot_session->hSession, in meta_SetPIN()
|
H A D | metaGlobal.h | 243 CK_SLOT_ID fw_st_id; /* used for accessing framework's slottable */ member 483 CK_SLOT_ID fw_st_id; /* framework slot table ID */ member
|