commit | 45a367d8cf3692389c49058731503c54ec5c70df | [log] [tgz] |
---|---|---|
author | Joakim Bech <joakim.bech@linaro.org> | Thu Jun 20 16:19:06 2019 +0200 |
committer | Jérôme Forissier <jerome@forissier.org> | Tue Oct 08 17:05:54 2019 +0200 |
tree | 7c198354e4701bc088786f041d4757cc0b6b3cee | |
parent | 0c76446cb77ebb8dcce20f5a2f2b5068e59ac2d9 [diff] |
cryp: ensure that mode is AE in syscall_authenc_ functions When doing calls to syscall_authenc_xyz functions (all of them except syscall_authenc_init) there is no check being done that the state coming from the TA has been initialized to a valid authenticated encryption state. As a consequence of that it's possible to redirect execution to other functions. Doing like that will make TEE core end up with a data abort. Fixes: OP-TEE-2019-0019 Signed-off-by: Joakim Bech <joakim.bech@linaro.org> Reported-by: Martijn Bogaard <bogaard@riscure.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-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