Home
last modified time | relevance | path

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

/openbmc/linux/fs/verity/
H A Dhash_algs.c116 u8 *padded_salt = NULL; in fsverity_prepare_hash_state() local
137 padded_salt = kzalloc(padded_salt_size, GFP_KERNEL); in fsverity_prepare_hash_state()
138 if (!padded_salt) { in fsverity_prepare_hash_state()
142 memcpy(padded_salt, salt, salt_size); in fsverity_prepare_hash_state()
147 err = crypto_shash_update(desc, padded_salt, padded_salt_size); in fsverity_prepare_hash_state()
155 kfree(padded_salt); in fsverity_prepare_hash_state()