diff options
author | Edison Ai <edison.ai@arm.com> | 2017-12-15 16:38:30 +0800 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2019-04-01 09:34:25 +0200 |
commit | 77327d7a47019cf9f66972403d0de1c32fe4cdee (patch) | |
tree | 0e13ba3fceeeb60bb53997c66863590c98b57f8a /mk/config.mk | |
parent | 8452b18172c76723ca6bd0606c8696d8c588673b (diff) |
libmbedtls: support mbedTLS in kernel mode
Initial step of mbedtls cryptos integration.
Directory created and interface file is drafted.
All function interfaces are set to "not supported".
The mbedtls can be selected by specifying build flags
"CFG_CRYPTOLIB_NAME=mbedtls" and "CFG_CRYPTOLIB_DIR=lib/libmbedtls"
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Edison Ai <edison.ai@arm.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'mk/config.mk')
-rw-r--r-- | mk/config.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/config.mk b/mk/config.mk index 69df72db..6196b39f 100644 --- a/mk/config.mk +++ b/mk/config.mk @@ -437,6 +437,10 @@ CFG_TA_MBEDTLS_SELF_TEST ?= y # for the API in <crypto/crypto.h> # CFG_CRYPTOLIB_NAME is used as libname and # CFG_CRYPTOLIB_DIR is used as libdir when compiling the library +# +# It's also possible to configure to use mbedtls instead of tomcrypt. +# Then the variables should be assigned as "CFG_CRYPTOLIB_NAME=mbedtls" and +# "CFG_CRYPTOLIB_DIR=lib/libmbedtls" respectively. CFG_CRYPTOLIB_NAME ?= tomcrypt CFG_CRYPTOLIB_DIR ?= core/lib/libtomcrypt |