Home
last modified time | relevance | path

Searched hist:"9607 c419f030a02b2971536db4d384c10ae0e40f" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/tee/
H A Dtee_fs_key_manager.c9607c419f030a02b2971536db4d384c10ae0e40f Fri Sep 07 08:28:16 UTC 2018 Joakim Bech <joakim.bech@linaro.org> rpmb: check return value from essiv call

An error in the function essiv, as for example memory allocation failure
could result in an uninitialized IV, which means that the IV used for
en/decryption would consist of data previously stored at this memory
location. This could eventually corrupt the filesystem.

Fixes: "Return value of cryptographic function is unchecked" by Riscure.

Signed-off-by: Joakim Bech <joakim.bech@linaro.org>
Tested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU v7, v8)
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Reported-by: Riscure <inforequest@riscure.com>
Reported-by: Alyssa Milburn <a.a.milburn@vu.nl>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>