aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorJaeden Amero <jaeden.amero@arm.com>2018-07-11 16:07:40 +0100
committeritayzafrir <itay.zafrir@arm.com>2018-09-12 16:41:11 +0300
commit67a9351bc5813346f047a3fbc8384afa0a2c19b2 (patch)
tree2ec0752bd34d4843e10e2059d4414706a20cf6f2 /configs
parentb4fa8c9c6d97a65ebf5c18513b2aed53ad8f6b61 (diff)
downloadmbedtls-67a9351bc5813346f047a3fbc8384afa0a2c19b2.zip
mbedtls-67a9351bc5813346f047a3fbc8384afa0a2c19b2.tar.gz
mbedtls-67a9351bc5813346f047a3fbc8384afa0a2c19b2.tar.bz2
psa: config: Add MBEDTLS_PSA_CRYPTO_SPM
We failed check-names.sh due to using a define which wasn't described or defined anywhere. Even though we won't realistically enable MBEDTLS_PSA_CRYPTO_SPM via the configuration system (and will do it from PSA Crypto SPM tooling instead), add a description of the configuration to config.h as good practice. Exclude MBEDTLS_PSA_CRYPTO_SPM from the "full" configuration as well.
Diffstat (limited to 'configs')
-rw-r--r--configs/config-psa-crypto.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/configs/config-psa-crypto.h b/configs/config-psa-crypto.h
index 184e1ab..870e335 100644
--- a/configs/config-psa-crypto.h
+++ b/configs/config-psa-crypto.h
@@ -697,6 +697,20 @@
#define MBEDTLS_PKCS1_V21
/**
+ * \def MBEDTLS_PSA_CRYPTO_SPM
+ *
+ * When MBEDTLS_PSA_CRYPTO_SPM is defined, the code is built for SPM (Secure
+ * Partition Manager) integration which separates the code into two parts: a
+ * NSPE (Non-Secure Process Environment) and an SPE (Secure Process
+ * Environment).
+ *
+ * Module: library/psa_crypto.c
+ * Requires: MBEDTLS_PSA_CRYPTO_C
+ *
+ */
+//#define MBEDTLS_PSA_CRYPTO_SPM
+
+/**
* \def MBEDTLS_RSA_NO_CRT
*
* Do not use the Chinese Remainder Theorem for the RSA private operation.