Lines Matching refs:buf_used
49 unsigned int buf_used; member
197 state->buf_used = 0; in CRYPTO_poly1305_init()
213 if (state->buf_used) { in CRYPTO_poly1305_update()
214 unsigned todo = 16 - state->buf_used; in CRYPTO_poly1305_update()
219 state->buf[state->buf_used + i] = in[i]; in CRYPTO_poly1305_update()
221 state->buf_used += todo; in CRYPTO_poly1305_update()
225 if (state->buf_used == 16) { in CRYPTO_poly1305_update()
227 state->buf_used = 0; in CRYPTO_poly1305_update()
242 state->buf_used = (unsigned)in_len; in CRYPTO_poly1305_update()
259 if (state->buf_used) { in CRYPTO_poly1305_finish()
260 poly1305_update(state, state->buf, state->buf_used); in CRYPTO_poly1305_finish()