Searched refs:buf_len (Results 51 - 75 of 163) sorted by relevance

1234567

/freebsd-11-stable/crypto/openssl/crypto/evp/
H A Devp_enc.c264 ctx->buf_len = 0;
341 if (ctx->buf_len == 0 && (inl & (ctx->block_mask)) == 0) {
350 i = ctx->buf_len;
356 ctx->buf_len += inl;
394 ctx->buf_len = i;
443 bl = ctx->buf_len;
500 * final_used is only ever set if buf_len is 0. Therefore the maximum
525 if (b > 1 && !ctx->buf_len) {
569 if (ctx->buf_len) {
578 if (ctx->buf_len || !ct
[all...]
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_sys.c1155 uint32_t buf_len)
1160 for (i = 0; i < buf_len / sizeof(struct ifbpstpreq); i++) {
1178 int32_t buf_len; local
1184 if ((buf_len = bridge_port_get_iflist(bif, &b_req_buf)) < 0)
1187 for (i = 0; i < buf_len / sizeof(struct ifbreq); i++) {
1204 if ((buf_len = bridge_port_get_ifstplist(bif, &bs_req_buf)) < 0)
1210 bs_req_buf, buf_len)) == NULL)
1228 int32_t buf_len; local
1234 if ((buf_len = bridge_port_get_iflist(bif, &b_req_buf)) < 0)
1240 for (i = 0; i < buf_len / sizeo
1154 bridge_port_find_ifstplist(uint8_t port_no, struct ifbpstpreq *buf, uint32_t buf_len) argument
1369 int32_t buf_len; local
1395 int32_t buf_len; local
[all...]
/freebsd-11-stable/crypto/openssl/crypto/ecdsa/
H A Decdsatest.c302 unsigned int sig_len, degree, r_len, s_len, bn_len, buf_len; local
444 buf_len = 2 * bn_len;
445 if ((raw_buf = OPENSSL_malloc(buf_len)) == NULL)
448 memset(raw_buf, 0, buf_len);
450 BN_bn2bin(ecdsa_sig->s, raw_buf + buf_len - s_len);
453 offset = raw_buf[10] % buf_len;
/freebsd-11-stable/contrib/ldns/drill/
H A Dwork.c22 hexstr2bin(char *hexstr, int len, uint8_t *buf, size_t offset, size_t buf_len) argument
53 if (bufpos + offset + 1 <= buf_len) {
/freebsd-11-stable/sys/compat/cloudabi64/
H A Dcloudabi64_sock.c73 iov[i].iov_len = iovobj.buf_len;
117 iov[i].iov_len = iovobj.buf_len;
/freebsd-11-stable/sys/compat/cloudabi32/
H A Dcloudabi32_sock.c73 iov[i].iov_len = iovobj.buf_len;
117 iov[i].iov_len = iovobj.buf_len;
/freebsd-11-stable/crypto/heimdal/lib/kafs/
H A Dafskrb5.c61 size_t buf_len; local
72 ASN1_MALLOC_ENCODE(EncryptedData, buf, buf_len, &t.enc_part,
77 if(buf_len != len) {
83 kt->ticket_len = buf_len;
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dhs20_supplicant.h47 char *reply, size_t buf_len);
H A Dmesh_mpm.c221 size_t buf_len; local
226 buf_len = 2 + /* Category and Action */
238 buf_len += 2 + 26 + /* HT capabilities */
244 buf_len += 2 + 12 + /* VHT Capabilities */
250 buf_len += 3 +
255 buf_len += 3 + sizeof(struct ieee80211_he_operation);
259 buf_len += conf->rsn_ie_len; /* RSN IE */
263 buf_len += OCV_OCI_EXTENDED_LEN;
266 buf = wpabuf_alloc(buf_len);
/freebsd-11-stable/sys/dev/ixl/
H A Di40e_adminq.h90 u16 buf_len; member in struct:i40e_arq_event_info
/freebsd-11-stable/sys/cam/scsi/
H A Dscsi_sg.c89 int buf_len; member in struct:sg_rdwr
686 int error = 0, cdb_len, buf_len, dir; local
741 buf_len = uio->uio_resid;
742 if (buf_len != 0) {
743 buf = malloc(buf_len, M_DEVBUF, M_WAITOK | M_ZERO);
744 error = uiomove(buf, buf_len, uio);
750 buf_len = hdr->reply_len;
754 buf_len = 0;
767 buf_len,
777 rdwr->buf_len
[all...]
/freebsd-11-stable/sys/contrib/zlib/test/
H A Dminigzip.c403 off_t buf_len; /* length of the input file */ local
408 buf_len = sb.st_size;
409 if (buf_len <= 0) return Z_ERRNO;
412 buf = mmap((caddr_t) 0, buf_len, PROT_READ, MAP_SHARED, ifd, (off_t)0);
416 len = gzwrite(out, (char *)buf, (unsigned)buf_len);
418 if (len != (int)buf_len) error(gzerror(out, &err));
420 munmap(buf, buf_len);
/freebsd-11-stable/crypto/openssl/crypto/dh/
H A Ddh_ameth.c338 size_t buf_len = 0; local
354 update_buflen(x->p, &buf_len);
356 if (buf_len == 0) {
361 update_buflen(x->g, &buf_len);
362 update_buflen(x->q, &buf_len);
363 update_buflen(x->j, &buf_len);
364 update_buflen(x->counter, &buf_len);
365 update_buflen(pub_key, &buf_len);
366 update_buflen(priv_key, &buf_len);
375 m = OPENSSL_malloc(buf_len
[all...]
/freebsd-11-stable/crypto/openssl/crypto/rsa/
H A Drsa_ameth.c192 size_t buf_len = 0; local
194 update_buflen(x->n, &buf_len);
195 update_buflen(x->e, &buf_len);
198 update_buflen(x->d, &buf_len);
199 update_buflen(x->p, &buf_len);
200 update_buflen(x->q, &buf_len);
201 update_buflen(x->dmp1, &buf_len);
202 update_buflen(x->dmq1, &buf_len);
203 update_buflen(x->iqmp, &buf_len);
206 m = (unsigned char *)OPENSSL_malloc(buf_len
[all...]
/freebsd-11-stable/contrib/wpa/src/rsn_supp/
H A Dtdls.c128 int buf_len; /* length of TPK message for retransmission */ member in struct:wpa_tdls_peer::tpk_timer
305 peer->sm_tmr.buf_len = msg_len;
363 peer->sm_tmr.buf_len)) {
399 peer->sm_tmr.buf_len = 0;
1065 size_t buf_len; local
1143 buf_len = 0;
1145 buf_len += peer->rsnie_i_len + sizeof(struct wpa_tdls_ftie) +
1150 buf_len += 170;
1152 buf_len += sizeof(struct wpa_tdls_lnkid);
1154 rbuf = os_zalloc(buf_len
1249 size_t buf_len; local
1340 size_t buf_len; local
1436 size_t buf_len = 0; local
[all...]
H A Dwpa_ft.c168 size_t buf_len; local
178 buf_len = 2 + sizeof(struct rsn_mdie) + 2 +
181 buf = os_zalloc(buf_len);
294 mdie_len = wpa_ft_add_mdie(sm, pos, buf_len - (pos - buf), ap_mdie);
454 int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *buf, size_t buf_len, argument
460 if (buf_len < 2 + sizeof(*mdie)) {
463 buf_len);
/freebsd-11-stable/contrib/wpa/src/eap_common/
H A Deap_sake_common.c203 * @buf_len: Number of bytes of key to generate
212 u8 *buf, size_t buf_len)
231 while (pos < buf_len) {
232 plen = buf_len - pos;
209 eap_sake_kdf(const u8 *key, size_t key_len, const char *label, const u8 *data, size_t data_len, const u8 *data2, size_t data2_len, u8 *buf, size_t buf_len) argument
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_filter_program.c307 child_read(struct archive_read_filter *self, char *buf, size_t buf_len) argument
316 requested = buf_len > SSIZE_MAX ? SSIZE_MAX : buf_len;
H A Darchive_write_add_filter_program.c236 struct archive_write_program_data *data, const char *buf, size_t buf_len)
243 if (buf_len == 0)
248 ret = write(data->child_stdin, buf, buf_len);
235 child_write(struct archive_write_filter *f, struct archive_write_program_data *data, const char *buf, size_t buf_len) argument
/freebsd-11-stable/contrib/less/
H A Dpattern.c276 match(pattern, pattern_len, buf, buf_len, pfound, pend)
280 int buf_len;
285 char *buf_end = buf + buf_len;
/freebsd-11-stable/contrib/wpa/src/utils/
H A Dpcsc_funcs.c253 unsigned char *buf, size_t *buf_len,
257 unsigned char *buf, size_t *buf_len);
266 static int scard_parse_fsp_templ(unsigned char *buf, size_t buf_len, argument
277 end = pos + buf_len;
807 unsigned char *buf, size_t *buf_len,
875 rlen = *buf_len;
878 *buf_len = resp[1] < rlen ? resp[1] : rlen;
888 unsigned char *buf, size_t *buf_len)
890 return _scard_select_file(scard, file_id, buf, buf_len,
806 _scard_select_file(struct scard_data *scard, unsigned short file_id, unsigned char *buf, size_t *buf_len, sim_types sim_type, unsigned char *aid, size_t aidlen) argument
887 scard_select_file(struct scard_data *scard, unsigned short file_id, unsigned char *buf, size_t *buf_len) argument
/freebsd-11-stable/crypto/heimdal/kadmin/
H A Dkadm_conn.c135 size_t buf_len; local
147 &buf_len);
/freebsd-11-stable/lib/libc/posix1e/
H A Dacl_support.c277 _posix1e_acl_perm_to_string(acl_perm_t perm, ssize_t buf_len, char *buf) argument
280 if (buf_len < _POSIX1E_ACL_STRING_PERM_MAXSIZE + 1) {
/freebsd-11-stable/sys/dev/cs/
H A Dif_cs.c625 sc->buf_len = 0;
831 for (mp=m, buf=sc->buffer, sc->buf_len=0; mp != NULL; mp=mp->m_next) {
847 sc->buf_len += len;
856 (sc->buf_len + 1) >> 1);
857 sc->buf_len = 0;
878 if (sc->buf_len)
879 length = sc->buf_len;
915 sc->tx_timeout = sc->buf_len;
/freebsd-11-stable/contrib/binutils/bfd/
H A Dstabs.c296 bfd_vma buf_len = 0;
337 if (num_chars >= buf_len)
339 buf_len += 32 * 1024;
340 symb = bfd_realloc (symb, buf_len);
294 bfd_vma buf_len = 0; local

Completed in 412 milliseconds

1234567