Lines Matching refs:hashstate
1183 u8 *hashstate) in test_shash_vec_cfg() argument
1290 testmgr_poison(hashstate + statesize, in test_shash_vec_cfg()
1292 err = crypto_shash_export(desc, hashstate); in test_shash_vec_cfg()
1297 if (!testmgr_is_poison(hashstate + statesize, in test_shash_vec_cfg()
1304 err = crypto_shash_import(desc, hashstate); in test_shash_vec_cfg()
1367 u8 *hashstate) in test_ahash_vec_cfg() argument
1469 testmgr_poison(hashstate + statesize, in test_ahash_vec_cfg()
1471 err = crypto_ahash_export(req, hashstate); in test_ahash_vec_cfg()
1477 if (!testmgr_is_poison(hashstate + statesize, in test_ahash_vec_cfg()
1485 err = crypto_ahash_import(req, hashstate); in test_ahash_vec_cfg()
1534 u8 *hashstate) in test_hash_vec_cfg() argument
1546 hashstate); in test_hash_vec_cfg()
1552 hashstate); in test_hash_vec_cfg()
1558 u8 *hashstate) in test_hash_vec() argument
1569 req, desc, tsgl, hashstate); in test_hash_vec()
1583 req, desc, tsgl, hashstate); in test_hash_vec()
1645 u8 *hashstate) in test_hash_vs_generic_impl() argument
1739 req, desc, tsgl, hashstate); in test_hash_vs_generic_impl()
1761 u8 *hashstate) in test_hash_vs_generic_impl() argument
1810 u8 *hashstate = NULL; in __alg_test_hash() local
1856 hashstate = kmalloc(statesize + TESTMGR_POISON_LEN, GFP_KERNEL); in __alg_test_hash()
1857 if (!hashstate) { in __alg_test_hash()
1866 hashstate); in __alg_test_hash()
1872 desc, tsgl, hashstate); in __alg_test_hash()
1874 kfree(hashstate); in __alg_test_hash()