Searched refs:slot_session (Results 1 – 6 of 6) sorted by relevance
/titanic_41/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaObject.c | 117 slot_session_t *slot_session = NULL; in meta_CreateObject() local 206 rv = meta_get_slot_session(slot_num, &slot_session, in meta_CreateObject() 212 rv = FUNCLIST(slot_session->fw_st_id)->C_CreateObject( in meta_CreateObject() 213 slot_session->hSession, pTemplate, ulCount, &hNewObject); in meta_CreateObject() 237 rv = meta_get_slot_session(slot_num, &slot_session, in meta_CreateObject() 243 rv = FUNCLIST(slot_session->fw_st_id)->C_CreateObject( in meta_CreateObject() 244 slot_session->hSession, pTemplate, ulCount, in meta_CreateObject() 256 meta_release_slot_session(slot_session); in meta_CreateObject() 257 slot_session = NULL; in meta_CreateObject() 271 meta_slot_object_activate(slot_object, slot_session, in meta_CreateObject() [all …]
|
H A D | metaSession.c | 220 slot_session_t *slot_session; in meta_getopstatelen() local 225 slot_session = session->op1.session; in meta_getopstatelen() 226 rv = FUNCLIST(slot_session->fw_st_id)->C_GetOperationState( in meta_getopstatelen() 227 slot_session->hSession, NULL, &length); in meta_getopstatelen() 244 slot_session_t *slot_session = NULL; in meta_GetOperationState() local 309 slot_session = session->op1.session; in meta_GetOperationState() 311 opstate.state[0].op_slotnum = slot_session->slotnum; in meta_GetOperationState() 316 rv = FUNCLIST(slot_session->fw_st_id)->C_GetOperationState( in meta_GetOperationState() 317 slot_session->hSession, in meta_GetOperationState() 350 meta_set_opstate(slot_session_t *slot_session, in meta_set_opstate() argument [all …]
|
H A D | metaObjectManager.c | 275 meta_object_get_attr(slot_session_t *slot_session, CK_OBJECT_HANDLE hObject, in meta_object_get_attr() argument 285 CK_SESSION_HANDLE hSession = slot_session->hSession; in meta_object_get_attr() 286 CK_SLOT_ID fw_st_id = slot_session->fw_st_id; in meta_object_get_attr() 877 create_wrap_unwrap_key(slot_session_t *slot_session, CK_OBJECT_HANDLE *hObject, in create_wrap_unwrap_key() argument 952 rv = FUNCLIST(slot_session->fw_st_id)->C_CreateObject( in create_wrap_unwrap_key() 953 slot_session->hSession, template, i + 1, hObject); in create_wrap_unwrap_key() 1516 CK_ULONG slot_num, slot_session_t *slot_session, in meta_object_get_clone() argument 1575 rv = clone_by_wrap(object, newclone, slot_session); in meta_object_get_clone() 1577 rv = clone_by_create(object, newclone, slot_session); in meta_object_get_clone() 1585 meta_slot_object_activate(newclone, slot_session, object->isToken); in meta_object_get_clone() [all …]
|
H A D | metaSlotToken.c | 383 slot_session_t *slot_session; in meta_SetPIN() local 394 rv = meta_get_slot_session(get_keystore_slotnum(), &slot_session, in meta_SetPIN() 401 rv = FUNCLIST(slot_session->fw_st_id)->C_SetPIN(slot_session->hSession, in meta_SetPIN() 404 meta_release_slot_session(slot_session); in meta_SetPIN()
|
H A D | metaUtil.c | 516 slot_session_t *slot_session = NULL; in meta_do_operation() local 604 slot_session = session->op1.session; in meta_do_operation() 606 if (slot_session) { in meta_do_operation() 607 hSession = slot_session->hSession; in meta_do_operation() 608 fw_st_id = slot_session->fw_st_id; in meta_do_operation() 650 slot_session->slotnum, slot_session, &slot_object); in meta_do_operation()
|
H A D | metaGlobal.h | 635 CK_RV meta_object_get_attr(slot_session_t *slot_session, 649 CK_ULONG slot_num, slot_session_t *slot_session,
|