Home
last modified time | relevance | path

Searched refs:decoded_len (Results 1 – 11 of 11) sorted by relevance

/third_party/node/deps/openssl/openssl/crypto/evp/
Dencode.c306 int seof = 0, eof = 0, rv = -1, ret = 0, i, v, tmp, n, decoded_len; in EVP_DecodeUpdate() local
372 decoded_len = evp_decodeblock_int(ctx, out, d, n); in EVP_DecodeUpdate()
374 if (decoded_len < 0 || eof > decoded_len) { in EVP_DecodeUpdate()
378 ret += decoded_len - eof; in EVP_DecodeUpdate()
379 out += decoded_len - eof; in EVP_DecodeUpdate()
391 decoded_len = evp_decodeblock_int(ctx, out, d, n); in EVP_DecodeUpdate()
393 if (decoded_len < 0 || eof > decoded_len) { in EVP_DecodeUpdate()
397 ret += (decoded_len - eof); in EVP_DecodeUpdate()
/third_party/openssl/crypto/evp/
Dencode.c306 int seof = 0, eof = 0, rv = -1, ret = 0, i, v, tmp, n, decoded_len; in EVP_DecodeUpdate() local
372 decoded_len = evp_decodeblock_int(ctx, out, d, n); in EVP_DecodeUpdate()
374 if (decoded_len < 0 || eof > decoded_len) { in EVP_DecodeUpdate()
378 ret += decoded_len - eof; in EVP_DecodeUpdate()
379 out += decoded_len - eof; in EVP_DecodeUpdate()
391 decoded_len = evp_decodeblock_int(ctx, out, d, n); in EVP_DecodeUpdate()
393 if (decoded_len < 0 || eof > decoded_len) { in EVP_DecodeUpdate()
397 ret += (decoded_len - eof); in EVP_DecodeUpdate()
/third_party/curl/lib/
Dkrb5.c689 int decoded_len; in Curl_sec_read_msg() local
711 decoded_len = curlx_uztosi(decoded_sz); in Curl_sec_read_msg()
713 decoded_len = conn->mech->decode(conn->app_data, buf, decoded_len, in Curl_sec_read_msg()
715 if(decoded_len <= 0) { in Curl_sec_read_msg()
721 buf[decoded_len] = '\n'; in Curl_sec_read_msg()
722 Curl_debug(data, CURLINFO_HEADER_IN, buf, decoded_len + 1); in Curl_sec_read_msg()
725 buf[decoded_len] = '\0'; in Curl_sec_read_msg()
726 if(decoded_len <= 3) in Curl_sec_read_msg()
733 if(buf[decoded_len - 1] == '\n') in Curl_sec_read_msg()
734 buf[decoded_len - 1] = '\0'; in Curl_sec_read_msg()
/third_party/rust/crates/rust-openssl/openssl/src/
Dencrypt.rs509 let decoded_len = decrypter.decrypt(encoded, &mut decoded).unwrap(); in rsa_encrypt_decrypt() localVariable
510 let decoded = &decoded[..decoded_len]; in rsa_encrypt_decrypt()
540 let decoded_len = decrypter.decrypt(encoded, &mut decoded).unwrap(); in rsa_encrypt_decrypt_with_sha256() localVariable
541 let decoded = &decoded[..decoded_len]; in rsa_encrypt_decrypt_with_sha256()
567 let decoded_len = decrypter.decrypt(encoded, &mut decoded).unwrap(); in rsa_encrypt_decrypt_oaep_label() localVariable
568 let decoded = &decoded[..decoded_len]; in rsa_encrypt_decrypt_oaep_label()
Dbase64.rs48 let len = decoded_len(src_len).unwrap(); in decode_block()
87 fn decoded_len(src_len: LenType) -> Option<LenType> { in decoded_len() function
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Dtncs.c666 static unsigned char * tncs_get_base64(char *start, size_t *decoded_len) in tncs_get_base64() argument
681 decoded = base64_decode(pos, os_strlen(pos), decoded_len); in tncs_get_base64()
783 size_t decoded_len; in tncs_process_if_tnccs() local
860 decoded = tncs_get_base64(start, &decoded_len); in tncs_process_if_tnccs()
867 tncs_send_to_imvs(tncs, type, decoded, decoded_len); in tncs_process_if_tnccs()
922 decoded = tncs_get_base64(start, &decoded_len); in tncs_process_if_tnccs()
933 decoded, decoded_len); in tncs_process_if_tnccs()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Dtncs.c666 static unsigned char * tncs_get_base64(char *start, size_t *decoded_len) in tncs_get_base64() argument
682 decoded_len); in tncs_get_base64()
784 size_t decoded_len; in tncs_process_if_tnccs() local
861 decoded = tncs_get_base64(start, &decoded_len); in tncs_process_if_tnccs()
868 tncs_send_to_imvs(tncs, type, decoded, decoded_len); in tncs_process_if_tnccs()
923 decoded = tncs_get_base64(start, &decoded_len); in tncs_process_if_tnccs()
934 decoded, decoded_len); in tncs_process_if_tnccs()
/third_party/openssl/crypto/rsa/
Drsa_gen.c485 unsigned int decoded_len; in rsa_keygen_pairwise_test() local
516 decoded_len = RSA_private_decrypt(ciphertxt_len, ciphertxt, decoded, rsa, in rsa_keygen_pairwise_test()
518 if (decoded_len != plaintxt_len in rsa_keygen_pairwise_test()
519 || memcmp(decoded, plaintxt, decoded_len) != 0) in rsa_keygen_pairwise_test()
/third_party/node/deps/openssl/openssl/crypto/rsa/
Drsa_gen.c485 unsigned int decoded_len; in rsa_keygen_pairwise_test() local
516 decoded_len = RSA_private_decrypt(ciphertxt_len, ciphertxt, decoded, rsa, in rsa_keygen_pairwise_test()
518 if (decoded_len != plaintxt_len in rsa_keygen_pairwise_test()
519 || memcmp(decoded, plaintxt, decoded_len) != 0) in rsa_keygen_pairwise_test()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Dtncc.c617 static unsigned char * tncc_get_base64(char *start, size_t *decoded_len) in tncc_get_base64() argument
633 decoded_len); in tncc_get_base64()
692 size_t decoded_len; in tncc_process_if_tnccs() local
773 decoded = tncc_get_base64(start, &decoded_len); in tncc_process_if_tnccs()
780 tncc_send_to_imcs(tncc, type, decoded, decoded_len); in tncc_process_if_tnccs()
835 decoded = tncc_get_base64(start, &decoded_len); in tncc_process_if_tnccs()
846 decoded, decoded_len); in tncc_process_if_tnccs()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Dtncc.c617 static unsigned char * tncc_get_base64(char *start, size_t *decoded_len) in tncc_get_base64() argument
632 decoded = base64_decode(pos, os_strlen(pos), decoded_len); in tncc_get_base64()
691 size_t decoded_len; in tncc_process_if_tnccs() local
772 decoded = tncc_get_base64(start, &decoded_len); in tncc_process_if_tnccs()
779 tncc_send_to_imcs(tncc, type, decoded, decoded_len); in tncc_process_if_tnccs()
834 decoded = tncc_get_base64(start, &decoded_len); in tncc_process_if_tnccs()
845 decoded, decoded_len); in tncc_process_if_tnccs()