Lines Matching refs:inlen
33 const u8 *in, size_t inlen, in __blake2s_update() argument
38 if (unlikely(!inlen)) in __blake2s_update()
40 if (inlen > fill) { in __blake2s_update()
45 inlen -= fill; in __blake2s_update()
47 if (inlen > BLAKE2S_BLOCK_SIZE) { in __blake2s_update()
48 const size_t nblocks = DIV_ROUND_UP(inlen, BLAKE2S_BLOCK_SIZE); in __blake2s_update()
52 inlen -= BLAKE2S_BLOCK_SIZE * (nblocks - 1); in __blake2s_update()
54 memcpy(state->buf + state->buflen, in, inlen); in __blake2s_update()
55 state->buflen += inlen; in __blake2s_update()
101 const u8 *in, unsigned int inlen, in crypto_blake2s_update() argument
106 __blake2s_update(state, in, inlen, compress); in crypto_blake2s_update()