2022-02-09 15:57:26 +00:00
|
|
|
/*
|
|
|
|
* Copyright The Mbed TLS Contributors
|
2023-11-02 19:47:20 +00:00
|
|
|
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
2022-02-09 15:57:26 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MBEDTLS_SSL_TLS13_INVASIVE_H
|
|
|
|
#define MBEDTLS_SSL_TLS13_INVASIVE_H
|
|
|
|
|
2024-10-04 09:36:54 +00:00
|
|
|
#include "ssl_misc.h"
|
2022-02-09 15:57:26 +00:00
|
|
|
|
2022-03-24 16:49:14 +00:00
|
|
|
#if defined(MBEDTLS_SSL_PROTO_TLS1_3)
|
|
|
|
|
2022-02-09 15:57:26 +00:00
|
|
|
#include "psa/crypto.h"
|
|
|
|
|
|
|
|
#if defined(MBEDTLS_TEST_HOOKS)
|
2023-01-11 13:50:10 +00:00
|
|
|
int mbedtls_ssl_tls13_parse_certificate(mbedtls_ssl_context *ssl,
|
|
|
|
const unsigned char *buf,
|
|
|
|
const unsigned char *end);
|
2022-02-09 15:57:26 +00:00
|
|
|
#endif /* MBEDTLS_TEST_HOOKS */
|
|
|
|
|
2022-03-24 16:49:14 +00:00
|
|
|
#endif /* MBEDTLS_SSL_PROTO_TLS1_3 */
|
|
|
|
|
2022-02-09 15:57:26 +00:00
|
|
|
#endif /* MBEDTLS_SSL_TLS13_INVASIVE_H */
|