Searched hist:"5 b6f4be856ca7364f9e92a0e34e3ebf4c64d779a" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/lib/libutils/ext/include/ |
| H A D | fault_mitigation.h | 5b6f4be856ca7364f9e92a0e34e3ebf4c64d779a Tue May 28 13:44:44 UTC 2024 Jens Wiklander <jens.wiklander@linaro.org> core: compiler friendly 32-bit FTMN_FUNC_HASH() version
Add a more compiler friendly 32-bit implementation of FTMN_FUNC_HASH(). This gives the same output as the previous 64-bit based implementation, but base the computation on 32-bit values.
This patch reduces stack usage when compiling with arm-linux-gnueabihf-gcc version 11.3.1 using -O0 optimization. For example, sw_crypto_acipher_rsassa_verify() is reduced from 3616 bytes to 284 bytes.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (vexpress-qemu_virt)
|