Home
last modified time | relevance | path

Searched refs:statesize (Results 1 – 8 of 8) sorted by relevance

/linux-4.19.296/include/crypto/
Dhash.h49 unsigned int statesize; member
195 unsigned int statesize; member
349 return crypto_hash_alg_common(tfm)->statesize; in crypto_ahash_statesize()
761 return crypto_shash_alg(tfm)->statesize; in crypto_shash_statesize()
/linux-4.19.296/crypto/
Dhmac.c206 ss = salg->statesize; in hmac_create()
227 inst->alg.statesize = ss; in hmac_create()
Dahash.c564 alg->halg.statesize > PAGE_SIZE / 8 || in ahash_prepare_alg()
565 alg->halg.statesize == 0) in ahash_prepare_alg()
Dshash.c483 alg->statesize > PAGE_SIZE / 8) in shash_prepare_alg()
497 alg->statesize = alg->descsize; in shash_prepare_alg()
Dmcryptd.c524 inst->alg.halg.statesize = halg->statesize; in mcryptd_create_hash()
Dmd5.c229 .statesize = sizeof(struct md5_state),
Dtestmgr.c197 int statesize, ret = -EINVAL; in ahash_partial_update() local
202 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()
Dcryptd.c905 inst->alg.halg.statesize = salg->statesize; in cryptd_create_hash()