Searched refs:V2 (Results 1 – 1 of 1) sorted by relevance
/mbedtls-3.5.0/library/ |
D | bignum.c | 2116 mbedtls_mpi G, TA, TU, U1, U2, TB, TV, V1, V2; in mbedtls_mpi_inv_mod() local 2127 mbedtls_mpi_init(&V1); mbedtls_mpi_init(&V2); in mbedtls_mpi_inv_mod() 2144 MBEDTLS_MPI_CHK(mbedtls_mpi_lset(&V2, 1)); in mbedtls_mpi_inv_mod() 2162 if ((V1.p[0] & 1) != 0 || (V2.p[0] & 1) != 0) { in mbedtls_mpi_inv_mod() 2164 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&V2, &V2, &TA)); in mbedtls_mpi_inv_mod() 2168 MBEDTLS_MPI_CHK(mbedtls_mpi_shift_r(&V2, 1)); in mbedtls_mpi_inv_mod() 2174 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&U2, &U2, &V2)); in mbedtls_mpi_inv_mod() 2178 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&V2, &V2, &U2)); in mbedtls_mpi_inv_mod() 2196 mbedtls_mpi_free(&V1); mbedtls_mpi_free(&V2); in mbedtls_mpi_inv_mod()
|