Searched refs:certificate_request_context_len (Results 1 – 4 of 4) sorted by relevance
391 size_t certificate_request_context_len = 0; in mbedtls_ssl_tls13_parse_certificate() local398 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() local809 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()
2348 size_t certificate_request_context_len = 0; in ssl_tls13_parse_certificate_request() local2358 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()
982 unsigned char certificate_request_context_len; member
2148 size_t certificate_request_context_len = buf[0]; in tweak_tls13_certificate_msg_vector_len() local2151 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()