Home
last modified time | relevance | path

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

/linux/fs/verity/
H A Dhash_algs.c108 if (!params->hashstate) { in fsverity_hash_block()
116 ctx.sha256 = params->hashstate->sha256; in fsverity_hash_block()
121 ctx.sha512 = params->hashstate->sha512; in fsverity_hash_block()
H A Dverify.c357 sha256_finup_2x(params->hashstate ? &params->hashstate->sha256 : in fsverity_verify_pending_blocks()
/linux/crypto/
H A Dtestmgr.c1293 u8 *hashstate) in test_shash_vec_cfg() argument
1400 testmgr_poison(hashstate + statesize, in test_shash_vec_cfg()
1402 err = crypto_shash_export(desc, hashstate); in test_shash_vec_cfg()
1407 if (!testmgr_is_poison(hashstate + statesize, in test_shash_vec_cfg()
1414 err = crypto_shash_import(desc, hashstate); in test_shash_vec_cfg()
1476 u8 *hashstate) in test_ahash_vec_cfg() argument
1578 testmgr_poison(hashstate + statesize, in test_ahash_vec_cfg()
1580 err = crypto_ahash_export(req, hashstate); in test_ahash_vec_cfg()
1586 if (!testmgr_is_poison(hashstate + statesize, in test_ahash_vec_cfg()
1594 err = crypto_ahash_import(req, hashstate); in test_ahash_vec_cfg()
[all …]