Home
last modified time | relevance | path

Searched refs:hash_later (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/crypto/qce/
Dsha.c191 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.6.21/drivers/crypto/
Dsahara.c893 unsigned int hash_later; in sahara_sha_prepare_request() local
917 hash_later = rctx->last ? 0 : len & (block_size - 1); in sahara_sha_prepare_request()
918 if (hash_later) { in sahara_sha_prepare_request()
919 unsigned int offset = req->nbytes - hash_later; in sahara_sha_prepare_request()
922 hash_later, 0); in sahara_sha_prepare_request()
925 rctx->total = len - hash_later; in sahara_sha_prepare_request()
942 rctx->buf_cnt = hash_later; in sahara_sha_prepare_request()
Domap-sham.c851 int hash_later; in omap_sham_prepare_request() local
888 hash_later = nbytes - rctx->total; in omap_sham_prepare_request()
889 if (hash_later < 0) in omap_sham_prepare_request()
890 hash_later = 0; in omap_sham_prepare_request()
892 if (hash_later && hash_later <= rctx->buflen) { in omap_sham_prepare_request()
895 req->nbytes - hash_later, in omap_sham_prepare_request()
896 hash_later, 0); in omap_sham_prepare_request()
898 rctx->bufcnt = hash_later; in omap_sham_prepare_request()
903 if (hash_later > rctx->buflen) in omap_sham_prepare_request()
Ds5p-sss.c1216 int xmit_len, hash_later, nbytes; in s5p_hash_prepare_request() local
1249 hash_later = 0; in s5p_hash_prepare_request()
1256 hash_later = ctx->total - xmit_len; in s5p_hash_prepare_request()
1260 req->nbytes - hash_later, in s5p_hash_prepare_request()
1261 hash_later, 0); in s5p_hash_prepare_request()
1265 ret = s5p_hash_prepare_sgs(ctx, req->src, nbytes - hash_later, in s5p_hash_prepare_request()
1284 ctx->bufcnt = hash_later; in s5p_hash_prepare_request()