Lines Matching refs:final
562 size_t length, int final) in atmel_sha_xmit_cpu() argument
569 ctx->digcnt[1], ctx->digcnt[0], length, final); in atmel_sha_xmit_cpu()
578 if (final) in atmel_sha_xmit_cpu()
592 size_t length1, dma_addr_t dma_addr2, size_t length2, int final) in atmel_sha_xmit_pdc() argument
598 ctx->digcnt[1], ctx->digcnt[0], length1, final); in atmel_sha_xmit_pdc()
616 if (final) in atmel_sha_xmit_pdc()
638 size_t length1, dma_addr_t dma_addr2, size_t length2, int final) in atmel_sha_xmit_dma() argument
645 ctx->digcnt[1], ctx->digcnt[0], length1, final); in atmel_sha_xmit_dma()
680 if (final) in atmel_sha_xmit_dma()
693 size_t length1, dma_addr_t dma_addr2, size_t length2, int final) in atmel_sha_xmit_start() argument
697 dma_addr2, length2, final); in atmel_sha_xmit_start()
700 dma_addr2, length2, final); in atmel_sha_xmit_start()
718 size_t length, int final) in atmel_sha_xmit_dma_map() argument
731 return atmel_sha_xmit_start(dd, ctx->dma_addr, length, 0, 0, final); in atmel_sha_xmit_dma_map()
737 unsigned int final; in atmel_sha_update_dma_slow() local
742 final = (ctx->flags & SHA_FLAGS_FINUP) && !ctx->total; in atmel_sha_update_dma_slow()
745 ctx->bufcnt, ctx->digcnt[1], ctx->digcnt[0], final); in atmel_sha_update_dma_slow()
747 if (final) in atmel_sha_update_dma_slow()
750 if (final || (ctx->bufcnt == ctx->buflen)) { in atmel_sha_update_dma_slow()
753 return atmel_sha_xmit_dma_map(dd, ctx, count, final); in atmel_sha_update_dma_slow()
762 unsigned int length, final, tail; in atmel_sha_update_dma_start() local
797 final = (ctx->flags & SHA_FLAGS_FINUP) && !ctx->total; in atmel_sha_update_dma_start()
800 if (final) { in atmel_sha_update_dma_start()
824 0, final); in atmel_sha_update_dma_start()
838 length, ctx->dma_addr, count, final); in atmel_sha_update_dma_start()
851 0, final); in atmel_sha_update_dma_start()
1266 alg->final = atmel_sha_final; in atmel_sha_alg_init()
2029 alg->final = atmel_sha_final; in atmel_sha_hmac_alg_init()