Searched refs:statesize (Results 1 – 7 of 7) sorted by relevance
198 ss = salg->statesize; in hmac_create()213 inst->alg.statesize = ss; in hmac_create()
530 alg->statesize > HASH_MAX_STATESIZE) in shash_prepare_alg()547 alg->statesize = alg->descsize; in shash_prepare_alg()
573 alg->halg.statesize > HASH_MAX_STATESIZE || in ahash_prepare_alg()574 alg->halg.statesize == 0) in ahash_prepare_alg()
1182 const unsigned int statesize = crypto_shash_statesize(tfm); in test_shash_vec_cfg() local1285 testmgr_poison(hashstate + statesize, in test_shash_vec_cfg()1292 if (!testmgr_is_poison(hashstate + statesize, in test_shash_vec_cfg()1366 const unsigned int statesize = crypto_ahash_statesize(tfm); in test_ahash_vec_cfg() local1464 testmgr_poison(hashstate + statesize, in test_ahash_vec_cfg()1472 if (!testmgr_is_poison(hashstate + statesize, in test_ahash_vec_cfg()1802 unsigned int statesize; in __alg_test_hash() local1845 statesize = crypto_ahash_statesize(atfm); in __alg_test_hash()1847 statesize = max(statesize, crypto_shash_statesize(stfm)); in __alg_test_hash()1848 hashstate = kmalloc(statesize + TESTMGR_POISON_LEN, GFP_KERNEL); in __alg_test_hash()
226 .statesize = sizeof(struct md5_state),
670 inst->alg.halg.statesize = alg->statesize; in cryptd_create_hash()
488 polyval_alg->statesize * 2; in hctr2_create_common()