Lines Matching refs:hashstate
1300 u8 *hashstate) in test_shash_vec_cfg() argument
1407 testmgr_poison(hashstate + statesize, in test_shash_vec_cfg()
1409 err = crypto_shash_export(desc, hashstate); in test_shash_vec_cfg()
1414 if (!testmgr_is_poison(hashstate + statesize, in test_shash_vec_cfg()
1421 err = crypto_shash_import(desc, hashstate); in test_shash_vec_cfg()
1483 u8 *hashstate) in test_ahash_vec_cfg() argument
1585 testmgr_poison(hashstate + statesize, in test_ahash_vec_cfg()
1587 err = crypto_ahash_export(req, hashstate); in test_ahash_vec_cfg()
1593 if (!testmgr_is_poison(hashstate + statesize, in test_ahash_vec_cfg()
1601 err = crypto_ahash_import(req, hashstate); in test_ahash_vec_cfg()
1649 u8 *hashstate) in test_hash_vec_cfg() argument
1661 hashstate); in test_hash_vec_cfg()
1666 return test_ahash_vec_cfg(vec, vec_name, cfg, req, tsgl, hashstate); in test_hash_vec_cfg()
1671 struct test_sglist *tsgl, u8 *hashstate) in test_hash_vec() argument
1682 req, desc, tsgl, hashstate); in test_hash_vec()
1699 req, desc, tsgl, hashstate); in test_hash_vec()
1761 u8 *hashstate) in test_hash_vs_generic_impl() argument
1860 req, desc, tsgl, hashstate); in test_hash_vs_generic_impl()
1881 u8 *hashstate) in test_hash_vs_generic_impl() argument
1930 u8 *hashstate = NULL; in __alg_test_hash() local
1979 hashstate = kmalloc(statesize + TESTMGR_POISON_LEN, GFP_KERNEL); in __alg_test_hash()
1980 if (!hashstate) { in __alg_test_hash()
1991 err = test_hash_vec(&vecs[i], i, req, desc, tsgl, hashstate); in __alg_test_hash()
1997 desc, tsgl, hashstate); in __alg_test_hash()
1999 kfree(hashstate); in __alg_test_hash()