ssl_tls13_invasive.h 613 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright The Mbed TLS Contributors
  3. * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
  4. */
  5. #ifndef MBEDTLS_SSL_TLS13_INVASIVE_H
  6. #define MBEDTLS_SSL_TLS13_INVASIVE_H
  7. #include "common.h"
  8. #if defined(MBEDTLS_SSL_PROTO_TLS1_3)
  9. #include "psa/crypto.h"
  10. #if defined(MBEDTLS_TEST_HOOKS)
  11. int mbedtls_ssl_tls13_parse_certificate(mbedtls_ssl_context *ssl,
  12. const unsigned char *buf,
  13. const unsigned char *end);
  14. #endif /* MBEDTLS_TEST_HOOKS */
  15. #endif /* MBEDTLS_SSL_PROTO_TLS1_3 */
  16. #endif /* MBEDTLS_SSL_TLS13_INVASIVE_H */