Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/mediatek/
Dmtk-sha.c49 #define SHA_FLAGS_FINUP BIT(2) macro
494 final = (ctx->flags & SHA_FLAGS_FINUP) && !ctx->total; in mtk_sha_update_slow()
537 if (!(ctx->flags & SHA_FLAGS_FINUP)) { in mtk_sha_update_start()
547 final = (ctx->flags & SHA_FLAGS_FINUP) && !ctx->total; in mtk_sha_update_start()
689 if (err != -EINPROGRESS && (ctx->flags & SHA_FLAGS_FINUP)) in mtk_sha_handle_queue()
755 !(ctx->flags & SHA_FLAGS_FINUP)) in mtk_sha_update()
765 ctx->flags |= SHA_FLAGS_FINUP; in mtk_sha_final()
778 ctx->flags |= SHA_FLAGS_FINUP; in mtk_sha_finup()
/Linux-v5.10/drivers/crypto/
Datmel-sha.c56 #define SHA_FLAGS_FINUP BIT(16) macro
742 final = (ctx->flags & SHA_FLAGS_FINUP) && !ctx->total; in atmel_sha_update_dma_slow()
787 if (!(ctx->flags & SHA_FLAGS_FINUP)) { in atmel_sha_update_dma_start()
797 final = (ctx->flags & SHA_FLAGS_FINUP) && !ctx->total; in atmel_sha_update_dma_start()
1134 if (!err && (ctx->flags & SHA_FLAGS_FINUP)) in atmel_sha_start()
1172 if (ctx->flags & SHA_FLAGS_FINUP) { in atmel_sha_update()
1187 ctx->flags |= SHA_FLAGS_FINUP; in atmel_sha_final()
1204 ctx->flags |= SHA_FLAGS_FINUP; in atmel_sha_finup()