Home
last modified time | relevance | path

Searched refs:digsize (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/drivers/crypto/marvell/cesa/
Dhash.c167 unsigned int digsize; in mv_cesa_ahash_std_step() local
179 digsize = crypto_ahash_digestsize(crypto_ahash_reqtfm(req)); in mv_cesa_ahash_std_step()
180 for (i = 0; i < digsize / 4; i++) in mv_cesa_ahash_std_step()
357 unsigned int digsize; in mv_cesa_ahash_complete() local
360 digsize = crypto_ahash_digestsize(crypto_ahash_reqtfm(ahashreq)); in mv_cesa_ahash_complete()
372 for (i = 0; i < digsize / 4; i++) in mv_cesa_ahash_complete()
375 memcpy(ahashreq->result, data, digsize); in mv_cesa_ahash_complete()
377 for (i = 0; i < digsize / 4; i++) in mv_cesa_ahash_complete()
388 for (i = 0; i < digsize / 4; i++) in mv_cesa_ahash_complete()
393 for (i = 0; i < digsize / 4; i++) in mv_cesa_ahash_complete()
[all …]
/Linux-v5.15/drivers/crypto/
Dimg-hash.c88 size_t digsize; member
278 memcpy(req->result, ctx->digest, ctx->digsize); in img_hash_finish()
289 for (i = (ctx->digsize / sizeof(u32)) - 1; i >= 0; i--) in img_hash_copy_hash()
642 ctx->digsize = crypto_ahash_digestsize(tfm); in img_hash_digest()
644 switch (ctx->digsize) { in img_hash_digest()