1a8e1175bSopenharmony_ci/* 2a8e1175bSopenharmony_ci * Copyright The Mbed TLS Contributors 3a8e1175bSopenharmony_ci * SPDX-License-Identifier: Apache-2.0 4a8e1175bSopenharmony_ci * 5a8e1175bSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); you may 6a8e1175bSopenharmony_ci * not use this file except in compliance with the License. 7a8e1175bSopenharmony_ci * You may obtain a copy of the License at 8a8e1175bSopenharmony_ci * 9a8e1175bSopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 10a8e1175bSopenharmony_ci * 11a8e1175bSopenharmony_ci * Unless required by applicable law or agreed to in writing, software 12a8e1175bSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13a8e1175bSopenharmony_ci * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14a8e1175bSopenharmony_ci * See the License for the specific language governing permissions and 15a8e1175bSopenharmony_ci * limitations under the License. 16a8e1175bSopenharmony_ci */ 17a8e1175bSopenharmony_ci 18a8e1175bSopenharmony_ci#ifndef MBEDTLS_SSL_TLS13_INVASIVE_H 19a8e1175bSopenharmony_ci#define MBEDTLS_SSL_TLS13_INVASIVE_H 20a8e1175bSopenharmony_ci 21a8e1175bSopenharmony_ci#include "common.h" 22a8e1175bSopenharmony_ci 23a8e1175bSopenharmony_ci#if defined(MBEDTLS_SSL_PROTO_TLS1_3) 24a8e1175bSopenharmony_ci 25a8e1175bSopenharmony_ci#include "psa/crypto.h" 26a8e1175bSopenharmony_ci 27a8e1175bSopenharmony_ci#if defined(MBEDTLS_TEST_HOOKS) 28a8e1175bSopenharmony_ciint mbedtls_ssl_tls13_parse_certificate(mbedtls_ssl_context *ssl, 29a8e1175bSopenharmony_ci const unsigned char *buf, 30a8e1175bSopenharmony_ci const unsigned char *end); 31a8e1175bSopenharmony_ci#endif /* MBEDTLS_TEST_HOOKS */ 32a8e1175bSopenharmony_ci 33a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_PROTO_TLS1_3 */ 34a8e1175bSopenharmony_ci 35a8e1175bSopenharmony_ci#endif /* MBEDTLS_SSL_TLS13_INVASIVE_H */ 36