Home
last modified time | relevance | path

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

/Linux-v6.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-v6.1/drivers/crypto/aspeed/
Daspeed-hace-hash.c314 memcpy(req->result, rctx->digest, rctx->digsize); in aspeed_ahash_transfer()
377 memcpy(rctx->buffer + rctx->block_size, rctx->digest, rctx->digsize); in aspeed_ahash_hmac_resume()
379 rctx->bufcnt = rctx->block_size + rctx->digsize; in aspeed_ahash_hmac_resume()
380 rctx->digcnt[0] = rctx->block_size + rctx->digsize; in aspeed_ahash_hmac_resume()
687 rctx->digsize = SHA1_DIGEST_SIZE; in aspeed_sham_init()
696 rctx->digsize = SHA224_DIGEST_SIZE; in aspeed_sham_init()
705 rctx->digsize = SHA256_DIGEST_SIZE; in aspeed_sham_init()
715 rctx->digsize = SHA384_DIGEST_SIZE; in aspeed_sham_init()
725 rctx->digsize = SHA512_DIGEST_SIZE; in aspeed_sham_init()
771 rctx->digsize = SHA224_DIGEST_SIZE; in aspeed_sha512s_init()
[all …]
Daspeed-hace.h200 size_t digsize; member
/Linux-v6.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(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()