Home
last modified time | relevance | path

Searched hist:b2b2762365c1fe71772f93867b68d776b21894d6 (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/crypto/
H A Daes-gcm-sw.cb2b2762365c1fe71772f93867b68d776b21894d6 Wed May 06 20:42:18 UTC 2020 Sander Visser <github@visser.se> core: refactoring to avoid possible NULL_PTR arithmetics

Issue detected by Cppcheck in internal_aes_gcm_ghash_update().
Issue mitigated by adding an argument check that prevents
passing a pointer on that is calculated with NULL as base.

Also fixed a cast in the same code lines to keep constness.

Signed-off-by: Sander Visser <github@visser.se>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>