Searched refs:nv_token_data (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | new_host.c | 153 nv_token_data = &global_shm->nv_token_data; in ST_Initialize() 178 rc = load_token_data(hContext, nv_token_data); in ST_Initialize() 192 init_slot_info(nv_token_data); in ST_Initialize() 263 (void) memcpy(pInfo, &nv_token_data->token_info, in SC_GetTokenInfo() 472 nv_token_data->token_info.flags) == TRUE) { in SC_InitPIN() 484 flags = &nv_token_data->token_info.flags; in SC_InitPIN() 490 rc = save_token_data(nv_token_data); in SC_InitPIN() 529 nv_token_data->token_info.flags) == TRUE) { in SC_SetPIN() 768 flags = &nv_token_data->token_info.flags; in SC_Login() 838 rc = save_token_data(nv_token_data); in SC_Login() [all …]
|
H A D | obj_mgr.c | 424 &nv_token_data->next_token_object_name, 8); in object_mgr_add() 431 (void) memcpy(&nv_token_data->next_token_object_name, in object_mgr_add() 443 (void) save_token_data(nv_token_data); in object_mgr_add() 607 &nv_token_data->next_token_object_name, 8); in object_mgr_copy() 613 (void) memcpy(&nv_token_data->next_token_object_name, in object_mgr_copy() 626 (void) save_token_data(nv_token_data); in object_mgr_copy() 798 &nv_token_data->next_token_object_name, 8); in object_mgr_create_final() 804 (void) memcpy(&nv_token_data->next_token_object_name, in object_mgr_create_final() 817 (void) save_token_data(nv_token_data); in object_mgr_create_final()
|
H A D | utility.c | 355 slot_info.hardwareVersion = nv_token_data->token_info.hardwareVersion; in init_slot_info() 356 slot_info.firmwareVersion = nv_token_data->token_info.firmwareVersion; in init_slot_info() 414 (void) memset((char *)td, 0, sizeof (nv_token_data)); in init_token_data()
|
H A D | tpm_specific.c | 672 result = token_get_tpm_info(*hContext, nv_token_data); in token_specific_init() 1839 nv_token_data->token_info.flags &= in token_specific_set_pin() 1841 nv_token_data->token_info.flags |= in token_specific_set_pin() 1844 nv_token_data->token_info.flags &= in token_specific_set_pin() 1846 nv_token_data->token_info.flags |= in token_specific_set_pin() 1849 return (save_token_data(nv_token_data)); in token_specific_set_pin() 1890 nv_token_data->token_info.flags &= in token_specific_set_pin() 1893 return (save_token_data(nv_token_data)); in token_specific_set_pin()
|
H A D | globals.c | 30 TOKEN_DATA *nv_token_data = NULL; variable
|
H A D | key.c | 507 if (nv_token_data->tweak_vector.allow_key_mods == TRUE) in publ_key_validate_attribute() 738 if (nv_token_data->tweak_vector.allow_key_mods == TRUE) in priv_key_validate_attribute() 1031 if (nv_token_data->tweak_vector.allow_key_mods == TRUE) in secret_key_validate_attribute()
|
H A D | tpmtok_int.h | 413 TOKEN_DATA nv_token_data; member 530 extern TOKEN_DATA *nv_token_data;
|