Lines Matching refs:in_msg
344 written_in = ssl->in_msg - ssl->in_buf; in handle_buffer_resizing()
385 ssl->in_msg = ssl->in_buf + written_in; in handle_buffer_resizing()
1454 ssl->in_msg = NULL; in mbedtls_ssl_setup()
7118 if (ssl->in_msg[0] != MBEDTLS_SSL_HS_CERTIFICATE) { in ssl_parse_certificate_chain()
7136 n = (ssl->in_msg[i+1] << 8) | ssl->in_msg[i+2]; in ssl_parse_certificate_chain()
7138 if (ssl->in_msg[i] != 0 || in ssl_parse_certificate_chain()
7161 if (ssl->in_msg[i] != 0) { in ssl_parse_certificate_chain()
7170 n = ((unsigned int) ssl->in_msg[i + 1] << 8) in ssl_parse_certificate_chain()
7171 | (unsigned int) ssl->in_msg[i + 2]; in ssl_parse_certificate_chain()
7193 &ssl->in_msg[i], in ssl_parse_certificate_chain()
7209 ret = mbedtls_x509_crt_parse_der(chain, ssl->in_msg + i, n); in ssl_parse_certificate_chain()
7213 ret = mbedtls_x509_crt_parse_der_nocopy(chain, ssl->in_msg + i, n); in ssl_parse_certificate_chain()
7255 ssl->in_msg[0] == MBEDTLS_SSL_HS_CERTIFICATE && in ssl_srv_check_client_no_crt_notification()
7256 memcmp(ssl->in_msg + mbedtls_ssl_hs_hdr_len(ssl), "\0\0\0", 3) == 0) { in ssl_srv_check_client_no_crt_notification()
8098 if (ssl->in_msg[0] != MBEDTLS_SSL_HS_FINISHED) { in mbedtls_ssl_parse_finished()
8113 if (mbedtls_ct_memcmp(ssl->in_msg + mbedtls_ssl_hs_hdr_len(ssl), in mbedtls_ssl_parse_finished()