blob: b4506f71c7ef16d5b1606497eb1694e41d72141a [file] [log] [blame]
Gabor Mezeia3eecd22022-02-09 16:57:26 +01001/*
2 * Copyright The Mbed TLS Contributors
Dave Rodgman16799db2023-11-02 19:47:20 +00003 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
Gabor Mezeia3eecd22022-02-09 16:57:26 +01004 */
5
6#ifndef MBEDTLS_SSL_TLS13_INVASIVE_H
7#define MBEDTLS_SSL_TLS13_INVASIVE_H
8
9#include "common.h"
10
Gabor Mezei5d9a1fe2022-03-24 17:49:14 +010011#if defined(MBEDTLS_SSL_PROTO_TLS1_3)
12
Gabor Mezeia3eecd22022-02-09 16:57:26 +010013#include "psa/crypto.h"
Gabor Mezeia3eecd22022-02-09 16:57:26 +010014
15#if defined(MBEDTLS_TEST_HOOKS)
Gilles Peskine449bd832023-01-11 14:50:10 +010016int mbedtls_ssl_tls13_parse_certificate(mbedtls_ssl_context *ssl,
17 const unsigned char *buf,
18 const unsigned char *end);
Gabor Mezeia3eecd22022-02-09 16:57:26 +010019#endif /* MBEDTLS_TEST_HOOKS */
20
Gabor Mezei5d9a1fe2022-03-24 17:49:14 +010021#endif /* MBEDTLS_SSL_PROTO_TLS1_3 */
22
Gabor Mezeia3eecd22022-02-09 16:57:26 +010023#endif /* MBEDTLS_SSL_TLS13_INVASIVE_H */