Searched defs:datlen (Results 1 - 5 of 5) sorted by relevance
/external/dhcpcd-6.8.2/compat/ |
H A D | arc4random.c | 58 arc4_addrandom(struct arc4_stream *as, unsigned char *dat, int datlen) argument 67 as->j = (uint8_t)(as->j + si + dat[n % datlen]);
|
/external/openssh/openbsd-compat/ |
H A D | arc4random.c | 69 static inline void _rs_rekey(u_char *dat, size_t datlen); 146 _rs_rekey(u_char *dat, size_t datlen) argument 157 m = MIN(datlen, KEYSZ + IVSZ); 209 arc4random_addrandom(u_char *dat, int datlen) argument 216 while (datlen > 0) { 217 m = MIN(datlen, KEYSZ + IVSZ); 220 datlen -= m;
|
/external/libevent/ |
H A D | arc4random.c | 107 arc4_addrandom(const unsigned char *dat, int datlen) argument 116 rs.j = (rs.j + si + dat[n % datlen]); 465 arc4random_addrandom(const unsigned char *dat, int datlen) argument 471 for (j = 0; j < datlen; j += 256) { 476 arc4_addrandom(dat + j, datlen - j);
|
H A D | buffer.c | 146 size_t datlen); 323 evbuffer_chain_insert_new(struct evbuffer *buf, size_t datlen) argument 326 if ((chain = evbuffer_chain_new(datlen)) == NULL) 1031 evbuffer_remove(struct evbuffer *buf, void *data_out, size_t datlen) argument 1035 n = evbuffer_copyout(buf, data_out, datlen); 1045 evbuffer_copyout(struct evbuffer *buf, void *data_out, size_t datlen) argument 1057 if (datlen >= buf->total_len) 1058 datlen = buf->total_len; 1060 if (datlen == 0) 1068 nread = datlen; 1095 evbuffer_remove_buffer(struct evbuffer *src, struct evbuffer *dst, size_t datlen) argument 1545 evbuffer_add(struct evbuffer *buf, const void *data_in, size_t datlen) argument 1638 evbuffer_prepend(struct evbuffer *buf, const void *data, size_t datlen) argument 1735 evbuffer_chain_should_realign(struct evbuffer_chain *chain, size_t datlen) argument 1746 evbuffer_expand_singlechain(struct evbuffer *buf, size_t datlen) argument 1859 _evbuffer_expand_fast(struct evbuffer *buf, size_t datlen, int n) argument 1969 evbuffer_expand(struct evbuffer *buf, size_t datlen) argument 2741 evbuffer_add_reference(struct evbuffer *outbuf, const void *data, size_t datlen, evbuffer_ref_cleanup_cb cleanupfn, void *extra) argument [all...] |
/external/openssh/ |
H A D | monitor.c | 696 size_t datlen, siglen; local 703 (r = sshbuf_get_string(m, &p, &datlen)) != 0) 717 if (datlen != 20 && datlen != 32 && datlen != 48 && datlen != 64) { 723 fatal("%s: bad data length: %zu", __func__, datlen); 734 if (datlen != sshbuf_len(sigbuf) || 737 __func__, datlen, sshbuf_len(sigbuf)); 744 session_id2_len = datlen; [all...] |
Completed in 255 milliseconds