| Gabor Mezei | a3eecd2 | 2022-02-09 16:57:26 +0100 | [diff] [blame] | 1 | /* | 
|  | 2 | *  Copyright The Mbed TLS Contributors | 
| Dave Rodgman | 16799db | 2023-11-02 19:47:20 +0000 | [diff] [blame] | 3 | *  SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | 
| Gabor Mezei | a3eecd2 | 2022-02-09 16:57:26 +0100 | [diff] [blame] | 4 | */ | 
|  | 5 |  | 
|  | 6 | #ifndef MBEDTLS_SSL_TLS13_INVASIVE_H | 
|  | 7 | #define MBEDTLS_SSL_TLS13_INVASIVE_H | 
|  | 8 |  | 
|  | 9 | #include "common.h" | 
|  | 10 |  | 
| Gabor Mezei | 5d9a1fe | 2022-03-24 17:49:14 +0100 | [diff] [blame] | 11 | #if defined(MBEDTLS_SSL_PROTO_TLS1_3) | 
|  | 12 |  | 
| Gabor Mezei | a3eecd2 | 2022-02-09 16:57:26 +0100 | [diff] [blame] | 13 | #include "psa/crypto.h" | 
| Gabor Mezei | a3eecd2 | 2022-02-09 16:57:26 +0100 | [diff] [blame] | 14 |  | 
|  | 15 | #if defined(MBEDTLS_TEST_HOOKS) | 
| Gilles Peskine | 449bd83 | 2023-01-11 14:50:10 +0100 | [diff] [blame] | 16 | int mbedtls_ssl_tls13_parse_certificate(mbedtls_ssl_context *ssl, | 
|  | 17 | const unsigned char *buf, | 
|  | 18 | const unsigned char *end); | 
| Gabor Mezei | a3eecd2 | 2022-02-09 16:57:26 +0100 | [diff] [blame] | 19 | #endif /* MBEDTLS_TEST_HOOKS */ | 
|  | 20 |  | 
| Gabor Mezei | 5d9a1fe | 2022-03-24 17:49:14 +0100 | [diff] [blame] | 21 | #endif /* MBEDTLS_SSL_PROTO_TLS1_3 */ | 
|  | 22 |  | 
| Gabor Mezei | a3eecd2 | 2022-02-09 16:57:26 +0100 | [diff] [blame] | 23 | #endif /* MBEDTLS_SSL_TLS13_INVASIVE_H */ |