1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-12-06 12:00:59 +03:00

ssl: rm useless private includes in internal headers

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
Manuel Pégourié-Gonnard
2025-12-01 10:16:52 +01:00
parent 53c511578a
commit 4b663abecc
2 changed files with 1 additions and 26 deletions

View File

@@ -11,9 +11,6 @@
#define MBEDTLS_SSL_CIPHERSUITES_INTERNAL_H
#include "mbedtls/pk.h"
#if defined(MBEDTLS_PK_HAVE_PRIVATE_HEADER)
#include <mbedtls/private/pk_private.h>
#endif /* MBEDTLS_PK_HAVE_PRIVATE_HEADER */
#if defined(MBEDTLS_PK_C)
mbedtls_pk_sigalg_t mbedtls_ssl_get_ciphersuite_sig_pk_alg(const mbedtls_ssl_ciphersuite_t *info);

View File

@@ -19,35 +19,13 @@
#include "mbedtls/debug.h"
#include "debug_internal.h"
#include "mbedtls/private/cipher.h"
#include "psa/crypto.h"
#include "psa_util_internal.h"
#include "psa_util_internal.h" // XXX: internal crypto header
extern const mbedtls_error_pair_t psa_to_ssl_errors[7];
#if defined(PSA_WANT_ALG_MD5)
#include "mbedtls/private/md5.h"
#endif
#if defined(PSA_WANT_ALG_SHA_1)
#include "mbedtls/private/sha1.h"
#endif
#if defined(PSA_WANT_ALG_SHA_256)
#include "mbedtls/private/sha256.h"
#endif
#if defined(PSA_WANT_ALG_SHA_512)
#include "mbedtls/private/sha512.h"
#endif
#include "mbedtls/pk.h"
#if defined(MBEDTLS_PK_HAVE_PRIVATE_HEADER)
#include <mbedtls/private/pk_private.h>
#endif /* MBEDTLS_PK_HAVE_PRIVATE_HEADER */
#include "ssl_ciphersuites_internal.h"
#include "x509_internal.h"
#include "pk_internal.h"
/* Shorthand for restartable ECC */
#if defined(MBEDTLS_ECP_RESTARTABLE) && \