/titanic_50/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaSlotManager.c | 111 slots[i].fw_st_id = i + 1; in meta_slotManager_initialize() 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() 236 CK_SLOT_ID true_id, fw_st_id; in meta_slotManager_find_object_token() local 238 fw_st_id = slots[slot].fw_st_id; in meta_slotManager_find_object_token() 239 true_id = TRUEID(fw_st_id); in meta_slotManager_find_object_token() 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() [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() 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() 333 CK_SLOT_ID fw_st_id; in meta_operation_init_softtoken() local [all …]
|
H A D | pkcs11Session.c | 49 CK_SLOT_ID fw_st_id; /* id for accessing framework's slottable */ in C_OpenSession() local 79 if (pkcs11_validate_and_convert_slotid(slotID, &fw_st_id) in C_OpenSession() 83 true_id = TRUEID(fw_st_id); in C_OpenSession() 84 rv = FUNCLIST(fw_st_id)->C_OpenSession(true_id, flags, in C_OpenSession() 102 rv = pkcs11_session_add(slottable->st_slots[fw_st_id], in C_OpenSession() 103 fw_st_id, phSession, prov_sess); in C_OpenSession() 170 CK_SLOT_ID fw_st_id; /* id for accessing framework's slottable */ in C_CloseAllSessions() local 195 if (pkcs11_validate_and_convert_slotid(slotID, &fw_st_id) != CKR_OK) { in C_CloseAllSessions() 199 slotp = slottable->st_slots[fw_st_id]; in C_CloseAllSessions() 200 true_id = TRUEID(fw_st_id); in C_CloseAllSessions() [all …]
|
H A D | pkcs11SlotToken.c | 138 CK_SLOT_ID fw_st_id; /* id for accessing framework's slottable */ in C_GetSlotInfo() local 154 if (pkcs11_validate_and_convert_slotid(slotID, &fw_st_id) != CKR_OK) { in C_GetSlotInfo() 158 rv = FUNCLIST(fw_st_id)->C_GetSlotInfo(TRUEID(fw_st_id), pInfo); in C_GetSlotInfo() 172 CK_SLOT_ID fw_st_id; /* id for accessing framework's slottable */ in C_GetTokenInfo() local 188 if (pkcs11_validate_and_convert_slotid(slotID, &fw_st_id) != CKR_OK) { in C_GetTokenInfo() 192 rv = FUNCLIST(fw_st_id)->C_GetTokenInfo(TRUEID(fw_st_id), pInfo); in C_GetTokenInfo() 590 CK_SLOT_ID fw_st_id; /* id for accessing framework's slottable */ in C_GetMechanismList() local 610 if (pkcs11_validate_and_convert_slotid(slotID, &fw_st_id) != CKR_OK) { in C_GetMechanismList() 615 true_id = fw_st_id; in C_GetMechanismList() 619 true_id = TRUEID(fw_st_id); in C_GetMechanismList() [all …]
|
H A D | metaMechManager.c | 342 CK_SLOT_ID fw_st_id, true_id; in meta_mechManager_update_slot() local 345 fw_st_id = meta_slotManager_get_framework_table_id(slotnum); in meta_mechManager_update_slot() 346 true_id = TRUEID(fw_st_id); in meta_mechManager_update_slot() 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() 383 if (pkcs11_is_dismech(fw_st_id, tmp_slot_mechlist[i])) { in meta_mechManager_update_slot() 450 CK_SLOT_ID fw_st_id, true_id; in update_slotmech() local 453 fw_st_id = meta_slotManager_get_framework_table_id(slotnum); in update_slotmech() 454 true_id = TRUEID(fw_st_id); in update_slotmech() 461 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 | 286 CK_SLOT_ID fw_st_id = slot_session->fw_st_id; in meta_object_get_attr() local 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() 726 CK_SLOT_ID fw_st_id; in meta_object_copyin() local 775 fw_st_id = session->fw_st_id; in meta_object_copyin() 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() [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 | 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()
|
H A D | metaSlotToken.c | 401 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
|