Searched refs:tmp_hash (Results 1 – 2 of 2) sorted by relevance
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | lmots.c | 223 unsigned char tmp_hash[MBEDTLS_LMOTS_N_HASH_LEN_MAX]; in hash_digit_array() local 229 memcpy(tmp_hash, in hash_digit_array() 272 status = psa_hash_update(&op, tmp_hash, in hash_digit_array() 278 status = psa_hash_finish(&op, tmp_hash, sizeof(tmp_hash), in hash_digit_array() 288 tmp_hash, MBEDTLS_LMOTS_N_HASH_LEN(params->type)); in hash_digit_array() 293 mbedtls_platform_zeroize(tmp_hash, sizeof(tmp_hash)); in hash_digit_array()
|
| /optee_os/ta/pkcs11/src/ |
| H A D | persistent_token.c | 119 uint8_t tmp_hash[TEE_MAX_HASH_SIZE] = { 0 }; in verify_pin() local 122 rc = do_hash(user, pin, pin_size, salt, tmp_hash); in verify_pin() 126 if (buf_compare_ct(tmp_hash, hash, TEE_MAX_HASH_SIZE)) in verify_pin()
|