Home
last modified time | relevance | path

Searched refs:totlen (Results 1 - 12 of 12) sorted by relevance

/third_party/openssl/test/
H A Dtls13encryptiontest.c206 size_t totlen = 0; in multihexstr2buf() local
210 totlen += strlen(str[outer]); in multihexstr2buf()
211 if ((totlen & 1) != 0) in multihexstr2buf()
215 totlen /= 2; in multihexstr2buf()
216 outbuf = OPENSSL_malloc(totlen); in multihexstr2buf()
235 *len = totlen; in multihexstr2buf()
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_util.c160 uint8_t totlen; in usb_make_str_desc() local
180 totlen = (max_len + 1) * 2; in usb_make_str_desc()
182 p->bLength = totlen; in usb_make_str_desc()
188 return (totlen); in usb_make_str_desc()
/third_party/libbpf/src/
H A Dnlattr.c27 int totlen = NLA_ALIGN(nla->nla_len); in nla_next() local
29 *remaining -= totlen; in nla_next()
30 return (struct nlattr *)((void *)nla + totlen); in nla_next()
/third_party/node/deps/openssl/openssl/ssl/record/
H A Drec_layer_s3.c680 size_t totlen = 0, len, wpinited = 0; in do_ssl3_write() local
684 totlen += pipelens[j]; in do_ssl3_write()
691 return ssl3_write_pending(s, type, buf, totlen, written); in do_ssl3_write()
711 if (totlen == 0 && !create_empty_fragment) in do_ssl3_write()
849 totlen = 0; in do_ssl3_write()
910 SSL3_RECORD_set_input(thiswr, (unsigned char *)&buf[totlen]); in do_ssl3_write()
911 totlen += pipelens[j]; in do_ssl3_write()
1147 s->rlayer.wpend_tot = totlen; in do_ssl3_write()
1150 s->rlayer.wpend_ret = totlen; in do_ssl3_write()
1153 return ssl3_write_pending(s, type, buf, totlen, writte in do_ssl3_write()
[all...]
/third_party/openssl/ssl/record/
H A Drec_layer_s3.c691 size_t totlen = 0, len, wpinited = 0; in do_ssl3_write() local
695 totlen += pipelens[j]; in do_ssl3_write()
702 return ssl3_write_pending(s, type, buf, totlen, written); in do_ssl3_write()
722 if (totlen == 0 && !create_empty_fragment) in do_ssl3_write()
860 totlen = 0; in do_ssl3_write()
921 SSL3_RECORD_set_input(thiswr, (unsigned char *)&buf[totlen]); in do_ssl3_write()
922 totlen += pipelens[j]; in do_ssl3_write()
1158 s->rlayer.wpend_tot = totlen; in do_ssl3_write()
1161 s->rlayer.wpend_ret = totlen; in do_ssl3_write()
1164 return ssl3_write_pending(s, type, buf, totlen, writte in do_ssl3_write()
[all...]
/third_party/libwebsockets/lib/tls/mbedtls/
H A Dlws-genrsa.c475 uint8_t *p = pkey_asn1, *totlen, *end = pkey_asn1 + pkey_asn1_len - 1; local
506 totlen = p;
550 *totlen++ = (uint8_t)((n - 4) >> 8);
551 *totlen = (uint8_t)((n - 4) & 0xff);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
H A Deap_server_pwd.c419 u16 totlen = 0; in eap_pwd_build_req() local
491 totlen = wpabuf_len(data->outbuf) + in eap_pwd_build_req()
495 "total length = %d", totlen); in eap_pwd_build_req()
506 (totlen ? sizeof(u16) : 0), in eap_pwd_build_req()
515 wpabuf_put_be16(req, totlen); in eap_pwd_build_req()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
H A Deap_server_pwd.c419 u16 totlen = 0; in eap_pwd_build_req() local
491 totlen = wpabuf_len(data->outbuf) + in eap_pwd_build_req()
495 "total length = %d", totlen); in eap_pwd_build_req()
506 (totlen ? sizeof(u16) : 0), in eap_pwd_build_req()
515 wpabuf_put_be16(req, totlen); in eap_pwd_build_req()
/third_party/toybox/porting/liteos_a/toys/posix/
H A Dls.c380 unsigned c, totlen = columns; in listfiles() local
390 totlen += (*len)-colsizes[c]; in listfiles()
392 if (totlen > TT.screen_width) break; in listfiles()
/third_party/toybox/toys/posix/
H A Dls.c391 unsigned c, totlen = columns; in listfiles() local
401 totlen += (*len)-colsizes[c]; in listfiles()
403 if (totlen > TT.screen_width) break; in listfiles()
/third_party/node/deps/openssl/openssl/ssl/statem/
H A Dstatem_clnt.c3684 size_t totlen = 0, len, maxlen, maxverok = 0; in ssl_cipher_list_to_bytes() local
3719 for (i = 0; i < sk_SSL_CIPHER_num(sk) && totlen < maxlen; i++) { in ssl_cipher_list_to_bytes()
3745 totlen += len; in ssl_cipher_list_to_bytes()
3748 if (totlen == 0 || !maxverok) { in ssl_cipher_list_to_bytes()
3759 if (totlen != 0) { in ssl_cipher_list_to_bytes()
/third_party/openssl/ssl/statem/
H A Dstatem_clnt.c3676 size_t totlen = 0, len, maxlen, maxverok = 0; in ssl_cipher_list_to_bytes() local
3711 for (i = 0; i < sk_SSL_CIPHER_num(sk) && totlen < maxlen; i++) { in ssl_cipher_list_to_bytes()
3737 totlen += len; in ssl_cipher_list_to_bytes()
3740 if (totlen == 0 || !maxverok) { in ssl_cipher_list_to_bytes()
3751 if (totlen != 0) { in ssl_cipher_list_to_bytes()

Completed in 16 milliseconds