Searched refs:pin_size (Results 1 – 3 of 3) sorted by relevance
/optee_os-3.20.0/ta/pkcs11/src/ |
A D | pkcs11_token.c | 819 uint32_t pin_size = 0; in entry_ck_token_initialize() local 890 if (pin_size < PKCS11_TOKEN_PIN_SIZE_MIN || in entry_ck_token_initialize() 891 pin_size > PKCS11_TOKEN_PIN_SIZE_MAX) in entry_ck_token_initialize() 894 rc = hash_pin(PKCS11_CKU_SO, pin, pin_size, in entry_ck_token_initialize() 903 rc = verify_pin(PKCS11_CKU_SO, pin, pin_size, in entry_ck_token_initialize() 1042 uint32_t pin_size = 0; in entry_ck_init_pin() local 1076 uint8_t *pin, size_t pin_size) in check_so_pin() argument 1134 uint8_t *pin, size_t pin_size) in check_user_pin() argument 1204 uint32_t pin_size = 0; in entry_ck_set_pin() local 1352 uint32_t pin_size = 0; in entry_ck_login() local [all …]
|
A D | persistent_token.c | 75 size_t pin_size, uint32_t salt, in do_hash() argument 88 res = TEE_DigestDoFinal(oh, pin, pin_size, hash, &sz); in do_hash() 99 size_t pin_size, uint32_t *salt, in hash_pin() argument 109 rc = do_hash(user, pin, pin_size, s, hash); in hash_pin() 116 size_t pin_size, uint32_t salt, in verify_pin() argument 122 rc = do_hash(user, pin, pin_size, salt, tmp_hash); in verify_pin() 156 size_t pin_size) in setup_identity_auth_from_pin() argument 180 acl_string = TEE_Malloc(pin_size + 1, TEE_MALLOC_FILL_ZERO); in setup_identity_auth_from_pin() 183 TEE_MemMove(acl_string, pin, pin_size); in setup_identity_auth_from_pin()
|
A D | pkcs11_token.h | 219 size_t pin_size, uint32_t *salt, 222 size_t pin_size, uint32_t salt, 230 size_t pin_size); 244 size_t pin_size __unused) in setup_identity_auth_from_pin()
|
Completed in 7 milliseconds