commit | 8ac3cb374b711a1978b5b57859fbf48c8e6fc84b | [log] [tgz] |
---|---|---|
author | Anton Antonov <Anton.Antonov@arm.com> | Wed Feb 22 15:08:28 2023 +0000 |
committer | Jérôme Forissier <jerome@forissier.org> | Mon Feb 27 09:42:59 2023 +0100 |
tree | 5aed54ab57b0da532958849c39682f34c8516041 | |
parent | 97eb916803fe6b01dac779d3511eb5a0490646d5 [diff] |
core: drivers: crypto: caam: Check PKCS_V1_5 decryption buffer size Check if original buffer is large enough for a result of RSA PKCS_V1_5 decryption operation. With this change PKCS11 variable length buffers are supported for all RSA operations: - Crypto API checks it for PKCS_V1_5 and OAEP encryptions. - OAEP decryption already supports it. This fixes: https://github.com/OP-TEE/optee_os/issues/5841 Acked-by: Clement Faure <clement.faure@nxp.com> Signed-off-by: Anton Antonov <Anton.Antonov@arm.com>
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