Home
last modified time | relevance | path

Searched refs:buf_used (Results 1 – 6 of 6) sorted by relevance

/external/boringssl/src/crypto/poly1305/
Dpoly1305_arm.c181 unsigned int buf_used; member
207 st->buf_used = 0; in CRYPTO_poly1305_init_neon()
219 if (st->buf_used) { in CRYPTO_poly1305_update_neon()
220 unsigned int todo = 32 - st->buf_used; in CRYPTO_poly1305_update_neon()
225 st->buf[st->buf_used + i] = in[i]; in CRYPTO_poly1305_update_neon()
227 st->buf_used += todo; in CRYPTO_poly1305_update_neon()
231 if (st->buf_used == sizeof(st->buf) && in_len) { in CRYPTO_poly1305_update_neon()
237 st->buf_used = 0; in CRYPTO_poly1305_update_neon()
255 st->buf_used = in_len; in CRYPTO_poly1305_update_neon()
268 if (st->buf_used > 16) { in CRYPTO_poly1305_finish_neon()
[all …]
Dpoly1305.c49 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()
[all …]
/external/boringssl/src/ssl/
Dssl_privkey.cc651 size_t buf_used = 0; in parse_sigalgs_list() local
666 if (buf_used == 0) { in parse_sigalgs_list()
671 buf[buf_used] = 0; in parse_sigalgs_list()
687 buf_used = 0; in parse_sigalgs_list()
693 if (buf_used == 0) { in parse_sigalgs_list()
699 buf[buf_used] = 0; in parse_sigalgs_list()
752 buf_used = 0; in parse_sigalgs_list()
756 if (buf_used == sizeof(buf) - 1) { in parse_sigalgs_list()
764 buf[buf_used++] = c; in parse_sigalgs_list()
/external/selinux/libsepol/src/
Dservices.c321 int len, buf_used; in get_class_info() local
332 buf_used = 0; in get_class_info()
336 len = snprintf(p, class_buf_len - buf_used, "%s", statements[state_num]); in get_class_info()
337 if (len < 0 || len >= class_buf_len - buf_used) in get_class_info()
342 buf_used += len; in get_class_info()
343 len = snprintf(p, class_buf_len - buf_used, "%s ", in get_class_info()
345 if (len < 0 || len >= class_buf_len - buf_used) in get_class_info()
350 buf_used += len; in get_class_info()
352 len = snprintf(p, class_buf_len - buf_used, "{%s } (", in get_class_info()
356 len = snprintf(p, class_buf_len - buf_used, "("); in get_class_info()
[all …]
/external/e2fsprogs/misc/
Dbadblocks.c758 unsigned long buf_used; in test_nd() local
829 buf_used = 0; in test_nd()
845 got = try = granularity - buf_used; in test_nd()
890 buf_used += got; in test_nd()
908 if ((buf_used != granularity) && in test_nd()
972 buf_used = 0; in test_nd()
/external/iproute2/misc/
Dss.c527 int buf_used = 0; in find_entry() local
540 ptr = *buf + buf_used; in find_entry()
543 len = snprintf(ptr, buf_len - buf_used, in find_entry()
548 len = snprintf(ptr, buf_len - buf_used, in find_entry()
554 len = snprintf(ptr, buf_len - buf_used, in find_entry()
565 if (len < 0 || len >= buf_len - buf_used) { in find_entry()
576 buf_used += len; in find_entry()
584 if (buf_used) { in find_entry()
585 ptr = *buf + buf_used; in find_entry()