| 1 | /* |
| 2 | * Copyright The Mbed TLS Contributors |
| 3 | * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later |
| 4 | */ |
| 5 | |
| 6 | #ifndef MBEDTLS_SSL_TLS13_INVASIVE_H |
| 7 | #define MBEDTLS_SSL_TLS13_INVASIVE_H |
| 8 | |
| 9 | #include "common.h" |
| 10 | |
| 11 | #if defined(MBEDTLS_SSL_PROTO_TLS1_3) |
| 12 | |
| 13 | #include "psa/crypto.h" |
| 14 | |
| 15 | #if defined(MBEDTLS_TEST_HOOKS) |
| 16 | int mbedtls_ssl_tls13_parse_certificate(mbedtls_ssl_context *ssl, |
| 17 | const unsigned char *buf, |
| 18 | const unsigned char *end); |
| 19 | #endif /* MBEDTLS_TEST_HOOKS */ |
| 20 | |
| 21 | #endif /* MBEDTLS_SSL_PROTO_TLS1_3 */ |
| 22 | |
| 23 | #endif /* MBEDTLS_SSL_TLS13_INVASIVE_H */ |
| 24 | |