/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_client_read.c | 295 cert->cert_len); in tls_peer_cert_event() 347 cert->cert_len); in tls_cert_chain_failure_event() 358 size_t left, len, list_len, cert_len, idx; in tls_process_certificate() local 457 cert_len = WPA_GET_BE24(pos); in tls_process_certificate() 460 if ((size_t) (end - pos) < cert_len) { in tls_process_certificate() 463 (unsigned long) cert_len, in tls_process_certificate() 472 (unsigned long) idx, (unsigned long) cert_len); in tls_process_certificate() 476 if (tls_parse_cert(pos, cert_len, in tls_process_certificate() 487 cert = x509_certificate_parse(pos, cert_len); in tls_process_certificate() 506 pos += cert_len; in tls_process_certificate() [all …]
|
D | tlsv1_server_read.c | 400 size_t left, len, list_len, cert_len, idx; in tls_process_certificate() local 499 cert_len = WPA_GET_BE24(pos); in tls_process_certificate() 502 if ((size_t) (end - pos) < cert_len) { in tls_process_certificate() 504 (unsigned long) cert_len, in tls_process_certificate() 513 (unsigned long) idx, (unsigned long) cert_len); in tls_process_certificate() 517 if (tls_parse_cert(pos, cert_len, in tls_process_certificate() 527 cert = x509_certificate_parse(pos, cert_len); in tls_process_certificate() 543 pos += cert_len; in tls_process_certificate()
|
D | tlsv1_client_write.c | 34 len += 3 + cert->cert_len; in tls_client_cert_chain_der_len() 297 if (3 + cert->cert_len > (size_t) (end - pos)) { in tls_write_client_certificate() 300 (unsigned long) cert->cert_len, in tls_write_client_certificate() 306 WPA_PUT_BE24(pos, cert->cert_len); in tls_write_client_certificate() 308 os_memcpy(pos, cert->cert_start, cert->cert_len); in tls_write_client_certificate() 309 pos += cert->cert_len; in tls_write_client_certificate()
|
D | tlsv1_server_write.c | 31 len += 3 + cert->cert_len; in tls_server_cert_chain_der_len() 230 if (3 + cert->cert_len > (size_t) (end - pos)) { in tls_write_server_certificate() 233 (unsigned long) cert->cert_len, in tls_write_server_certificate() 239 WPA_PUT_BE24(pos, cert->cert_len); in tls_write_server_certificate() 241 os_memcpy(pos, cert->cert_start, cert->cert_len); in tls_write_server_certificate() 242 pos += cert->cert_len; in tls_write_server_certificate()
|
D | x509v3.h | 113 size_t cert_len; member
|
D | x509v3.c | 1793 cert->cert_len = len; in x509_certificate_parse()
|
/external/webrtc/rtc_base/ |
D | openssl_utility_unittest.cc | 176 SSL* CreateSSLWithPeerCertificate(const unsigned char* cert, size_t cert_len) { in CreateSSLWithPeerCertificate() argument 178 d2i_X509(nullptr, &cert, checked_cast<long>(cert_len)); // NOLINT in CreateSSLWithPeerCertificate()
|
/external/openscreen/cast/sender/channel/ |
D | cast_auth_util.cc | 263 int cert_len = i2d_X509(peer_cert, nullptr); in AuthenticateChallengeReplyImpl() local 264 if (cert_len <= 0) { in AuthenticateChallengeReplyImpl() 268 std::vector<uint8_t> nonce_plus_peer_cert_der(nonce_response_size + cert_len, in AuthenticateChallengeReplyImpl()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | ikev2.c | 492 const u8 *cert, size_t cert_len) in ikev2_process_cert() argument 504 if (cert_len < 1) { in ikev2_process_cert() 511 cert_len--; in ikev2_process_cert() 514 wpa_hexdump(MSG_MSGDUMP, "IKEV2: Certificate Data", cert, cert_len); in ikev2_process_cert() 639 ikev2_process_cert(data, pl.cert, pl.cert_len) < 0 || in ikev2_process_sa_auth_decrypted()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | ikev2.c | 558 const u8 *cert, size_t cert_len) in ikev2_process_cert() argument 570 if (cert_len < 1) { in ikev2_process_cert() 577 cert_len--; in ikev2_process_cert() 580 wpa_hexdump(MSG_MSGDUMP, "IKEV2: Certificate Data", cert, cert_len); in ikev2_process_cert() 703 ikev2_process_cert(data, pl.cert, pl.cert_len) < 0 || in ikev2_process_sa_auth_decrypted()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | ikev2_common.h | 305 size_t cert_len; member
|
D | ikev2_common.c | 307 payloads->cert_len = pdatalen; in ikev2_parse_payloads()
|
/external/boringssl/src/ssl/ |
D | ssl_x509.cc | 177 int cert_len = i2d_X509(x509, &buf); in x509_to_buffer() local 178 if (cert_len <= 0) { in x509_to_buffer() 182 UniquePtr<CRYPTO_BUFFER> buffer(CRYPTO_BUFFER_new(buf, cert_len, NULL)); in x509_to_buffer()
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | ssl_x509.cc | 177 int cert_len = i2d_X509(x509, &buf); in x509_to_buffer() local 178 if (cert_len <= 0) { in x509_to_buffer() 182 UniquePtr<CRYPTO_BUFFER> buffer(CRYPTO_BUFFER_new(buf, cert_len, NULL)); in x509_to_buffer()
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_wolfssl.c | 821 int cert_len; in get_x509_cert() local 823 data = wolfSSL_X509_get_der(cert, &cert_len); in get_x509_cert() 825 buf = wpabuf_alloc_copy(data, cert_len); in get_x509_cert()
|
D | tls_openssl.c | 2160 int cert_len = i2d_X509(cert, NULL); in get_x509_cert() local 2161 if (cert_len <= 0) in get_x509_cert() 2164 buf = wpabuf_alloc(cert_len); in get_x509_cert() 2168 tmp = wpabuf_put(buf, cert_len); in get_x509_cert()
|