commit | f5c3d85a579c9594ee7592af0c0783891c21d9e0 | [log] [tgz] |
---|---|---|
author | Julien Masson <jmasson@baylibre.com> | Tue Dec 01 09:14:14 2020 +0100 |
committer | Jérôme Forissier <jerome@forissier.org> | Mon Mar 13 08:51:13 2023 +0100 |
tree | b79f7dabad0613c8145f0d09224d495b1707ac66 | |
parent | 2c9522664f6443e172745b619e0dc59a44a29d59 [diff] |
core: crypto: add support MD5 hashes in RSA sign/verify/cipher Introduce support of using MD5 hashes in RSA sign/verify/cipher operations, which is required by AOSP Keymaster. This is verified in VerificationOperationsTest.RsaSuccess VTS Test [1], which checks usage of such digests: NONE, MD5, SHA1, SHA_2_224, SHA_2_256, SHA_2_384, SHA_2_512. This patch has been inspired by commit[2]: Link: [1] https://android.googlesource.com/platform/hardware/interfaces/+/master/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp Link: [2] https://github.com/OP-TEE/optee_os/commit/199d0b7310d1705661a106358f1f0b46e4c5c587 ("core: crypto: add support MD5 hashes in RSA sign/verify") Signed-off-by: Julien Masson <jmasson@baylibre.com> Signed-off-by: Safae Ouajih <souajih@baylibre.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@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