Lines Matching refs:hashstate
1224 u8 *hashstate) in test_shash_vec_cfg() argument
1332 testmgr_poison(hashstate + statesize, in test_shash_vec_cfg()
1334 err = crypto_shash_export(desc, hashstate); in test_shash_vec_cfg()
1339 if (!testmgr_is_poison(hashstate + statesize, in test_shash_vec_cfg()
1346 err = crypto_shash_import(desc, hashstate); in test_shash_vec_cfg()
1408 u8 *hashstate) in test_ahash_vec_cfg() argument
1511 testmgr_poison(hashstate + statesize, in test_ahash_vec_cfg()
1513 err = crypto_ahash_export(req, hashstate); in test_ahash_vec_cfg()
1519 if (!testmgr_is_poison(hashstate + statesize, in test_ahash_vec_cfg()
1527 err = crypto_ahash_import(req, hashstate); in test_ahash_vec_cfg()
1575 u8 *hashstate) in test_hash_vec_cfg() argument
1587 hashstate); in test_hash_vec_cfg()
1592 return test_ahash_vec_cfg(vec, vec_name, cfg, req, tsgl, hashstate); in test_hash_vec_cfg()
1597 struct test_sglist *tsgl, u8 *hashstate) in test_hash_vec() argument
1608 req, desc, tsgl, hashstate); in test_hash_vec()
1622 req, desc, tsgl, hashstate); in test_hash_vec()
1683 u8 *hashstate) in test_hash_vs_generic_impl() argument
1778 req, desc, tsgl, hashstate); in test_hash_vs_generic_impl()
1799 u8 *hashstate) in test_hash_vs_generic_impl() argument
1848 u8 *hashstate = NULL; in __alg_test_hash() local
1895 hashstate = kmalloc(statesize + TESTMGR_POISON_LEN, GFP_KERNEL); in __alg_test_hash()
1896 if (!hashstate) { in __alg_test_hash()
1907 err = test_hash_vec(&vecs[i], i, req, desc, tsgl, hashstate); in __alg_test_hash()
1913 desc, tsgl, hashstate); in __alg_test_hash()
1915 kfree(hashstate); in __alg_test_hash()