/third_party/rust/crates/rust-openssl/openssl/src/ |
D | envelope.rs | 169 let mut enc_len = seal.update(secret, &mut encrypted).unwrap(); in public_encrypt_private_decrypt() localVariable 170 enc_len += seal.finalize(&mut encrypted[enc_len..]).unwrap(); in public_encrypt_private_decrypt() 175 let mut decrypted = vec![0; enc_len + cipher.block_size()]; in public_encrypt_private_decrypt() 176 let mut dec_len = open.update(&encrypted[..enc_len], &mut decrypted).unwrap(); in public_encrypt_private_decrypt()
|
/third_party/mbedtls/library/ |
D | ssl_ticket.c | 307 size_t enc_len, clear_len; in mbedtls_ssl_ticket_parse() local 323 enc_len = ( enc_len_p[0] << 8 ) | enc_len_p[1]; in mbedtls_ssl_ticket_parse() 325 if( len != TICKET_MIN_LEN + enc_len ) in mbedtls_ssl_ticket_parse() 345 ticket, enc_len + TICKET_AUTH_TAG_BYTES, in mbedtls_ssl_ticket_parse() 346 ticket, enc_len, &clear_len, in mbedtls_ssl_ticket_parse() 354 if( clear_len != enc_len ) in mbedtls_ssl_ticket_parse()
|
/third_party/openssl/crypto/ |
D | punycode.c | 118 int ossl_punycode_decode(const char *pEncoded, const size_t enc_len, in ossl_punycode_decode() argument 129 for (loop = 0; loop < enc_len; loop++) { in ossl_punycode_decode() 148 for (loop = processed_in; loop < enc_len;) { in ossl_punycode_decode() 155 if (loop >= enc_len) in ossl_punycode_decode()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | wpa_auth_ft.c | 70 const u8 *enc, size_t enc_len, in wpa_ft_rrb_decrypt() argument 81 wpa_hexdump(MSG_DEBUG, "FT(RRB): encrypted TLVs", enc, enc_len); in wpa_ft_rrb_decrypt() 85 *plain = os_memdup(enc, enc_len); in wpa_ft_rrb_decrypt() 86 if (enc_len > 0 && !*plain) in wpa_ft_rrb_decrypt() 89 *plain_size = enc_len; in wpa_ft_rrb_decrypt() 97 if (enc_len < AES_BLOCK_SIZE) in wpa_ft_rrb_decrypt() 100 *plain = os_zalloc(enc_len - AES_BLOCK_SIZE); in wpa_ft_rrb_decrypt() 104 if (aes_siv_decrypt(key, key_len, enc, enc_len, 3, ad, ad_len, in wpa_ft_rrb_decrypt() 106 if (enc_len < AES_BLOCK_SIZE + 2) in wpa_ft_rrb_decrypt() 112 enc_len -= 2; in wpa_ft_rrb_decrypt() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | wpa_auth_ft.c | 71 const u8 *enc, size_t enc_len, in wpa_ft_rrb_decrypt() argument 82 wpa_hexdump(MSG_DEBUG, "FT(RRB): encrypted TLVs", enc, enc_len); in wpa_ft_rrb_decrypt() 86 *plain = os_memdup(enc, enc_len); in wpa_ft_rrb_decrypt() 87 if (enc_len > 0 && !*plain) in wpa_ft_rrb_decrypt() 90 *plain_size = enc_len; in wpa_ft_rrb_decrypt() 98 if (enc_len < AES_BLOCK_SIZE) in wpa_ft_rrb_decrypt() 101 *plain = os_zalloc(enc_len - AES_BLOCK_SIZE); in wpa_ft_rrb_decrypt() 105 if (aes_siv_decrypt(key, key_len, enc, enc_len, 3, ad, ad_len, in wpa_ft_rrb_decrypt() 107 if (enc_len < AES_BLOCK_SIZE + 2) in wpa_ft_rrb_decrypt() 113 enc_len -= 2; in wpa_ft_rrb_decrypt() [all …]
|
/third_party/openssl/crypto/pem/ |
D | pem_info.c | 138 xi->enc_len = 0; in STACK_OF() 176 xi->enc_len = (int)len; in STACK_OF() 254 if ((xi->enc_data != NULL) && (xi->enc_len > 0)) { in PEM_X509_INFO_write_bio() 263 i = xi->enc_len; in PEM_X509_INFO_write_bio()
|
/third_party/openssl/crypto/ec/ |
D | ec2_oct.c | 263 size_t field_len, enc_len; in ossl_ec_GF2m_simple_oct2point() local 311 enc_len = in ossl_ec_GF2m_simple_oct2point() 315 if (len != enc_len) { in ossl_ec_GF2m_simple_oct2point()
|
D | ecp_oct.c | 282 size_t field_len, enc_len; in ossl_ec_GFp_simple_oct2point() local 313 enc_len = in ossl_ec_GFp_simple_oct2point() 317 if (len != enc_len) { in ossl_ec_GFp_simple_oct2point()
|
/third_party/openssl/include/crypto/ |
D | punycode.h | 16 const size_t enc_len,
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/sdp/ |
D | gstmikey.c | 1453 guint enc_len; in payloads_to_bytes() local 1472 enc_len = in payloads_to_bytes() 1475 GST_WRITE_UINT16_BE (&data[2], enc_len); in payloads_to_bytes() 1476 data += enc_len; in payloads_to_bytes() 1764 guint16 enc_len; in payloads_from_bytes() local 1781 enc_len = GST_READ_UINT16_BE (&d[2]); in payloads_from_bytes() 1782 CHECK_SIZE (5 + enc_len); in payloads_from_bytes() 1785 ADVANCE (enc_len); in payloads_from_bytes() 1806 ((GstMIKEYPayloadKEMAC *) p)->subpayloads, enc_data, enc_len, np, in payloads_from_bytes()
|
/third_party/openssl/doc/internal/man3/ |
D | ossl_punycode_decode.pod | 12 int ossl_punycode_decode(const char *pEncoded, const size_t enc_len,
|
/third_party/openssl/ohos_lite/include/openssl/ |
D | x509.h | 250 int enc_len; member
|
/third_party/openssl/include/openssl/ |
D | x509.h.in | 214 int enc_len; member
|