Home
last modified time | relevance | path

Searched refs:next_buflen (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/crypto/caam/
Dcaamhash.c793 int *next_buflen = alt_buflen(state), last_buflen; in ahash_update_ctx() local
800 last_buflen = *next_buflen; in ahash_update_ctx()
801 *next_buflen = in_len & (blocksize - 1); in ahash_update_ctx()
802 to_hash = in_len - *next_buflen; in ahash_update_ctx()
810 (*next_buflen == 0)) { in ahash_update_ctx()
811 *next_buflen = blocksize; in ahash_update_ctx()
817 int src_len = req->nbytes - *next_buflen; in ahash_update_ctx()
871 if (*next_buflen) in ahash_update_ctx()
874 *next_buflen, 0); in ahash_update_ctx()
900 } else if (*next_buflen) { in ahash_update_ctx()
[all …]
Dcaamalg_qi2.c3470 int *next_buflen = alt_buflen(state), last_buflen; in ahash_update_ctx() local
3476 last_buflen = *next_buflen; in ahash_update_ctx()
3477 *next_buflen = in_len & (crypto_tfm_alg_blocksize(&ahash->base) - 1); in ahash_update_ctx()
3478 to_hash = in_len - *next_buflen; in ahash_update_ctx()
3482 int src_len = req->nbytes - *next_buflen; in ahash_update_ctx()
3527 if (*next_buflen) in ahash_update_ctx()
3530 *next_buflen, 0); in ahash_update_ctx()
3565 } else if (*next_buflen) { in ahash_update_ctx()
3568 *buflen = *next_buflen; in ahash_update_ctx()
3569 *next_buflen = last_buflen; in ahash_update_ctx()
[all …]