mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-05 19:35:48 +03:00
Fix uninitialised variable in some configs
This commit is contained in:
@@ -1914,6 +1914,8 @@ static int ecp_mul_comb( mbedtls_ecp_group *grp, mbedtls_ecp_point *R,
|
|||||||
#if MBEDTLS_ECP_FIXED_POINT_OPTIM == 1
|
#if MBEDTLS_ECP_FIXED_POINT_OPTIM == 1
|
||||||
p_eq_g = ( mbedtls_mpi_cmp_mpi( &P->Y, &grp->G.Y ) == 0 &&
|
p_eq_g = ( mbedtls_mpi_cmp_mpi( &P->Y, &grp->G.Y ) == 0 &&
|
||||||
mbedtls_mpi_cmp_mpi( &P->X, &grp->G.X ) == 0 );
|
mbedtls_mpi_cmp_mpi( &P->X, &grp->G.X ) == 0 );
|
||||||
|
#else
|
||||||
|
p_eq_g = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Pick window size and deduce related sizes */
|
/* Pick window size and deduce related sizes */
|
||||||
|
Reference in New Issue
Block a user