Home
last modified time | relevance | path

Searched refs:encoded_len (Results 1 – 7 of 7) sorted by relevance

/third_party/openssl/crypto/rsa/
Drsa_sign.c72 int encrypt_len, encoded_len = 0, ret = 0; in RSA_sign() local
91 encoded_len = SSL_SIG_LENGTH; in RSA_sign()
94 if (!encode_pkcs1(&tmps, &encoded_len, type, m, m_len)) in RSA_sign()
99 if (encoded_len > RSA_size(rsa) - RSA_PKCS1_PADDING_SIZE) { in RSA_sign()
103 encrypt_len = RSA_private_encrypt(encoded_len, encoded, sigret, rsa, in RSA_sign()
112 OPENSSL_clear_free(tmps, (size_t)encoded_len); in RSA_sign()
128 int decrypt_len, ret = 0, encoded_len = 0; in int_rsa_verify() local
215 if (!encode_pkcs1(&encoded, &encoded_len, type, m, m_len)) in int_rsa_verify()
218 if (encoded_len != decrypt_len in int_rsa_verify()
219 || memcmp(encoded, decrypt_buf, encoded_len) != 0) { in int_rsa_verify()
[all …]
/third_party/eudev/src/shared/
Dutf8.c148 int encoded_len, val; in utf8_is_printable_newline() local
150 encoded_len = utf8_encoded_valid_unichar((const char *) p); in utf8_is_printable_newline()
151 if (encoded_len < 0 || in utf8_is_printable_newline()
152 (size_t) encoded_len > length) in utf8_is_printable_newline()
161 length -= encoded_len; in utf8_is_printable_newline()
162 p += encoded_len; in utf8_is_printable_newline()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/
DSDL_wave.c123 Sint32 encoded_len, samplesleft; in MS_ADPCM_decode() local
130 encoded_len = *audio_len; in MS_ADPCM_decode()
133 *audio_len = (encoded_len / MS_ADPCM_state.wavefmt.blockalign) * in MS_ADPCM_decode()
146 while (encoded_len >= MS_ADPCM_state.wavefmt.blockalign) { in MS_ADPCM_decode()
212 encoded_len -= MS_ADPCM_state.wavefmt.blockalign; in MS_ADPCM_decode()
342 Sint32 encoded_len, samplesleft; in IMA_ADPCM_decode() local
355 encoded_len = *audio_len; in IMA_ADPCM_decode()
358 *audio_len = (encoded_len / IMA_ADPCM_state.wavefmt.blockalign) * in IMA_ADPCM_decode()
368 while (encoded_len >= IMA_ADPCM_state.wavefmt.blockalign) { in IMA_ADPCM_decode()
400 encoded_len -= IMA_ADPCM_state.wavefmt.blockalign; in IMA_ADPCM_decode()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dconfig_file.c301 size_t encoded_len = 0, len; in wpa_config_read_blob() local
313 nencoded = os_realloc(encoded, encoded_len + len); in wpa_config_read_blob()
321 os_memcpy(encoded + encoded_len, pos, len); in wpa_config_read_blob()
322 encoded_len += len; in wpa_config_read_blob()
338 blob->data = base64_decode(encoded, encoded_len, &blob->len); in wpa_config_read_blob()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dconfig_file.c217 size_t encoded_len = 0, len; in wpa_config_read_blob() local
229 nencoded = os_realloc(encoded, encoded_len + len); in wpa_config_read_blob()
237 os_memcpy(encoded + encoded_len, pos, len); in wpa_config_read_blob()
238 encoded_len += len; in wpa_config_read_blob()
254 blob->data = base64_decode(encoded, encoded_len, &blob->len); in wpa_config_read_blob()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_er.c901 size_t encoded_len; in wps_er_soap_hdr() local
906 &encoded_len); in wps_er_soap_hdr()
911 encoded_len = 0; in wps_er_soap_hdr()
914 buf = wpabuf_alloc(1000 + encoded_len); in wps_er_soap_hdr()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_er.c901 size_t encoded_len; in wps_er_soap_hdr() local
906 &encoded_len); in wps_er_soap_hdr()
911 encoded_len = 0; in wps_er_soap_hdr()
914 buf = wpabuf_alloc(1000 + encoded_len); in wps_er_soap_hdr()