Lines Matching refs:hashstate
1093 u8 *hashstate) in test_shash_vec_cfg() argument
1199 testmgr_poison(hashstate + statesize, in test_shash_vec_cfg()
1201 err = crypto_shash_export(desc, hashstate); in test_shash_vec_cfg()
1206 if (!testmgr_is_poison(hashstate + statesize, in test_shash_vec_cfg()
1213 err = crypto_shash_import(desc, hashstate); in test_shash_vec_cfg()
1276 u8 *hashstate) in test_ahash_vec_cfg() argument
1377 testmgr_poison(hashstate + statesize, in test_ahash_vec_cfg()
1379 err = crypto_ahash_export(req, hashstate); in test_ahash_vec_cfg()
1385 if (!testmgr_is_poison(hashstate + statesize, in test_ahash_vec_cfg()
1393 err = crypto_ahash_import(req, hashstate); in test_ahash_vec_cfg()
1442 u8 *hashstate) in test_hash_vec_cfg() argument
1454 hashstate); in test_hash_vec_cfg()
1460 hashstate); in test_hash_vec_cfg()
1466 u8 *hashstate) in test_hash_vec() argument
1477 req, desc, tsgl, hashstate); in test_hash_vec()
1491 req, desc, tsgl, hashstate); in test_hash_vec()
1553 u8 *hashstate) in test_hash_vs_generic_impl() argument
1647 req, desc, tsgl, hashstate); in test_hash_vs_generic_impl()
1669 u8 *hashstate) in test_hash_vs_generic_impl() argument
1718 u8 *hashstate = NULL; in __alg_test_hash() local
1764 hashstate = kmalloc(statesize + TESTMGR_POISON_LEN, GFP_KERNEL); in __alg_test_hash()
1765 if (!hashstate) { in __alg_test_hash()
1774 hashstate); in __alg_test_hash()
1780 desc, tsgl, hashstate); in __alg_test_hash()
1782 kfree(hashstate); in __alg_test_hash()