Searched refs:next_buflen (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/crypto/caam/ |
H A D | caamhash.c | 784 int *next_buflen = state->current_buf ? &state->buflen_0 : ahash_update_ctx() local 795 last_buflen = *next_buflen; ahash_update_ctx() 796 *next_buflen = in_len & (crypto_tfm_alg_blocksize(&ahash->base) - 1); ahash_update_ctx() 797 to_hash = in_len - *next_buflen; ahash_update_ctx() 800 src_nents = __sg_count(req->src, req->nbytes - (*next_buflen), ahash_update_ctx() 838 if (*next_buflen) { ahash_update_ctx() 841 *next_buflen, 0); ahash_update_ctx() 881 } else if (*next_buflen) { ahash_update_ctx() 884 *buflen = *next_buflen; ahash_update_ctx() 885 *next_buflen = last_buflen; ahash_update_ctx() 892 *next_buflen, 1); ahash_update_ctx() 1225 int *next_buflen = state->current_buf ? &state->buflen_0 : ahash_update_no_ctx() local 1236 *next_buflen = in_len & (crypto_tfm_alg_blocksize(&ahash->base) - 1); ahash_update_no_ctx() 1237 to_hash = in_len - *next_buflen; ahash_update_no_ctx() 1240 src_nents = __sg_count(req->src, req->nbytes - (*next_buflen), ahash_update_no_ctx() 1268 if (*next_buflen) { ahash_update_no_ctx() 1271 *next_buflen, 0); ahash_update_no_ctx() 1311 } else if (*next_buflen) { ahash_update_no_ctx() 1314 *buflen = *next_buflen; ahash_update_no_ctx() 1315 *next_buflen = 0; ahash_update_no_ctx() 1322 *next_buflen, 1); ahash_update_no_ctx() 1423 int *next_buflen = state->current_buf ? ahash_update_first() local 1436 *next_buflen = req->nbytes & (crypto_tfm_alg_blocksize(&ahash->base) - ahash_update_first() 1438 to_hash = req->nbytes - *next_buflen; ahash_update_first() 1441 src_nents = sg_count(req->src, req->nbytes - (*next_buflen), ahash_update_first() 1484 if (*next_buflen) ahash_update_first() 1486 *next_buflen, 0); ahash_update_first() 1517 } else if (*next_buflen) { ahash_update_first() 1527 *next_buflen, 1); ahash_update_first()
|
Completed in 52 milliseconds