Home
last modified time | relevance | path

Searched hist:"66 e182806bd2719e1a7c975de00e8dbc27e0072b" (Results 1 – 1 of 1) sorted by relevance

/optee_os/lib/libutee/
H A Dtee_api_arith_mpi.c66e182806bd2719e1a7c975de00e8dbc27e0072b Wed Nov 24 11:13:22 UTC 2021 Jens Wiklander <jens.wiklander@linaro.org> libutee: Fix warning in bigint_binary_mod()

Fixes a -Wdeclaration-after-statement warning in bigint_binary_mod:
lib/libutee/tee_api_arith_mpi.c: In function ‘bigint_binary_mod’:
lib/libutee/tee_api_arith_mpi.c:358:2: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
mbedtls_mpi mpi_dest;
^~~~~~~~~~~
lib/libutee/tee_api_arith_mpi.c: In function ‘TEE_BigIntInvMod’:
lib/libutee/tee_api_arith_mpi.c:539:2: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
mbedtls_mpi mpi_dest;

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