v2 / thirdparty / mbedtls / library / ssl_tls13_invasive.h
23 lines · 16 sloc · 613 bytes · 1274cdc3447be8e83616e8512872455e8720c2fd
Raw
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)
16int 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