Changed the private header preprocessor condition, so that the old (non-private) path is only taken in case of mbedtls 3.6

Signed-off-by: Anton Matkin <[email protected]>
This commit is contained in:
Anton Matkin
2025-08-21 12:12:14 +02:00
parent 39b328e60b
commit af60653c4c
13 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
#if defined(MBEDTLS_BIGNUM_C)
#if MBEDTLS_VERSION_MAJOR >= 4
#if !defined(MBEDTLS_VERSION_MAJOR) || MBEDTLS_VERSION_MAJOR >= 4
#include <mbedtls/private/bignum.h>
#else
#include <mbedtls/bignum.h>
+1 -1
View File
@@ -16,7 +16,7 @@
#include <psa/crypto_driver_common.h>
#include <psa/crypto.h>
#if MBEDTLS_MAJOR_VERSION >= 4
#if !defined(MBEDTLS_VERSION_MAJOR) || MBEDTLS_VERSION_MAJOR >= 4
#include "mbedtls/private/cipher.h"
#else
#include "mbedtls/cipher.h"
+1 -1
View File
@@ -52,7 +52,7 @@
#if defined(MBEDTLS_BIGNUM_C)
#if MBEDTLS_VERSION_MAJOR >= 4
#if !defined(MBEDTLS_VERSION_MAJOR) || MBEDTLS_VERSION_MAJOR >= 4
#include "mbedtls/private/bignum.h"
#else
#include "mbedtls/bignum.h"
+1 -1
View File
@@ -18,7 +18,7 @@
#include <psa/crypto.h>
#if MBEDTLS_VERSION_MAJOR >= 4
#if !defined(MBEDTLS_VERSION_MAJOR) || MBEDTLS_VERSION_MAJOR >= 4
#include <mbedtls/private/ctr_drbg.h>
#else
#include <mbedtls/ctr_drbg.h>