Lines Matching refs:salt
201 const void *salt, in fido2_use_hmac_hash_specific_token() argument
220 assert(salt); in fido2_use_hmac_hash_specific_token()
262 r = sym_fido_assert_set_hmac_salt(a, salt, salt_size); in fido2_use_hmac_hash_specific_token()
470 const void *salt, in fido2_use_hmac_hash() argument
488 …return fido2_use_hmac_hash_specific_token(device, rp_id, salt, salt_size, cid, cid_size, pins, req… in fido2_use_hmac_hash()
523 …r = fido2_use_hmac_hash_specific_token(path, rp_id, salt, salt_size, cid, cid_size, pins, required… in fido2_use_hmac_hash()
556 _cleanup_(erase_and_freep) void *salt = NULL, *secret_copy = NULL; in fido2_generate_hmac_hash()
595 salt = malloc(FIDO2_SALT_SIZE); in fido2_generate_hmac_hash()
596 if (!salt) in fido2_generate_hmac_hash()
599 r = genuine_random_bytes(salt, FIDO2_SALT_SIZE, RANDOM_BLOCK); in fido2_generate_hmac_hash()
761 r = sym_fido_assert_set_hmac_salt(a, salt, FIDO2_SALT_SIZE); in fido2_generate_hmac_hash()
909 *ret_salt = TAKE_PTR(salt); in fido2_generate_hmac_hash()