Searched refs:digcnt (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/drivers/crypto/ |
D | atmel-sha.c | 94 u64 digcnt[2]; member 366 size[0] = ctx->digcnt[0]; in atmel_sha_fill_padding() 367 size[1] = ctx->digcnt[1]; in atmel_sha_fill_padding() 466 ctx->digcnt[0] = 0; in atmel_sha_init() 467 ctx->digcnt[1] = 0; in atmel_sha_init() 520 if (!(ctx->digcnt[0] || ctx->digcnt[1])) { in atmel_sha_write_ctrl() 569 ctx->digcnt[1], ctx->digcnt[0], length, final); in atmel_sha_xmit_cpu() 574 ctx->digcnt[0] += length; in atmel_sha_xmit_cpu() 575 if (ctx->digcnt[0] < length) in atmel_sha_xmit_cpu() 576 ctx->digcnt[1]++; in atmel_sha_xmit_cpu() [all …]
|
D | omap-sham.c | 150 size_t digcnt; member 394 if (likely(ctx->digcnt)) in omap_sham_write_ctrl_omap2() 395 omap_sham_write(dd, SHA_REG_DIGCNT(dd), ctx->digcnt); in omap_sham_write_ctrl_omap2() 406 if (!ctx->digcnt) in omap_sham_write_ctrl_omap2() 463 if (likely(ctx->digcnt)) in omap_sham_write_ctrl_omap4() 464 omap_sham_write(dd, SHA_REG_DIGCNT(dd), ctx->digcnt); in omap_sham_write_ctrl_omap4() 472 if (!ctx->digcnt) { in omap_sham_write_ctrl_omap4() 488 ctx->digcnt += bs; in omap_sham_write_ctrl_omap4() 533 ctx->digcnt, length, final); in omap_sham_xmit_cpu() 539 ctx->digcnt += length; in omap_sham_xmit_cpu() [all …]
|
D | s5p-sss.c | 358 u64 digcnt; member 944 if (likely(ctx->digcnt)) { in s5p_hash_write_ctrl() 954 tmplen = ctx->digcnt * 8; in s5p_hash_write_ctrl() 1001 ctx->digcnt += length; in s5p_hash_xmit_dma() 1317 if (ctx->digcnt) in s5p_hash_finish() 1320 dev_dbg(dd->dev, "hash_finish digcnt: %lld\n", ctx->digcnt); in s5p_hash_finish() 1416 if (ctx->digcnt) in s5p_hash_handle_queue() 1555 if (!ctx->digcnt && ctx->bufcnt < BUFLEN) { in s5p_hash_final() 1608 ctx->digcnt = 0; in s5p_hash_init()
|
/Linux-v5.10/drivers/crypto/axis/ |
D | artpec6_crypto.c | 296 u64 digcnt; member 307 u64 digcnt; member 1446 req_ctx->digcnt += ready_bytes; in artpec6_crypto_prepare_hash() 1473 req_ctx->digcnt += req_ctx->partial_bytes; in artpec6_crypto_prepare_hash() 1478 digest_bits = 8 * (req_ctx->digcnt + blocksize); in artpec6_crypto_prepare_hash() 1480 digest_bits = 8 * req_ctx->digcnt; in artpec6_crypto_prepare_hash() 1484 req_ctx->digcnt, digest_bits); in artpec6_crypto_prepare_hash() 1489 req_ctx->digcnt = 0; in artpec6_crypto_prepare_hash() 2443 state->digcnt = ctx->digcnt; in artpec6_crypto_hash_export() 2469 ctx->digcnt = state->digcnt; in artpec6_crypto_hash_import()
|
/Linux-v5.10/drivers/crypto/mediatek/ |
D | mtk-sha.c | 79 u64 digcnt; member 243 u64 size = ctx->digcnt; in mtk_sha_fill_padding() 333 if (ctx->digcnt) in mtk_sha_info_update() 336 ctx->digcnt += len1; in mtk_sha_info_update() 407 ctx->digcnt = 0; in mtk_sha_init()
|
/Linux-v5.10/drivers/crypto/stm32/ |
D | stm32-hash.c | 129 size_t digcnt; member 692 rctx->digcnt = crypto_ahash_digestsize(tfm); in stm32_hash_init() 693 switch (rctx->digcnt) { in stm32_hash_init() 784 memcpy(req->result, rctx->digest, rctx->digcnt); in stm32_hash_finish()
|