Home
last modified time | relevance | path

Searched refs:tmplen (Results 1 – 25 of 30) sorted by relevance

12

/third_party/openssl/apps/
Dasn1pars.c69 long num, tmplen; in asn1parse_main() local
224 tmplen = num; in asn1parse_main()
229 if (j <= 0 || j >= tmplen) { in asn1parse_main()
235 tmplen -= j; in asn1parse_main()
238 at = d2i_ASN1_TYPE(NULL, &ctmpbuf, tmplen); in asn1parse_main()
255 tmplen = at->value.asn1_string->length; in asn1parse_main()
258 num = tmplen; in asn1parse_main()
Dstoreutl.c206 long tmplen = 0; in storeutl_main() local
208 if ((fingerprint = OPENSSL_hexstr2buf(opt_arg(), &tmplen)) in storeutl_main()
215 fingerprintlen = (size_t)tmplen; in storeutl_main()
/third_party/openssl/crypto/asn1/
Dtasn_enc.c174 int tmplen; in ASN1_item_ex_i2d() local
179 tmplen = asn1_template_ex_i2d(pseqval, NULL, seqtt, -1, aclass); in ASN1_item_ex_i2d()
180 if (tmplen == -1 || (tmplen > INT_MAX - seqcontlen)) in ASN1_item_ex_i2d()
182 seqcontlen += tmplen; in ASN1_item_ex_i2d()
303 int tmplen; in asn1_template_ex_i2d() local
305 tmplen = ASN1_item_ex_i2d(&skitem, NULL, ASN1_ITEM_ptr(tt->item), in asn1_template_ex_i2d()
307 if (tmplen == -1 || (skcontlen > INT_MAX - tmplen)) in asn1_template_ex_i2d()
309 skcontlen += tmplen; in asn1_template_ex_i2d()
Dasn1_lib.c231 int tmplen = length; in ASN1_object_size() local
232 while (tmplen > 0) { in ASN1_object_size()
233 tmplen >>= 8; in ASN1_object_size()
Dtasn_dec.c147 long tmplen; in asn1_item_embed_d2i() local
298 tmplen = len; in asn1_item_embed_d2i()
314 len = tmplen - (p - *in); in asn1_item_embed_d2i()
/third_party/openssl/crypto/x509/
Dx_x509.c168 int length, tmplen; in i2d_x509_aux_internal() local
180 tmplen = i2d_X509_CERT_AUX(a->aux, pp); in i2d_x509_aux_internal()
181 if (tmplen < 0) { in i2d_x509_aux_internal()
184 return tmplen; in i2d_x509_aux_internal()
186 length += tmplen; in i2d_x509_aux_internal()
/third_party/ffmpeg/libavcodec/
Dbmvvideo.c59 int tmplen = src_len; in decode_bmv_frame() local
93 if (!mode || (tmplen == 4)) { in decode_bmv_frame()
127 flag = tmplen != 4; in decode_bmv_frame()
130 tmplen = 4; in decode_bmv_frame()
133 tmplen = 0; in decode_bmv_frame()
/third_party/lwip/src/apps/snmp/
Dsnmp_snmpv2_usm.c230 u8_t tmplen = row_oid->len - engineid_len - 2; in usmusertable_get_next_instance() local
231 if (!snmp_oid_in_range(&row_oid->id[name_start], tmplen, usmUserTable_oid_ranges, tmplen)) { in usmusertable_get_next_instance()
236 u8_t tmplen = row_oid->len - engineid_len - 2; in usmusertable_get_next_instance() local
237 … if (!snmp_oid_in_range(&row_oid->id[name_start], name_len, usmUserTable_oid_ranges, tmplen)) { in usmusertable_get_next_instance()
/third_party/openssl/crypto/dh/
Ddh_kdf.c31 long tmplen; in skip_asn1() local
32 i = ASN1_get_object(&q, &tmplen, &tag, &xclass, *plen); in skip_asn1()
38 q += tmplen; in skip_asn1()
/third_party/openssl/demos/evp/
Daesgcm.c53 int outlen, tmplen; in aes_gcm_encrypt() local
85 int outlen, tmplen, rv; in aes_gcm_decrypt() local
Daesccm.c53 int outlen, tmplen; in aes_ccm_encrypt() local
90 int outlen, tmplen, rv; in aes_ccm_decrypt() local
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
Deap_sake_common.c337 size_t tmplen; in eap_sake_compute_mic() local
340 tmplen = serverid_len + 1 + peerid_len + 1 + eap_len; in eap_sake_compute_mic()
341 tmp = os_malloc(tmplen); in eap_sake_compute_mic()
382 _rand, 2 * EAP_SAKE_RAND_LEN, tmp, tmplen, in eap_sake_compute_mic()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
Deap_sake_common.c337 size_t tmplen; in eap_sake_compute_mic() local
340 tmplen = serverid_len + 1 + peerid_len + 1 + eap_len; in eap_sake_compute_mic()
341 tmp = os_malloc(tmplen); in eap_sake_compute_mic()
382 _rand, 2 * EAP_SAKE_RAND_LEN, tmp, tmplen, in eap_sake_compute_mic()
/third_party/musl/porting/liteos_m/kernel/src/locale/
Diconv.c474 size_t tmplen = ptmp - tmp.c; in iconv() local
475 if (tmplen > *outb) goto toobig; in iconv()
477 memcpy(*out, &tmp, tmplen); in iconv()
478 *out += tmplen; in iconv()
479 *outb -= tmplen; in iconv()
/third_party/musl/src/locale/
Diconv.c473 size_t tmplen = ptmp - tmp.c; in iconv() local
474 if (tmplen > *outb) goto toobig; in iconv()
476 memcpy(*out, &tmp, tmplen); in iconv()
477 *out += tmplen; in iconv()
478 *outb -= tmplen; in iconv()
/third_party/musl/porting/uniproton/kernel/src/locale/
Diconv.c474 size_t tmplen = ptmp - tmp.c; in iconv() local
475 if (tmplen > *outb) goto toobig; in iconv()
477 memcpy(*out, &tmp, tmplen); in iconv()
478 *out += tmplen; in iconv()
479 *outb -= tmplen; in iconv()
/third_party/openssl/test/
Devp_test.c580 int ok = 0, tmplen, chunklen, tmpflen; in cipher_test_enc() local
669 if (!EVP_CipherUpdate(ctx, NULL, &tmplen, NULL, out_len)) { in cipher_test_enc()
713 tmplen = 0; in cipher_test_enc()
716 if (!EVP_CipherUpdate(ctx, tmp + out_misalign, &tmplen, in, in_len)) in cipher_test_enc()
723 tmplen += chunklen; in cipher_test_enc()
728 if (!EVP_CipherUpdate(ctx, tmp + out_misalign + tmplen, &chunklen, in cipher_test_enc()
731 tmplen += chunklen; in cipher_test_enc()
736 if (!EVP_CipherUpdate(ctx, tmp + out_misalign + tmplen, &chunklen, in cipher_test_enc()
739 tmplen += chunklen; in cipher_test_enc()
742 if (!EVP_CipherFinal_ex(ctx, tmp + out_misalign + tmplen, &tmpflen)) { in cipher_test_enc()
[all …]
/third_party/eudev/src/udev/
Dudev-event.c391 size_t tmplen = UTIL_PATH_SIZE - l; in udev_event_apply_format() local
398 tmplen = util_replace_whitespace(sbuf, s, MIN(tmplen, l)); in udev_event_apply_format()
399 l -= tmplen; in udev_event_apply_format()
400 s += tmplen; in udev_event_apply_format()
/third_party/mksh/
Dvar.c212 size_t tmplen = p - n; in array_index_calc() local
217 tmp = alloc((len > tmplen ? len : tmplen) + 1, ATEMP); in array_index_calc()
224 memcpy(tmp, n, tmplen); in array_index_calc()
225 tmp[tmplen] = '\0'; in array_index_calc()
/third_party/glib/glib/
Dgdate.c2642 gsize tmplen; in g_date_strftime() local
2687 tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm); in g_date_strftime()
2689 if (tmplen == 0 && tmpbuf[0] != '\0') in g_date_strftime()
2708 convbuf = g_locale_to_utf8 (tmpbuf, tmplen, NULL, &convlen, &error); in g_date_strftime()
/third_party/curl/lib/vtls/
Dwolfssl.c1079 size_t tmplen, in wolfssl_sha256sum() argument
1086 wc_Sha256Update(&SHA256pw, tmp, (word32)tmplen); in wolfssl_sha256sum()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p.c2546 size_t tmplen; in p2p_assoc_req_ie_wlan_ap() local
2589 tmplen = wpabuf_len(tmp); in p2p_assoc_req_ie_wlan_ap()
2590 if (tmplen > len) in p2p_assoc_req_ie_wlan_ap()
2593 os_memcpy(buf, wpabuf_head(tmp), tmplen); in p2p_assoc_req_ie_wlan_ap()
2594 res = tmplen; in p2p_assoc_req_ie_wlan_ap()
2608 size_t tmplen; in p2p_assoc_req_ie() local
2652 tmplen = wpabuf_len(tmp); in p2p_assoc_req_ie()
2653 if (tmplen > len) in p2p_assoc_req_ie()
2656 os_memcpy(buf, wpabuf_head(tmp), tmplen); in p2p_assoc_req_ie()
2657 res = tmplen; in p2p_assoc_req_ie()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p.c2566 size_t tmplen; in p2p_assoc_req_ie_wlan_ap() local
2609 tmplen = wpabuf_len(tmp); in p2p_assoc_req_ie_wlan_ap()
2610 if (tmplen > len) in p2p_assoc_req_ie_wlan_ap()
2613 os_memcpy(buf, wpabuf_head(tmp), tmplen); in p2p_assoc_req_ie_wlan_ap()
2614 res = tmplen; in p2p_assoc_req_ie_wlan_ap()
2628 size_t tmplen; in p2p_assoc_req_ie() local
2672 tmplen = wpabuf_len(tmp); in p2p_assoc_req_ie()
2673 if (tmplen > len) in p2p_assoc_req_ie()
2676 os_memcpy(buf, wpabuf_head(tmp), tmplen); in p2p_assoc_req_ie()
2677 res = tmplen; in p2p_assoc_req_ie()
/third_party/openssl/ssl/statem/
Dstatem_dtls.c336 size_t tmplen; in dtls_get_message() local
343 if (!dtls_get_reassembled_message(s, &errtype, &tmplen)) { in dtls_get_message()
/third_party/curl/lib/
Dtelnet.c936 size_t tmplen = (strlen(v->data) + 1); in suboption() local
938 if(len + tmplen < (int)sizeof(temp)-6) { in suboption()

12