Home
last modified time | relevance | path

Searched refs:certificate_request_context_len (Results 1 – 4 of 4) sorted by relevance

/mbedtls-3.5.0/library/
Dssl_tls13_generic.c391 size_t certificate_request_context_len = 0; in mbedtls_ssl_tls13_parse_certificate() local
398 certificate_request_context_len = p[0]; in mbedtls_ssl_tls13_parse_certificate()
405 if ((certificate_request_context_len != 0) || in mbedtls_ssl_tls13_parse_certificate()
808 unsigned char certificate_request_context_len = in ssl_tls13_write_certificate_body() local
809 ssl->handshake->certificate_request_context_len; in ssl_tls13_write_certificate_body()
817 MBEDTLS_SSL_CHK_BUF_PTR(p, end, certificate_request_context_len + 1); in ssl_tls13_write_certificate_body()
818 *p++ = certificate_request_context_len; in ssl_tls13_write_certificate_body()
819 if (certificate_request_context_len > 0) { in ssl_tls13_write_certificate_body()
820 memcpy(p, certificate_request_context, certificate_request_context_len); in ssl_tls13_write_certificate_body()
821 p += certificate_request_context_len; in ssl_tls13_write_certificate_body()
Dssl_tls13_client.c2348 size_t certificate_request_context_len = 0; in ssl_tls13_parse_certificate_request() local
2358 certificate_request_context_len = (size_t) p[0]; in ssl_tls13_parse_certificate_request()
2361 if (certificate_request_context_len > 0) { in ssl_tls13_parse_certificate_request()
2362 MBEDTLS_SSL_CHK_BUF_READ_PTR(p, end, certificate_request_context_len); in ssl_tls13_parse_certificate_request()
2364 p, certificate_request_context_len); in ssl_tls13_parse_certificate_request()
2367 mbedtls_calloc(1, certificate_request_context_len); in ssl_tls13_parse_certificate_request()
2373 certificate_request_context_len); in ssl_tls13_parse_certificate_request()
2374 p += certificate_request_context_len; in ssl_tls13_parse_certificate_request()
Dssl_misc.h982 unsigned char certificate_request_context_len; member
/mbedtls-3.5.0/tests/src/test_helpers/
Dssl_helpers.c2148 size_t certificate_request_context_len = buf[0]; in tweak_tls13_certificate_msg_vector_len() local
2151 buf + 1 + certificate_request_context_len; in tweak_tls13_certificate_msg_vector_len()
2179 (unsigned char) certificate_request_context_len + 1; in tweak_tls13_certificate_msg_vector_len()