Lines Matching refs:inlen
26 const u8 *in, size_t inlen, in __blake2b_update() argument
31 if (unlikely(!inlen)) in __blake2b_update()
33 if (inlen > fill) { in __blake2b_update()
38 inlen -= fill; in __blake2b_update()
40 if (inlen > BLAKE2B_BLOCK_SIZE) { in __blake2b_update()
41 const size_t nblocks = DIV_ROUND_UP(inlen, BLAKE2B_BLOCK_SIZE); in __blake2b_update()
45 inlen -= BLAKE2B_BLOCK_SIZE * (nblocks - 1); in __blake2b_update()
47 memcpy(state->buf + state->buflen, in, inlen); in __blake2b_update()
48 state->buflen += inlen; in __blake2b_update()
97 const u8 *in, unsigned int inlen, in crypto_blake2b_update() argument
102 __blake2b_update(state, in, inlen, compress); in crypto_blake2b_update()