Lines Matching refs:hashstate
1180 u8 *hashstate) in test_shash_vec_cfg() argument
1287 testmgr_poison(hashstate + statesize, in test_shash_vec_cfg()
1289 err = crypto_shash_export(desc, hashstate); in test_shash_vec_cfg()
1294 if (!testmgr_is_poison(hashstate + statesize, in test_shash_vec_cfg()
1301 err = crypto_shash_import(desc, hashstate); in test_shash_vec_cfg()
1364 u8 *hashstate) in test_ahash_vec_cfg() argument
1466 testmgr_poison(hashstate + statesize, in test_ahash_vec_cfg()
1468 err = crypto_ahash_export(req, hashstate); in test_ahash_vec_cfg()
1474 if (!testmgr_is_poison(hashstate + statesize, in test_ahash_vec_cfg()
1482 err = crypto_ahash_import(req, hashstate); in test_ahash_vec_cfg()
1531 u8 *hashstate) in test_hash_vec_cfg() argument
1543 hashstate); in test_hash_vec_cfg()
1549 hashstate); in test_hash_vec_cfg()
1555 u8 *hashstate) in test_hash_vec() argument
1566 req, desc, tsgl, hashstate); in test_hash_vec()
1580 req, desc, tsgl, hashstate); in test_hash_vec()
1642 u8 *hashstate) in test_hash_vs_generic_impl() argument
1736 req, desc, tsgl, hashstate); in test_hash_vs_generic_impl()
1758 u8 *hashstate) in test_hash_vs_generic_impl() argument
1807 u8 *hashstate = NULL; in __alg_test_hash() local
1853 hashstate = kmalloc(statesize + TESTMGR_POISON_LEN, GFP_KERNEL); in __alg_test_hash()
1854 if (!hashstate) { in __alg_test_hash()
1863 hashstate); in __alg_test_hash()
1869 desc, tsgl, hashstate); in __alg_test_hash()
1871 kfree(hashstate); in __alg_test_hash()