Home
last modified time | relevance | path

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

12

/third_party/openssl/demos/cipher/
Dariacbc.c60 int outlen, tmplen; in aria_cbc_encrypt() local
89 if (!EVP_EncryptFinal_ex(ctx, outbuf + outlen, &tmplen)) in aria_cbc_encrypt()
91 outlen += tmplen; in aria_cbc_encrypt()
118 int outlen, tmplen, rv; in aria_cbc_decrypt() local
145 if (!EVP_DecryptFinal_ex(ctx, outbuf + outlen, &tmplen)) in aria_cbc_decrypt()
147 outlen += tmplen; in aria_cbc_decrypt()
Daeskeywrap.c61 int outlen, tmplen; in aes_wrap_encrypt() local
90 if (!EVP_EncryptFinal_ex(ctx, outbuf + outlen, &tmplen)) in aes_wrap_encrypt()
92 outlen += tmplen; in aes_wrap_encrypt()
119 int outlen, tmplen; in aes_wrap_decrypt() local
147 if (!EVP_DecryptFinal_ex(ctx, outbuf + outlen, &tmplen)) in aes_wrap_decrypt()
149 outlen += tmplen; in aes_wrap_decrypt()
Daesgcm.c75 int outlen, tmplen; in aes_gcm_encrypt() local
122 if (!EVP_EncryptFinal_ex(ctx, outbuf, &tmplen)) in aes_gcm_encrypt()
Daesccm.c76 int outlen, tmplen; in aes_ccm_encrypt() local
132 if (!EVP_EncryptFinal_ex(ctx, NULL, &tmplen)) in aes_ccm_encrypt()
/third_party/openssl/apps/
Dasn1parse.c74 long num, tmplen; in asn1parse_main() local
231 tmplen = num; in asn1parse_main()
236 if (j <= 0 || j >= tmplen) { in asn1parse_main()
242 tmplen -= j; in asn1parse_main()
245 at = d2i_ASN1_TYPE(NULL, &ctmpbuf, tmplen); in asn1parse_main()
262 tmplen = at->value.asn1_string->length; in asn1parse_main()
265 num = tmplen; in asn1parse_main()
Dstoreutl.c215 long tmplen = 0; in storeutl_main() local
217 if ((fingerprint = OPENSSL_hexstr2buf(opt_arg(), &tmplen)) in storeutl_main()
224 fingerprintlen = (size_t)tmplen; in storeutl_main()
/third_party/node/deps/openssl/openssl/apps/
Dasn1parse.c74 long num, tmplen; in asn1parse_main() local
231 tmplen = num; in asn1parse_main()
236 if (j <= 0 || j >= tmplen) { in asn1parse_main()
242 tmplen -= j; in asn1parse_main()
245 at = d2i_ASN1_TYPE(NULL, &ctmpbuf, tmplen); in asn1parse_main()
262 tmplen = at->value.asn1_string->length; in asn1parse_main()
265 num = tmplen; in asn1parse_main()
Dstoreutl.c215 long tmplen = 0; in storeutl_main() local
217 if ((fingerprint = OPENSSL_hexstr2buf(opt_arg(), &tmplen)) in storeutl_main()
224 fingerprintlen = (size_t)tmplen; in storeutl_main()
/third_party/node/deps/base64/base64/test/
Dtest_base64.c64 size_t tmplen; in assert_roundtrip() local
71 if (!base64_decode(out, outlen, tmp, &tmplen, flags)) { in assert_roundtrip()
77 if (srclen != tmplen) { in assert_roundtrip()
81 (unsigned long)tmplen in assert_roundtrip()
85 if (strncmp(src, tmp, tmplen) != 0) { in assert_roundtrip()
86 tmp[tmplen] = '\0'; in assert_roundtrip()
/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/node/deps/openssl/openssl/crypto/x509/
Dx_x509.c228 int length, tmplen; in i2d_x509_aux_internal() local
240 tmplen = i2d_X509_CERT_AUX(a->aux, pp); in i2d_x509_aux_internal()
241 if (tmplen < 0) { in i2d_x509_aux_internal()
244 return tmplen; in i2d_x509_aux_internal()
246 length += tmplen; in i2d_x509_aux_internal()
/third_party/openssl/crypto/x509/
Dx_x509.c228 int length, tmplen; in i2d_x509_aux_internal() local
240 tmplen = i2d_X509_CERT_AUX(a->aux, pp); in i2d_x509_aux_internal()
241 if (tmplen < 0) { in i2d_x509_aux_internal()
244 return tmplen; in i2d_x509_aux_internal()
246 length += tmplen; in i2d_x509_aux_internal()
/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/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/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/openssl/crypto/asn1/
Dtasn_enc.c177 int tmplen; in ASN1_item_ex_i2d() local
182 tmplen = asn1_template_ex_i2d(pseqval, NULL, seqtt, -1, aclass); in ASN1_item_ex_i2d()
183 if (tmplen == -1 || (tmplen > INT_MAX - seqcontlen)) in ASN1_item_ex_i2d()
185 seqcontlen += tmplen; in ASN1_item_ex_i2d()
Dasn1_lib.c239 int tmplen = length; in ASN1_object_size() local
240 while (tmplen > 0) { in ASN1_object_size()
241 tmplen >>= 8; in ASN1_object_size()
/third_party/node/deps/openssl/openssl/crypto/asn1/
Dtasn_enc.c177 int tmplen; in ASN1_item_ex_i2d() local
182 tmplen = asn1_template_ex_i2d(pseqval, NULL, seqtt, -1, aclass); in ASN1_item_ex_i2d()
183 if (tmplen == -1 || (tmplen > INT_MAX - seqcontlen)) in ASN1_item_ex_i2d()
185 seqcontlen += tmplen; in ASN1_item_ex_i2d()
Dasn1_lib.c239 int tmplen = length; in ASN1_object_size() local
240 while (tmplen > 0) { in ASN1_object_size()
241 tmplen >>= 8; in ASN1_object_size()
/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/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/vulkan-loader/loader/
DcJSON.c625 size_t tmplen = 0, i = 0; in print_array() local
701 tmplen = strlen(entries[j]); in print_array()
702 memcpy(ptr, entries[j], tmplen); in print_array()
703 ptr += tmplen; in print_array()
774 size_t tmplen = 0, i = 0, len = 7; in print_object() local
891 tmplen = strlen(names[j]); in print_object()
892 memcpy(ptr, names[j], tmplen); in print_object()
893 ptr += tmplen; in print_object()
/third_party/openssl/crypto/
Dpacket.c272 size_t tmplen = packlen; in wpacket_intern_close() local
275 while ((tmplen = tmplen >> 8) > 0) in wpacket_intern_close()
/third_party/node/deps/openssl/openssl/crypto/
Dpacket.c272 size_t tmplen = packlen; in wpacket_intern_close() local
275 while ((tmplen = tmplen >> 8) > 0) in wpacket_intern_close()

12