aboutsummaryrefslogtreecommitdiff
path: root/configs/config-tfm.h
diff options
context:
space:
mode:
authorYanray Wang <yanray.wang@arm.com>2023-09-06 12:32:10 +0800
committerYanray Wang <yanray.wang@arm.com>2023-09-26 17:15:52 +0800
commitb153aaed9e16672f16312fd6dd31f034b778d42d (patch)
tree84f106ce499a2877990b069b08c8e3c0148882c2 /configs/config-tfm.h
parent28648236710155d30538638428b935dd1cf4d20f (diff)
downloadmbedtls-b153aaed9e16672f16312fd6dd31f034b778d42d.zip
mbedtls-b153aaed9e16672f16312fd6dd31f034b778d42d.tar.gz
mbedtls-b153aaed9e16672f16312fd6dd31f034b778d42d.tar.bz2
configs: add config_tfm.h which includes TFM configs
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
Diffstat (limited to 'configs/config-tfm.h')
-rw-r--r--configs/config-tfm.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/configs/config-tfm.h b/configs/config-tfm.h
new file mode 100644
index 0000000..ec9dc98
--- /dev/null
+++ b/configs/config-tfm.h
@@ -0,0 +1,27 @@
+/**
+ * \file config-tfm.h
+ *
+ * \brief TF-M configuration with tweaks for a successful build and test.
+ */
+/*
+ * Copyright The Mbed TLS Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/* TF-M Configuration Options */
+#include "../configs/ext/tfm_mbedcrypto_config_profile_medium.h"
+
+/* TF-M PSA Crypto Configuration */
+#define MBEDTLS_PSA_CRYPTO_CONFIG_FILE "../configs/ext/crypto_config_profile_medium.h"