Home
last modified time | relevance | path

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

/drivers/crypto/qce/
Dsha.c189 unsigned int hash_later; in qce_ahash_update() local
218 hash_later = total % blocksize; in qce_ahash_update()
235 if (!hash_later) in qce_ahash_update()
236 hash_later = blocksize; in qce_ahash_update()
238 if (hash_later) { in qce_ahash_update()
239 unsigned int src_offset = req->nbytes - hash_later; in qce_ahash_update()
241 hash_later, 0); in qce_ahash_update()
245 nbytes = total - hash_later; in qce_ahash_update()
269 rctx->buflen = hash_later; in qce_ahash_update()
/drivers/crypto/
Dsahara.c894 unsigned int hash_later; in sahara_sha_prepare_request() local
918 hash_later = rctx->last ? 0 : len & (block_size - 1); in sahara_sha_prepare_request()
919 if (hash_later) { in sahara_sha_prepare_request()
920 unsigned int offset = req->nbytes - hash_later; in sahara_sha_prepare_request()
923 hash_later, 0); in sahara_sha_prepare_request()
926 rctx->total = len - hash_later; in sahara_sha_prepare_request()
943 rctx->buf_cnt = hash_later; in sahara_sha_prepare_request()
Domap-sham.c856 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()
Ds5p-sss.c1217 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()