Home
last modified time | relevance | path

Searched refs:datlen (Results 1 – 8 of 8) sorted by relevance

/external/libevent/
Dbuffer.c146 size_t datlen);
323 evbuffer_chain_insert_new(struct evbuffer *buf, size_t datlen) in evbuffer_chain_insert_new() argument
326 if ((chain = evbuffer_chain_new(datlen)) == NULL) in evbuffer_chain_insert_new()
1031 evbuffer_remove(struct evbuffer *buf, void *data_out, size_t datlen) in evbuffer_remove() argument
1035 n = evbuffer_copyout(buf, data_out, datlen); in evbuffer_remove()
1045 evbuffer_copyout(struct evbuffer *buf, void *data_out, size_t datlen) in evbuffer_copyout() argument
1057 if (datlen >= buf->total_len) in evbuffer_copyout()
1058 datlen = buf->total_len; in evbuffer_copyout()
1060 if (datlen == 0) in evbuffer_copyout()
1068 nread = datlen; in evbuffer_copyout()
[all …]
Darc4random.c107 arc4_addrandom(const unsigned char *dat, int datlen) in arc4_addrandom() argument
116 rs.j = (rs.j + si + dat[n % datlen]); in arc4_addrandom()
465 arc4random_addrandom(const unsigned char *dat, int datlen) in arc4random_addrandom() argument
471 for (j = 0; j < datlen; j += 256) { in arc4random_addrandom()
476 arc4_addrandom(dat + j, datlen - j); in arc4random_addrandom()
/external/openssh/openbsd-compat/
Darc4random.c69 static inline void _rs_rekey(u_char *dat, size_t datlen);
146 _rs_rekey(u_char *dat, size_t datlen) in _rs_rekey() argument
157 m = MIN(datlen, KEYSZ + IVSZ); in _rs_rekey()
209 arc4random_addrandom(u_char *dat, int datlen) in arc4random_addrandom() argument
216 while (datlen > 0) { in arc4random_addrandom()
217 m = MIN(datlen, KEYSZ + IVSZ); in arc4random_addrandom()
220 datlen -= m; in arc4random_addrandom()
/external/libevent/include/event2/
Dbuffer.h244 int evbuffer_expand(struct evbuffer *buf, size_t datlen);
315 int evbuffer_add(struct evbuffer *buf, const void *data, size_t datlen);
329 int evbuffer_remove(struct evbuffer *buf, void *data, size_t datlen);
342 ev_ssize_t evbuffer_copyout(struct evbuffer *buf, void *data_out, size_t datlen);
358 size_t datlen);
438 const void *data, size_t datlen,
Dutil.h707 void evutil_secure_rng_add_bytes(const char *dat, size_t datlen);
/external/openssh/
Dmonitor.c604 size_t datlen, siglen, alglen; in mm_answer_sign() local
612 (r = sshbuf_get_string(m, &p, &datlen)) != 0 || in mm_answer_sign()
629 if (datlen != 20 && datlen != 32 && datlen != 48 && datlen != 64) { in mm_answer_sign()
635 fatal("%s: bad data length: %zu", __func__, datlen); in mm_answer_sign()
646 if (datlen != sshbuf_len(sigbuf) || in mm_answer_sign()
649 __func__, datlen, sshbuf_len(sigbuf)); in mm_answer_sign()
656 session_id2_len = datlen; in mm_answer_sign()
662 if ((r = sshkey_sign(key, &signature, &siglen, p, datlen, alg, in mm_answer_sign()
669 p, datlen, alg, datafellows)) != 0) { in mm_answer_sign()
/external/dhcpcd-6.8.2/compat/
Darc4random.c58 arc4_addrandom(struct arc4_stream *as, unsigned char *dat, int datlen) in arc4_addrandom() argument
67 as->j = (uint8_t)(as->j + si + dat[n % datlen]); in arc4_addrandom()
/external/valgrind/coregrind/
Dvg_preloaded.c206 …VG_REPLACE_FUNCTION_ZU(libSystemZdZaZddylib, arc4random_addrandom)(unsigned char *dat, int datlen);
207 … VG_REPLACE_FUNCTION_ZU(libSystemZdZaZddylib, arc4random_addrandom)(unsigned char *dat, int datlen) in VG_REPLACE_FUNCTION_ZU()