Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 3350) sorted by relevance

12345678910>>...134

/dflybsd-src/crypto/libressl/crypto/bio/
H A Db_dump.c73 BIO_dump_cb(int (*cb)(const void *data, size_t len, void *u), in BIO_dump_cb()
74 void *u, const char *s, int len) in BIO_dump_cb()
80 BIO_dump_indent_cb(int (*cb)(const void *data, size_t len, void *u), in BIO_dump_indent_cb()
81 void *u, const char *s, int len, int indent) in BIO_dump_indent_cb()
154 write_fp(const void *data, size_t len, void *fp) in write_fp()
160 BIO_dump_fp(FILE *fp, const char *s, int len) in BIO_dump_fp()
166 BIO_dump_indent_fp(FILE *fp, const char *s, int len, int indent) in BIO_dump_indent_fp()
172 write_bio(const void *data, size_t len, void *bp) in write_bio()
178 BIO_dump(BIO *bp, const char *s, int len) in BIO_dump()
184 BIO_dump_indent(BIO *bp, const char *s, int len, int indent) in BIO_dump_indent()
/dflybsd-src/contrib/dhcpcd/src/
H A Dprivsep-bsd.c66 ps_root_doioctldom(struct dhcpcd_ctx *ctx, int domain, unsigned long req, void *data, size_t len) in ps_root_doioctldom()
139 ps_root_doroute(struct dhcpcd_ctx *ctx, void *data, size_t len) in ps_root_doroute()
148 unsigned long req, void *data, size_t len) in ps_root_doindirectioctl()
171 ps_root_doifignoregroup(struct dhcpcd_ctx *ctx, void *data, size_t len) in ps_root_doifignoregroup()
186 void *data, size_t len, void **rdata, size_t *rlen) in ps_root_dosysctl()
259 size_t len = iov->iov_len; in ps_root_os() local
301 void *data, size_t len) in ps_root_ioctldom()
312 void *data, size_t len) in ps_root_ioctllink()
320 void *data, size_t len) in ps_root_ioctl6()
327 ps_root_route(struct dhcpcd_ctx *ctx, void *data, size_t len) in ps_root_route()
[all …]
/dflybsd-src/contrib/wpa_supplicant/src/tls/
H A Dx509v3.c181 int x509_parse_algorithm_identifier(const u8 *buf, size_t len, in x509_parse_algorithm_identifier()
219 static int x509_parse_public_key(const u8 *buf, size_t len, in x509_parse_public_key()
291 int x509_parse_name(const u8 *buf, size_t len, struct x509_name *name, in x509_parse_name()
498 void x509_name_string(struct x509_name *name, char *buf, size_t len) in x509_name_string()
541 static int parse_uint2(const char *pos, size_t len) in parse_uint2()
557 static int parse_uint4(const char *pos, size_t len) in parse_uint4()
575 int x509_parse_time(const u8 *buf, size_t len, u8 asn1_tag, os_time_t *val) in x509_parse_time()
692 static int x509_parse_validity(const u8 *buf, size_t len, in x509_parse_validity()
776 const u8 *pos, size_t len) in x509_parse_ext_key_usage()
813 const u8 *pos, size_t len) in x509_parse_ext_basic_constraints()
[all …]
H A Dtlsv1_cred.c46 const u8 *buf, size_t len) in tlsv1_add_cert_der()
90 static const u8 * search_tag(const char *tag, const u8 *buf, size_t len) in search_tag()
108 const u8 *buf, size_t len) in tlsv1_add_cert()
166 size_t len; in tlsv1_set_cert_chain() local
266 static struct crypto_private_key * tlsv1_set_key_pem(const u8 *key, size_t len) in tlsv1_set_key_pem()
306 size_t len, in tlsv1_set_key_enc_pem()
416 const u8 *buf, size_t len) in pkcs12_keybag()
424 const u8 *buf, size_t len, in pkcs12_pkcs8_keybag()
444 const u8 *buf, size_t len) in pkcs12_certbag()
577 static int pkcs12_parse_attr(const u8 *pos, size_t len) in pkcs12_parse_attr()
[all …]
/dflybsd-src/tools/tools/net80211/w00t/ap/
H A Dap.c105 void send_frame(struct params *p, void *buf, int len) in send_frame()
121 int len; in fill_beacon() local
157 int len; in send_beacon() local
191 int len; in send_pres() local
209 void read_preq(struct params *p, struct ieee80211_frame *wh, int len) in read_preq()
240 int len; in send_auth() local
262 void read_auth(struct params *p, struct ieee80211_frame *wh, int len) in read_auth()
290 int len; in send_assoc() local
321 void read_assoc(struct params *p, struct ieee80211_frame *wh, int len) in read_assoc()
352 void read_mgt(struct params *p, struct ieee80211_frame *wh, int len) in read_mgt()
[all …]
/dflybsd-src/contrib/wpa_supplicant/src/utils/
H A Dwpabuf.c30 static void wpabuf_overflow(const struct wpabuf *buf, size_t len) in wpabuf_overflow()
113 struct wpabuf * wpabuf_alloc(size_t len) in wpabuf_alloc()
135 struct wpabuf * wpabuf_alloc_ext_data(u8 *data, size_t len) in wpabuf_alloc_ext_data()
160 struct wpabuf * wpabuf_alloc_copy(const void *data, size_t len) in wpabuf_alloc_copy()
217 void * wpabuf_put(struct wpabuf *buf, size_t len) in wpabuf_put()
240 size_t len = 0; in wpabuf_concat() local
275 struct wpabuf * wpabuf_zeropad(struct wpabuf *buf, size_t len) in wpabuf_zeropad()
322 size_t len; in wpabuf_parse_bin() local
H A Dcommon.c170 int hexstr2bin(const char *hex, u8 *buf, size_t len) in hexstr2bin()
188 int hwaddr_mask_txt(char *buf, size_t len, const u8 *addr, const u8 *mask) in hwaddr_mask_txt()
221 void inc_byte_array(u8 *counter, size_t len) in inc_byte_array()
233 void buf_shift_right(u8 *buf, size_t len, size_t bits) in buf_shift_right()
292 int wpa_snprintf_hex_sep(char *buf, size_t buf_size, const u8 *data, size_t len, in wpa_snprintf_hex_sep()
317 size_t len, int uppercase) in _wpa_snprintf_hex()
345 int wpa_snprintf_hex(char *buf, size_t buf_size, const u8 *data, size_t len) in wpa_snprintf_hex()
360 size_t len) in wpa_snprintf_hex_uppercase()
476 void printf_encode(char *txt, size_t maxlen, const u8 *data, size_t len) in printf_encode()
528 size_t len = 0; in printf_decode() local
[all …]
H A Dbase64.c21 static unsigned char * base64_gen_encode(const unsigned char *src, size_t len, in base64_gen_encode()
86 static unsigned char * base64_gen_decode(const unsigned char *src, size_t len, in base64_gen_decode()
168 unsigned char * base64_encode(const unsigned char *src, size_t len, in base64_encode()
175 unsigned char * base64_url_encode(const unsigned char *src, size_t len, in base64_url_encode()
192 unsigned char * base64_decode(const unsigned char *src, size_t len, in base64_decode()
199 unsigned char * base64_url_decode(const unsigned char *src, size_t len, in base64_url_decode()
/dflybsd-src/contrib/wpa_supplicant/src/drivers/
H A Dpriv_netlink.h49 #define NLMSG_ALIGN(len) (((len) + NLMSG_ALIGNTO - 1) & ~(NLMSG_ALIGNTO - 1)) argument
51 #define NLMSG_LENGTH(len) ((len) + NLMSG_ALIGN(sizeof(struct nlmsghdr))) argument
52 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) argument
54 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument
57 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && \ argument
60 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
63 #define RTA_ALIGN(len) (((len) + RTA_ALIGNTO - 1) & ~(RTA_ALIGNTO - 1)) argument
64 #define RTA_OK(rta,len) \ argument
70 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) argument
71 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len)) argument
/dflybsd-src/contrib/tcpdump/
H A Dprint-ahcp.c102 const u_char *cp, uint8_t len) in ahcp_time_print()
126 const u_char *cp, uint8_t len) in ahcp_seconds_print()
140 const u_char *cp, uint8_t len) in ahcp_ipv6_addresses_print()
161 const u_char *cp, uint8_t len) in ahcp_ipv4_addresses_print()
182 const u_char *cp, uint8_t len) in ahcp_ipv6_prefixes_print()
203 const u_char *cp, uint8_t len) in ahcp_ipv4_prefixes_print()
242 const u_char *cp, uint16_t len) in ahcp1_options_print()
281 const u_char *cp, u_int len) in ahcp1_body_print()
326 const u_char *cp, u_int len) in ahcp_print()
/dflybsd-src/contrib/wpa_supplicant/src/crypto/
H A Dcrypto_nettle.c52 const u8 *addr[], const size_t *len, u8 *mac) in nettle_digest_vector()
72 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector()
78 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md5_vector()
84 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha1_vector()
90 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha256_vector()
96 int sha384_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha384_vector()
102 int sha512_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha512_vector()
109 const u8 *addr[], const size_t *len, u8 *mac) in hmac_md5_vector()
134 const u8 *addr[], const size_t *len, u8 *mac) in hmac_sha1_vector()
161 const u8 *addr[], const size_t *len, u8 *mac) in hmac_sha256_vector()
[all …]
H A Dcrypto_gnutls.c21 const u8 *addr[], const size_t *len, u8 *mac) in gnutls_digest_vector()
42 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector()
71 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md5_vector()
77 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha1_vector()
83 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha256_vector()
89 int sha384_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha384_vector()
95 int sha512_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha512_vector()
103 const size_t *len, u8 *mac) in gnutls_hmac_vector()
129 const u8 *addr[], const size_t *len, u8 *mac) in hmac_md5_vector()
144 const u8 *addr[], const size_t *len, u8 *mac) in hmac_sha1_vector()
[all …]
/dflybsd-src/lib/libkinfo/
H A Dkinfo_sched.c47 size_t len = sizeof(*ncpus); in kinfo_get_cpus() local
56 size_t len = sizeof(struct kinfo_cputime) * SMP_MAXCPU; in kinfo_get_sched_cputime() local
92 size_t len = sizeof(clockinfo); in kinfo_get_sched_hz() local
107 size_t len = sizeof(clockinfo); in kinfo_get_sched_stathz() local
122 size_t len = sizeof(clockinfo); in kinfo_get_sched_profhz() local
/dflybsd-src/contrib/gdb-7/gdb/
H A Ddfp.c37 match_endianness (const gdb_byte *from, int len, enum bfd_endian byte_order, in match_endianness()
61 set_decnumber_context (decContext *ctx, int len) in set_decnumber_context()
100 decimal_from_number (const decNumber *from, gdb_byte *to, int len) in decimal_from_number()
123 decimal_to_number (const gdb_byte *from, int len, decNumber *to) in decimal_to_number()
146 decimal_to_string (const gdb_byte *decbytes, int len, in decimal_to_string()
174 decimal_from_string (gdb_byte *decbytes, int len, enum bfd_endian byte_order, in decimal_from_string()
210 gdb_byte *to, int len, enum bfd_endian byte_order) in decimal_from_integral()
242 gdb_byte *to, int len, enum bfd_endian byte_order) in decimal_from_floating()
255 decimal_to_doublest (const gdb_byte *from, int len, enum bfd_endian byte_order) in decimal_to_doublest()
320 decimal_is_zero (const gdb_byte *x, int len, enum bfd_endian byte_order) in decimal_is_zero()
H A Dcorefile.c217 read_memory (CORE_ADDR memaddr, gdb_byte *myaddr, ssize_t len) in read_memory()
229 read_stack (CORE_ADDR memaddr, gdb_byte *myaddr, ssize_t len) in read_stack()
246 int len; member
264 int len = args->len; in do_captured_read_memory_integer() local
277 safe_read_memory_integer (CORE_ADDR memaddr, int len, in safe_read_memory_integer()
297 read_memory_integer (CORE_ADDR memaddr, int len, in read_memory_integer()
307 read_memory_unsigned_integer (CORE_ADDR memaddr, int len, in read_memory_unsigned_integer()
356 const bfd_byte *myaddr, ssize_t len) in write_memory()
369 ssize_t len) in write_memory_with_notification()
378 write_memory_unsigned_integer (CORE_ADDR addr, int len, in write_memory_unsigned_integer()
[all …]
/dflybsd-src/crypto/libressl/crypto/x509/
H A Dx509_constraints.c180 x509_constraints_valid_domain_internal(uint8_t *name, size_t len, int wildcards) in x509_constraints_valid_domain_internal()
241 x509_constraints_valid_domain(uint8_t *name, size_t len) in x509_constraints_valid_domain()
255 x509_constraints_valid_host(uint8_t *name, size_t len) in x509_constraints_valid_host()
272 x509_constraints_valid_sandns(uint8_t *name, size_t len) in x509_constraints_valid_sandns()
312 x509_constraints_parse_mailbox(uint8_t *candidate, size_t len, in x509_constraints_parse_mailbox()
443 x509_constraints_valid_domain_constraint(uint8_t *constraint, size_t len) in x509_constraints_valid_domain_constraint()
478 x509_constraints_uri_host(uint8_t *uri, size_t len, char **hostpart) in x509_constraints_uri_host()
540 x509_constraints_sandns(char *sandns, size_t dlen, char *constraint, size_t len) in x509_constraints_sandns()
568 x509_constraints_domain(char *domain, size_t dlen, char *constraint, size_t len) in x509_constraints_domain()
596 x509_constraints_uri(uint8_t *uri, size_t ulen, uint8_t *constraint, size_t len, in x509_constraints_uri()
[all …]
/dflybsd-src/crypto/libressl/crypto/asn1/
H A Dtasn_typ.c71 d2i_ASN1_NULL(ASN1_NULL **a, const unsigned char **in, long len) in d2i_ASN1_NULL()
103 d2i_ASN1_UTF8STRING(ASN1_UTF8STRING **a, const unsigned char **in, long len) in d2i_ASN1_UTF8STRING()
136 long len) in d2i_ASN1_PRINTABLESTRING()
168 d2i_ASN1_T61STRING(ASN1_T61STRING **a, const unsigned char **in, long len) in d2i_ASN1_T61STRING()
200 d2i_ASN1_IA5STRING(ASN1_IA5STRING **a, const unsigned char **in, long len) in d2i_ASN1_IA5STRING()
233 long len) in d2i_ASN1_GENERALSTRING()
265 d2i_ASN1_UTCTIME(ASN1_UTCTIME **a, const unsigned char **in, long len) in d2i_ASN1_UTCTIME()
298 long len) in d2i_ASN1_GENERALIZEDTIME()
331 long len) in d2i_ASN1_VISIBLESTRING()
364 long len) in d2i_ASN1_UNIVERSALSTRING()
[all …]
/dflybsd-src/sbin/iscontrol/
H A Dauth_subr.c57 int len; in chapMD5() local
90 int len; in chapSHA1() local
127 int len; in chapDigest() local
149 genChapChallenge(char *encoding, size_t len) in genChapChallenge()
169 puke(char *str, unsigned char *dg, int len) in puke()
180 int len; in main() local
/dflybsd-src/crypto/libressl/ssl/
H A Dssl_transcript.c28 size_t len; in tls1_transcript_hash_init() local
64 tls1_transcript_hash_update(SSL *s, const unsigned char *buf, size_t len) in tls1_transcript_hash_update()
73 tls1_transcript_hash_value(SSL *s, unsigned char *out, size_t len, in tls1_transcript_hash_value()
146 tls1_transcript_append(SSL *s, const unsigned char *buf, size_t len) in tls1_transcript_append()
158 tls1_transcript_data(SSL *s, const unsigned char **data, size_t *len) in tls1_transcript_data()
188 tls1_transcript_record(SSL *s, const unsigned char *buf, size_t len) in tls1_transcript_record()
/dflybsd-src/contrib/gcc-4.7/libssp/ssp/
H A Dstring.h55 #define memcpy(dest, src, len) \ argument
67 #define memmove(dest, src, len) \ argument
78 #define mempcpy(dest, src, len) \ argument
90 #define memset(dest, ch, len) \ argument
100 #define bcopy(src, dest, len) ((void) \ argument
104 #define bzero(dest, len) ((void) \ argument
132 #define strncpy(dest, src, len) \ argument
155 #define strncat(dest, src, len) \ argument
/dflybsd-src/contrib/wpa_supplicant/src/ap/
H A Drrm.c36 const u8 *pos, size_t len) in hostapd_handle_lci_report()
60 const u8 *pos, size_t len) in hostapd_handle_range_report()
76 const u8 *pos, size_t len) in hostapd_handle_beacon_report()
96 const u8 *buf, size_t len) in hostapd_handle_radio_msmt_report()
139 static u16 hostapd_parse_location_lci_req_age(const u8 *buf, size_t len) in hostapd_parse_location_lci_req_age()
187 size_t len = 2 + wpabuf_len(nr->nr); in hostapd_neighbor_report_len() local
224 size_t len; in hostapd_send_nei_report_resp() local
279 const u8 *buf, size_t len) in hostapd_handle_nei_report_req()
338 const u8 *buf, size_t len) in hostapd_handle_radio_measurement()
446 u8 *len; in hostapd_send_range_req() local
[all …]
/dflybsd-src/crypto/openssh/
H A Dsshbuf-getput-crypto.c40 size_t len; in sshbuf_get_bignum2() local
60 get_ec(const u_char *d, size_t len, EC_POINT *v, const EC_GROUP *g) in get_ec()
77 size_t len; in sshbuf_get_ec() local
100 size_t len; in sshbuf_get_eckey() local
134 int len = BN_num_bytes(v), prepend = 0, r; in sshbuf_put_bignum2() local
157 size_t len; in sshbuf_put_ec() local
H A Dsshbuf-getput-basic.c35 sshbuf_get(struct sshbuf *buf, void *v, size_t len) in sshbuf_get()
100 check_offset(const struct sshbuf *buf, int wr, size_t offset, size_t len) in check_offset()
114 check_roffset(const struct sshbuf *buf, size_t offset, size_t len, in check_roffset()
190 size_t len; in sshbuf_get_string() local
216 size_t len; in sshbuf_get_string_direct() local
243 u_int32_t len; in sshbuf_peek_string_direct() local
273 size_t len; in sshbuf_get_cstring() local
308 u_int32_t len; in sshbuf_get_stringb() local
326 sshbuf_put(struct sshbuf *buf, const void *v, size_t len) in sshbuf_put()
362 int r, len; in sshbuf_putfv() local
[all …]
/dflybsd-src/contrib/wpa_supplicant/src/wps/
H A Dwps_attr_parse.c21 u8 id, u8 len, const u8 *pos) in wps_set_vendor_ext_wfa_subelem()
92 u16 len) in wps_parse_vendor_ext_wfa()
112 u16 len) in wps_parse_vendor_ext()
153 const u8 *pos, u16 len) in wps_set_attr()
599 u16 type, len; in wps_parse_msg() local
/dflybsd-src/usr.sbin/rtadvd/
H A Drrenum.c83 rr_pco_check(int len, struct rr_pco_match *rpm) in rr_pco_check()
142 do_use_prefix(int len, struct rr_pco_match *rpm, in do_use_prefix()
256 do_pco(struct icmp6_router_renum *rr, int len, struct rr_pco_match *rpm) in do_pco()
313 do_rr(int len, struct icmp6_router_renum *rr) in do_rr()
356 rr_command_check(int len, struct icmp6_router_renum *rr, struct in6_addr *from, in rr_command_check()
412 rr_command_input(int len, struct icmp6_router_renum *rr, in rr_command_input()
437 rr_input(int len, struct icmp6_router_renum *rr, struct in6_pktinfo *pi, in rr_input()

12345678910>>...134