Searched refs:cert_data_len (Results 1 – 2 of 2) sorted by relevance
/external/mbedtls/library/ |
D | ssl_tls13_generic.c | 450 size_t cert_data_len, extensions_len; in mbedtls_ssl_tls13_parse_certificate() local 454 cert_data_len = MBEDTLS_GET_UINT24_BE( p, 0 ); in mbedtls_ssl_tls13_parse_certificate() 462 if( ( cert_data_len < 128 ) || ( cert_data_len >= 0x10000 ) ) in mbedtls_ssl_tls13_parse_certificate() 470 MBEDTLS_SSL_CHK_BUF_READ_PTR( p, certificate_list_end, cert_data_len ); in mbedtls_ssl_tls13_parse_certificate() 472 p, cert_data_len ); in mbedtls_ssl_tls13_parse_certificate() 502 p += cert_data_len; in mbedtls_ssl_tls13_parse_certificate() 867 size_t cert_data_len = crt->raw.len; in ssl_tls13_write_certificate_body() local 869 MBEDTLS_SSL_CHK_BUF_PTR( p, end, cert_data_len + 3 + 2 ); in ssl_tls13_write_certificate_body() 870 MBEDTLS_PUT_UINT24_BE( cert_data_len, p, 0 ); in ssl_tls13_write_certificate_body() 873 memcpy( p, crt->raw.p, cert_data_len ); in ssl_tls13_write_certificate_body() [all …]
|
/external/mbedtls/tests/suites/ |
D | test_suite_ssl.function | 2513 size_t cert_data_len = MBEDTLS_GET_UINT24_BE( p_cert_data_len, 0 ); 2515 unsigned char *p_extensions_len = cert_data + cert_data_len;
|