Searched refs:statesize (Results 1 – 8 of 8) sorted by relevance
49 unsigned int statesize; member195 unsigned int statesize; member349 return crypto_hash_alg_common(tfm)->statesize; in crypto_ahash_statesize()761 return crypto_shash_alg(tfm)->statesize; in crypto_shash_statesize()
206 ss = salg->statesize; in hmac_create()227 inst->alg.statesize = ss; in hmac_create()
564 alg->halg.statesize > PAGE_SIZE / 8 || in ahash_prepare_alg()565 alg->halg.statesize == 0) in ahash_prepare_alg()
483 alg->statesize > PAGE_SIZE / 8) in shash_prepare_alg()497 alg->statesize = alg->descsize; in shash_prepare_alg()
524 inst->alg.halg.statesize = halg->statesize; in mcryptd_create_hash()
229 .statesize = sizeof(struct md5_state),
197 int statesize, ret = -EINVAL; in ahash_partial_update() local202 statesize = crypto_ahash_statesize( in ahash_partial_update()204 state = kmalloc(statesize + sizeof(guard), GFP_KERNEL); in ahash_partial_update()209 memcpy(state + statesize, guard, sizeof(guard)); in ahash_partial_update()212 WARN_ON(memcmp(state + statesize, guard, sizeof(guard))); in ahash_partial_update()
905 inst->alg.halg.statesize = salg->statesize; in cryptd_create_hash()