mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-05-10 08:59:05 +08:00
Move MBEDTLS_CIPHER modification to appropriate section
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
13d2633126
commit
7565b54545
@ -42,11 +42,6 @@
|
|||||||
#undef MBEDTLS_PLATFORM_STD_EXIT_SUCCESS
|
#undef MBEDTLS_PLATFORM_STD_EXIT_SUCCESS
|
||||||
#undef MBEDTLS_PLATFORM_STD_EXIT_FAILURE
|
#undef MBEDTLS_PLATFORM_STD_EXIT_FAILURE
|
||||||
|
|
||||||
/* CCM is the only cipher/AEAD enabled in TF-M configuration files, but it
|
|
||||||
* does not need CIPHER_C to be enabled, so we can disable it in order
|
|
||||||
* to reduce code size further. */
|
|
||||||
#undef MBEDTLS_CIPHER_C
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* In order to get an example config that works cleanly out-of-the-box
|
* In order to get an example config that works cleanly out-of-the-box
|
||||||
* for both baremetal and non-baremetal builds, we detect baremetal builds
|
* for both baremetal and non-baremetal builds, we detect baremetal builds
|
||||||
@ -66,3 +61,8 @@
|
|||||||
|
|
||||||
// We expect TF-M to pick this up soon
|
// We expect TF-M to pick this up soon
|
||||||
#define MBEDTLS_BLOCK_CIPHER_NO_DECRYPT
|
#define MBEDTLS_BLOCK_CIPHER_NO_DECRYPT
|
||||||
|
|
||||||
|
/* CCM is the only cipher/AEAD enabled in TF-M configuration files, but it
|
||||||
|
* does not need CIPHER_C to be enabled, so we can disable it in order
|
||||||
|
* to reduce code size further. */
|
||||||
|
#undef MBEDTLS_CIPHER_C
|
||||||
|
Loading…
x
Reference in New Issue
Block a user