Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/drivers/crypto/aspeed/
Daspeed-hace-hash.c303 memcpy(req->result, rctx->digest, rctx->digsize); in aspeed_ahash_transfer()
366 memcpy(rctx->buffer + rctx->block_size, rctx->digest, rctx->digsize); in aspeed_ahash_hmac_resume()
368 rctx->bufcnt = rctx->block_size + rctx->digsize; in aspeed_ahash_hmac_resume()
369 rctx->digcnt[0] = rctx->block_size + rctx->digsize; in aspeed_ahash_hmac_resume()
680 rctx->digsize = SHA1_DIGEST_SIZE; in aspeed_sham_init()
689 rctx->digsize = SHA224_DIGEST_SIZE; in aspeed_sham_init()
698 rctx->digsize = SHA256_DIGEST_SIZE; in aspeed_sham_init()
708 rctx->digsize = SHA384_DIGEST_SIZE; in aspeed_sham_init()
718 rctx->digsize = SHA512_DIGEST_SIZE; in aspeed_sham_init()
Daspeed-hace.h188 size_t digsize; member
/linux-6.12.1/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(*hash)) - 1; i >= 0; i--) in img_hash_copy_hash()
646 ctx->digsize = crypto_ahash_digestsize(tfm); in img_hash_digest()
648 switch (ctx->digsize) { in img_hash_digest()
/linux-6.12.1/drivers/crypto/starfive/
Djh7110-cryp.h222 unsigned int digsize; member
Djh7110-hash.c175 mlen = rctx->digsize / sizeof(u32); in starfive_hash_copy_hash()
336 rctx->digsize = crypto_ahash_digestsize(tfm); in starfive_hash_digest()