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