Lines Matching refs:hashstate

1275 			      u8 *hashstate)  in test_shash_vec_cfg()  argument
1383 testmgr_poison(hashstate + statesize, in test_shash_vec_cfg()
1385 err = crypto_shash_export(desc, hashstate); in test_shash_vec_cfg()
1390 if (!testmgr_is_poison(hashstate + statesize, in test_shash_vec_cfg()
1397 err = crypto_shash_import(desc, hashstate); in test_shash_vec_cfg()
1459 u8 *hashstate) in test_ahash_vec_cfg() argument
1562 testmgr_poison(hashstate + statesize, in test_ahash_vec_cfg()
1564 err = crypto_ahash_export(req, hashstate); in test_ahash_vec_cfg()
1570 if (!testmgr_is_poison(hashstate + statesize, in test_ahash_vec_cfg()
1578 err = crypto_ahash_import(req, hashstate); in test_ahash_vec_cfg()
1626 u8 *hashstate) in test_hash_vec_cfg() argument
1638 hashstate); in test_hash_vec_cfg()
1643 return test_ahash_vec_cfg(vec, vec_name, cfg, req, tsgl, hashstate); in test_hash_vec_cfg()
1648 struct test_sglist *tsgl, u8 *hashstate) in test_hash_vec() argument
1659 req, desc, tsgl, hashstate); in test_hash_vec()
1676 req, desc, tsgl, hashstate); in test_hash_vec()
1738 u8 *hashstate) in test_hash_vs_generic_impl() argument
1837 req, desc, tsgl, hashstate); in test_hash_vs_generic_impl()
1858 u8 *hashstate) in test_hash_vs_generic_impl() argument
1907 u8 *hashstate = NULL; in __alg_test_hash() local
1954 hashstate = kmalloc(statesize + TESTMGR_POISON_LEN, GFP_KERNEL); in __alg_test_hash()
1955 if (!hashstate) { in __alg_test_hash()
1966 err = test_hash_vec(&vecs[i], i, req, desc, tsgl, hashstate); in __alg_test_hash()
1972 desc, tsgl, hashstate); in __alg_test_hash()
1974 kfree(hashstate); in __alg_test_hash()