Searched refs:hash_later (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/drivers/crypto/qce/ |
| D | sha.c | 234 unsigned int hash_later; in qce_ahash_update() local 263 hash_later = total % blocksize; in qce_ahash_update() 264 if (hash_later) { in qce_ahash_update() 265 unsigned int src_offset = req->nbytes - hash_later; in qce_ahash_update() 267 hash_later, 0); in qce_ahash_update() 271 nbytes = total - hash_later; in qce_ahash_update() 297 rctx->buflen = hash_later; in qce_ahash_update()
|
| /Linux-v5.4/drivers/crypto/ |
| D | omap-sham.c | 815 int xmit_len, hash_later; in omap_sham_prepare_request() local 859 hash_later = rctx->total - xmit_len; in omap_sham_prepare_request() 860 if (hash_later < 0) in omap_sham_prepare_request() 861 hash_later = 0; in omap_sham_prepare_request() 883 if (hash_later) { in omap_sham_prepare_request() 886 if (hash_later > req->nbytes) { in omap_sham_prepare_request() 888 hash_later - req->nbytes); in omap_sham_prepare_request() 889 offset = hash_later - req->nbytes; in omap_sham_prepare_request() 896 hash_later, hash_later, 0); in omap_sham_prepare_request() 899 rctx->bufcnt = hash_later; in omap_sham_prepare_request()
|
| D | sahara.c | 928 unsigned int hash_later; in sahara_sha_prepare_request() local 952 hash_later = rctx->last ? 0 : len & (block_size - 1); in sahara_sha_prepare_request() 953 if (hash_later) { in sahara_sha_prepare_request() 954 unsigned int offset = req->nbytes - hash_later; in sahara_sha_prepare_request() 957 hash_later, 0); in sahara_sha_prepare_request() 961 req->nbytes = req->nbytes - hash_later; in sahara_sha_prepare_request() 993 rctx->buf_cnt = hash_later; in sahara_sha_prepare_request()
|
| D | s5p-sss.c | 1218 int xmit_len, hash_later, nbytes; in s5p_hash_prepare_request() local 1251 hash_later = 0; in s5p_hash_prepare_request() 1258 hash_later = ctx->total - xmit_len; in s5p_hash_prepare_request() 1262 req->nbytes - hash_later, in s5p_hash_prepare_request() 1263 hash_later, 0); in s5p_hash_prepare_request() 1267 ret = s5p_hash_prepare_sgs(ctx, req->src, nbytes - hash_later, in s5p_hash_prepare_request() 1286 ctx->bufcnt = hash_later; in s5p_hash_prepare_request()
|