Home
last modified time | relevance | path

Searched refs:enc_len (Results 1 – 8 of 8) sorted by relevance

/third_party/mbedtls/library/
Dssl_ticket.c307 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/pem/
Dpem_info.c119 xi->enc_len = 0; in STACK_OF()
142 xi->enc_len = 0; in STACK_OF()
165 xi->enc_len = 0; in STACK_OF()
203 xi->enc_len = (int)len; in STACK_OF()
277 if ((xi->enc_data != NULL) && (xi->enc_len > 0)) { in PEM_X509_INFO_write_bio()
286 i = xi->enc_len; in PEM_X509_INFO_write_bio()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth_ft.c70 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/
Dwpa_auth_ft.c71 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/ec/
Dec2_oct.c243 size_t field_len, enc_len; in ec_GF2m_simple_oct2point() local
288 enc_len = in ec_GF2m_simple_oct2point()
292 if (len != enc_len) { in ec_GF2m_simple_oct2point()
Decp_oct.c276 size_t field_len, enc_len; in ec_GFp_simple_oct2point() local
307 enc_len = in ec_GFp_simple_oct2point()
311 if (len != enc_len) { in ec_GFp_simple_oct2point()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/sdp/
Dgstmikey.c1453 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/include/openssl/
Dx509.h250 int enc_len; member