/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_client_read.c | 295 cert->cert_len); in tls_peer_cert_event() 339 cert->cert_len); in tls_cert_chain_failure_event() 350 size_t left, len, list_len, cert_len, idx; in tls_process_certificate() local 449 cert_len = WPA_GET_BE24(pos); in tls_process_certificate() 452 if ((size_t) (end - pos) < cert_len) { in tls_process_certificate() 455 (unsigned long) cert_len, in tls_process_certificate() 464 (unsigned long) idx, (unsigned long) cert_len); in tls_process_certificate() 468 if (tls_parse_cert(pos, cert_len, in tls_process_certificate() 479 cert = x509_certificate_parse(pos, cert_len); in tls_process_certificate() 498 pos += cert_len; in tls_process_certificate() [all …]
|
D | tlsv1_server_read.c | 372 size_t left, len, list_len, cert_len, idx; in tls_process_certificate() local 471 cert_len = WPA_GET_BE24(pos); in tls_process_certificate() 474 if ((size_t) (end - pos) < cert_len) { in tls_process_certificate() 476 (unsigned long) cert_len, in tls_process_certificate() 485 (unsigned long) idx, (unsigned long) cert_len); in tls_process_certificate() 489 if (tls_parse_cert(pos, cert_len, in tls_process_certificate() 499 cert = x509_certificate_parse(pos, cert_len); in tls_process_certificate() 515 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() 294 if (3 + cert->cert_len > (size_t) (end - pos)) { in tls_write_client_certificate() 297 (unsigned long) cert->cert_len, in tls_write_client_certificate() 303 WPA_PUT_BE24(pos, cert->cert_len); in tls_write_client_certificate() 305 os_memcpy(pos, cert->cert_start, cert->cert_len); in tls_write_client_certificate() 306 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() 227 if (3 + cert->cert_len > (size_t) (end - pos)) { in tls_write_server_certificate() 230 (unsigned long) cert->cert_len, in tls_write_server_certificate() 236 WPA_PUT_BE24(pos, cert->cert_len); in tls_write_server_certificate() 238 os_memcpy(pos, cert->cert_start, cert->cert_len); in tls_write_server_certificate() 239 pos += cert->cert_len; in tls_write_server_certificate()
|
D | x509v3.h | 106 size_t cert_len; member
|
D | x509v3.c | 1631 cert->cert_len = len; in x509_certificate_parse()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | ikev2.c | 559 const u8 *cert, size_t cert_len) in ikev2_process_cert() argument 571 if (cert_len < 1) { in ikev2_process_cert() 578 cert_len--; in ikev2_process_cert() 581 wpa_hexdump(MSG_MSGDUMP, "IKEV2: Certificate Data", cert, cert_len); in ikev2_process_cert() 704 ikev2_process_cert(data, pl.cert, pl.cert_len) < 0 || in ikev2_process_sa_auth_decrypted()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | ikev2.c | 491 const u8 *cert, size_t cert_len) in ikev2_process_cert() argument 503 if (cert_len < 1) { in ikev2_process_cert() 510 cert_len--; in ikev2_process_cert() 513 wpa_hexdump(MSG_MSGDUMP, "IKEV2: Certificate Data", cert, cert_len); in ikev2_process_cert() 638 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 | 374 int cert_len = i2d_X509(x509, &buf); in x509_to_buffer() local 375 if (cert_len <= 0) { in x509_to_buffer() 379 CRYPTO_BUFFER *buffer = CRYPTO_BUFFER_new(buf, cert_len, NULL); in x509_to_buffer()
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_openssl.c | 1654 int cert_len = i2d_X509(cert, NULL); in get_x509_cert() local 1655 if (cert_len <= 0) in get_x509_cert() 1658 buf = wpabuf_alloc(cert_len); in get_x509_cert() 1662 tmp = wpabuf_put(buf, cert_len); in get_x509_cert()
|