Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/marvell/cesa/
H A Dhash.c167 unsigned int digsize; in mv_cesa_ahash_std_step() local
180 for (i = 0; i < digsize / 4; i++) in mv_cesa_ahash_std_step()
357 unsigned int digsize; in mv_cesa_ahash_complete() local
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()
845 unsigned int digsize = crypto_ahash_digestsize(ahash); in mv_cesa_ahash_export() local
851 memcpy(hash, creq->state, digsize); in mv_cesa_ahash_export()
[all …]
/openbmc/linux/drivers/crypto/aspeed/
H A 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()
H A Daspeed-hace.h188 size_t digsize; member
/openbmc/linux/drivers/crypto/
H A 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()
/openbmc/linux/drivers/crypto/starfive/
H A Djh7110-cryp.h217 unsigned int digsize; member
H A Djh7110-hash.c208 mlen = rctx->digsize / sizeof(u32); in starfive_hash_copy_hash()
368 rctx->digsize = crypto_ahash_digestsize(tfm); in starfive_hash_digest()