Home
last modified time | relevance | path

Searched refs:CK_SLOT_ID (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/external/security/rk_tee_user/v2/client_export/public/
H A Dpkcs11.h56 typedef CK_ULONG CK_SLOT_ID; typedef
57 typedef CK_SLOT_ID *CK_SLOT_ID_PTR;
652 CK_SLOT_ID slotID;
701 CK_RV (*C_GetSlotInfo)(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo);
702 CK_RV (*C_GetTokenInfo)(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo);
703 CK_RV (*C_GetMechanismList)(CK_SLOT_ID slotID,
706 CK_RV (*C_GetMechanismInfo)(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type,
708 CK_RV (*C_InitToken)(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin,
715 CK_RV (*C_OpenSession)(CK_SLOT_ID slotID, CK_FLAGS flags,
719 CK_RV (*C_CloseAllSessions)(CK_SLOT_ID slotID);
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/
H A Dpkcs11_1000.c82 static CK_RV init_lib_and_find_token_slot(CK_SLOT_ID *slot) in init_lib_and_find_token_slot()
101 slots = malloc(count * sizeof(CK_SLOT_ID)); in init_lib_and_find_token_slot()
162 CK_SLOT_ID max_slot_id = 0; in xtest_pkcs11_test_1001()
204 CK_SLOT_ID id = 0; in xtest_pkcs11_test_1001()
220 slot_ids = calloc(slot_count, sizeof(CK_SLOT_ID)); in xtest_pkcs11_test_1001()
237 CK_SLOT_ID slot = slot_ids[i]; in xtest_pkcs11_test_1001()
255 CK_SLOT_ID slot = slot_ids[i]; in xtest_pkcs11_test_1001()
293 CK_SLOT_ID slot = slot_ids[i]; in xtest_pkcs11_test_1001()
390 CK_SLOT_ID slot = 0; in xtest_pkcs11_test_1002()
527 static CK_RV init_test_token(CK_SLOT_ID slot) in init_test_token()
[all …]