Add a justification for early md.h include in programs

Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
Andrzej Kurek 2023-04-05 14:44:38 -04:00
parent da86e2e5bd
commit 316b7dd19c
10 changed files with 10 additions and 0 deletions

View file

@ -20,6 +20,7 @@
#include "mbedtls/build_info.h"
#include "mbedtls/platform.h"
// md.h is included this early since MD_CAN_XXX macros are defined there.
#include "mbedtls/md.h"
#if defined(MBEDTLS_AES_C) && defined(MBEDTLS_DHM_C) && \

View file

@ -20,6 +20,7 @@
#include "mbedtls/build_info.h"
#include "mbedtls/platform.h"
// md.h is included this early since MD_CAN_XXX macros are defined there.
#include "mbedtls/md.h"
#if !defined(MBEDTLS_BIGNUM_C) || !defined(MBEDTLS_ENTROPY_C) || \

View file

@ -20,6 +20,7 @@
#include "mbedtls/build_info.h"
#include "mbedtls/platform.h"
// md.h is included this early since MD_CAN_XXX macros are defined there.
#include "mbedtls/md.h"
#if !defined(MBEDTLS_BIGNUM_C) || !defined(MBEDTLS_MD_C) || \

View file

@ -20,6 +20,7 @@
#include "mbedtls/build_info.h"
#include "mbedtls/platform.h"
// md.h is included this early since MD_CAN_XXX macros are defined there.
#include "mbedtls/md.h"
#if !defined(MBEDTLS_BIGNUM_C) || !defined(MBEDTLS_RSA_C) || \

View file

@ -20,6 +20,7 @@
#include "mbedtls/build_info.h"
#include "mbedtls/platform.h"
// md.h is included this early since MD_CAN_XXX macros are defined there.
#include "mbedtls/md.h"
#if !defined(MBEDTLS_MD_C) || !defined(MBEDTLS_ENTROPY_C) || \

View file

@ -20,6 +20,7 @@
#include "mbedtls/build_info.h"
#include "mbedtls/platform.h"
// md.h is included this early since MD_CAN_XXX macros are defined there.
#include "mbedtls/md.h"
#if !defined(MBEDTLS_BIGNUM_C) || !defined(MBEDTLS_RSA_C) || \

View file

@ -20,6 +20,7 @@
#include "mbedtls/build_info.h"
#include "mbedtls/platform.h"
// md.h is included this early since MD_CAN_XXX macros are defined there.
#include "mbedtls/md.h"
#if !defined(MBEDTLS_MD_C) || !defined(MBEDTLS_ENTROPY_C) || \

View file

@ -58,6 +58,7 @@
#include "mbedtls/platform.h" // for mbedtls_setbuf
#include "mbedtls/platform_util.h" // for mbedtls_platform_zeroize
// md.h is included this early since MD_CAN_XXX macros are defined there.
#include "mbedtls/md.h"
#include <psa/crypto.h>

View file

@ -20,6 +20,7 @@
#include "mbedtls/build_info.h"
#include "mbedtls/platform.h"
// md.h is included this early since MD_CAN_XXX macros are defined there.
#include "mbedtls/md.h"
#if !defined(MBEDTLS_X509_CSR_WRITE_C) || !defined(MBEDTLS_FS_IO) || \

View file

@ -20,6 +20,7 @@
#include "mbedtls/build_info.h"
#include "mbedtls/platform.h"
// md.h is included this early since MD_CAN_XXX macros are defined there.
#include "mbedtls/md.h"
#if !defined(MBEDTLS_X509_CRT_WRITE_C) || \