commit | 294d08c6ff89cf818a871bcb94d38ec4de3097e0 | [log] [tgz] |
---|---|---|
author | Jerome Forissier <jerome@forissier.org> | Wed Jan 27 09:45:26 2021 +0100 |
committer | Jerome Forissier <jerome@forissier.org> | Thu Feb 04 18:21:25 2021 +0100 |
tree | 681dd57c953ae8d11d8462252d2a3fb7b7450204 | |
parent | 86caa9589c6f368100971514665ba04354ba4337 [diff] |
core: add support for SM2 using MBed TLS The SM2 algorithms (PKE, KEP and DSA) are currently implemented using LibTomCrypt. They are automatically disabled when MBed TLS is selected as the core crypto library (that is, when CFG_CRYPTOLIB_NAME=mbedtls CFG_CRYPTOLIB_DIR=lib/libmbedtls). This commit removes this restriction by porting the relevant files (core/lib/libtomcrypt/sm2-{dsa,kep,pke}.c) over to the MBed TLS API in lib/libmbedtls/core. Signed-off-by: Jerome Forissier <jerome@forissier.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
This git contains source code for the secure side implementation of OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io.
// OP-TEE core maintainers