Searched refs:hash_later (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/drivers/crypto/qce/ |
A D | sha.c | 191 unsigned int hash_later; in qce_ahash_update() local 220 hash_later = total % blocksize; in qce_ahash_update() 237 if (!hash_later) in qce_ahash_update() 238 hash_later = blocksize; in qce_ahash_update() 240 if (hash_later) { in qce_ahash_update() 241 unsigned int src_offset = req->nbytes - hash_later; in qce_ahash_update() 243 hash_later, 0); in qce_ahash_update() 247 nbytes = total - hash_later; in qce_ahash_update() 271 rctx->buflen = hash_later; in qce_ahash_update()
|
/linux-6.3-rc2/drivers/crypto/ |
A D | omap-sham.c | 856 int hash_later; in omap_sham_prepare_request() local 893 hash_later = nbytes - rctx->total; in omap_sham_prepare_request() 894 if (hash_later < 0) in omap_sham_prepare_request() 895 hash_later = 0; in omap_sham_prepare_request() 897 if (hash_later && hash_later <= rctx->buflen) { in omap_sham_prepare_request() 900 req->nbytes - hash_later, in omap_sham_prepare_request() 901 hash_later, 0); in omap_sham_prepare_request() 903 rctx->bufcnt = hash_later; in omap_sham_prepare_request() 908 if (hash_later > rctx->buflen) in omap_sham_prepare_request()
|
A D | sahara.c | 916 unsigned int hash_later; in sahara_sha_prepare_request() local 940 hash_later = rctx->last ? 0 : len & (block_size - 1); in sahara_sha_prepare_request() 941 if (hash_later) { in sahara_sha_prepare_request() 942 unsigned int offset = req->nbytes - hash_later; in sahara_sha_prepare_request() 945 hash_later, 0); in sahara_sha_prepare_request() 949 req->nbytes = req->nbytes - hash_later; in sahara_sha_prepare_request() 981 rctx->buf_cnt = hash_later; in sahara_sha_prepare_request()
|
A D | s5p-sss.c | 1217 int xmit_len, hash_later, nbytes; in s5p_hash_prepare_request() local 1250 hash_later = 0; in s5p_hash_prepare_request() 1257 hash_later = ctx->total - xmit_len; in s5p_hash_prepare_request() 1261 req->nbytes - hash_later, in s5p_hash_prepare_request() 1262 hash_later, 0); in s5p_hash_prepare_request() 1266 ret = s5p_hash_prepare_sgs(ctx, req->src, nbytes - hash_later, in s5p_hash_prepare_request() 1285 ctx->bufcnt = hash_later; in s5p_hash_prepare_request()
|
Completed in 23 milliseconds