Correctly include psa/crypto.h in query_config.fmt

Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
This commit is contained in:
Tom Cosgrove 2022-07-26 11:54:08 +01:00
parent ff3c6c1a1a
commit b839c54e1d

View file

@ -30,8 +30,12 @@
/* /*
* Include all the headers with public APIs in case they define a macro to its * Include all the headers with public APIs in case they define a macro to its
* default value when that configuration is not set in the mbedtls_config.h. * default value when that configuration is not set in mbedtls_config.h, or
* for PSA_WANT macros, in case they're auto-defined based on mbedtls_config.h
* rather than defined directly in crypto_config.h.
*/ */
#include "psa/crypto.h"
#include "mbedtls/aes.h" #include "mbedtls/aes.h"
#include "mbedtls/aria.h" #include "mbedtls/aria.h"
#include "mbedtls/asn1.h" #include "mbedtls/asn1.h"
@ -90,8 +94,6 @@
#include "mbedtls/x509_crt.h" #include "mbedtls/x509_crt.h"
#include "mbedtls/x509_csr.h" #include "mbedtls/x509_csr.h"
#include "psa/crypto_config.h"
#include <string.h> #include <string.h>
/* /*