Searched refs:U2 (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 2125 mbedtls_mpi_init(&TA); mbedtls_mpi_init(&TU); mbedtls_mpi_init(&U1); mbedtls_mpi_init(&U2); in mbedtls_mpi_inv_mod() 2142 MBEDTLS_MPI_CHK(mbedtls_mpi_lset(&U2, 0)); in mbedtls_mpi_inv_mod() 2150 if ((U1.p[0] & 1) != 0 || (U2.p[0] & 1) != 0) { in mbedtls_mpi_inv_mod() 2152 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&U2, &U2, &TA)); in mbedtls_mpi_inv_mod() 2156 MBEDTLS_MPI_CHK(mbedtls_mpi_shift_r(&U2, 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() 2194 mbedtls_mpi_free(&TA); mbedtls_mpi_free(&TU); mbedtls_mpi_free(&U1); mbedtls_mpi_free(&U2); in mbedtls_mpi_inv_mod()
|