commit | 47645577c806e80b6477193eff5ebc7de710ddf2 | [log] [tgz] |
---|---|---|
author | Jerome Forissier <jerome@forissier.org> | Fri Dec 13 10:11:11 2019 +0100 |
committer | Jérôme Forissier <jerome@forissier.org> | Wed Dec 18 11:14:08 2019 +0100 |
tree | 41890e84b58c99866cc0170a3c3aae339c979073 | |
parent | ade6f848e084d7c63f1e3866d7c059b8a9f9e834 [diff] |
core: crypto: add support for SM3 Adds support for the SM3 cryptographic hash function [1] using the API defined in the GlobalPlatform TEE Internal Core API v1.2, as well as the HMAC based on this hash. This implementation is based on code published on Gitlab [2]. See commit ade6f848e084 ("core: crypto: add support for SM4") for details. [1] https://tools.ietf.org/html/draft-sca-cfrg-sm3-02 [2] https://gitlab.com/otpfree/sm234 Signed-off-by: Jerome Forissier <jerome@forissier.org> Reviewed-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