Lines Matching refs:TA

1172     mbedtls_mpi TA, TB;  in mbedtls_mpi_mul_mpi()  local
1174 mbedtls_mpi_init( &TA ); mbedtls_mpi_init( &TB ); in mbedtls_mpi_mul_mpi()
1176 if( X == A ) { MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &TA, A ) ); A = &TA; } in mbedtls_mpi_mul_mpi()
1197 mbedtls_mpi_free( &TB ); mbedtls_mpi_free( &TA ); in mbedtls_mpi_mul_mpi()
1814 mbedtls_mpi TG, TA, TB; in mbedtls_mpi_gcd() local
1816 mbedtls_mpi_init( &TG ); mbedtls_mpi_init( &TA ); mbedtls_mpi_init( &TB ); in mbedtls_mpi_gcd()
1818 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &TA, A ) ); in mbedtls_mpi_gcd()
1821 lz = mbedtls_mpi_lsb( &TA ); in mbedtls_mpi_gcd()
1827 MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( &TA, lz ) ); in mbedtls_mpi_gcd()
1830 TA.s = TB.s = 1; in mbedtls_mpi_gcd()
1832 while( mbedtls_mpi_cmp_int( &TA, 0 ) != 0 ) in mbedtls_mpi_gcd()
1834 MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( &TA, mbedtls_mpi_lsb( &TA ) ) ); in mbedtls_mpi_gcd()
1837 if( mbedtls_mpi_cmp_mpi( &TA, &TB ) >= 0 ) in mbedtls_mpi_gcd()
1839 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_abs( &TA, &TA, &TB ) ); in mbedtls_mpi_gcd()
1840 MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( &TA, 1 ) ); in mbedtls_mpi_gcd()
1844 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_abs( &TB, &TB, &TA ) ); in mbedtls_mpi_gcd()
1854 mbedtls_mpi_free( &TG ); mbedtls_mpi_free( &TA ); mbedtls_mpi_free( &TB ); in mbedtls_mpi_gcd()
1889 mbedtls_mpi G, TA, TU, U1, U2, TB, TV, V1, V2; in mbedtls_mpi_inv_mod() local
1894 …mbedtls_mpi_init( &TA ); mbedtls_mpi_init( &TU ); mbedtls_mpi_init( &U1 ); mbedtls_mpi_init( &U2 ); in mbedtls_mpi_inv_mod()
1906 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( &TA, A, N ) ); in mbedtls_mpi_inv_mod()
1907 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &TU, &TA ) ); in mbedtls_mpi_inv_mod()
1925 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &U2, &U2, &TA ) ); in mbedtls_mpi_inv_mod()
1939 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &V2, &V2, &TA ) ); in mbedtls_mpi_inv_mod()
1971 …mbedtls_mpi_free( &TA ); mbedtls_mpi_free( &TU ); mbedtls_mpi_free( &U1 ); mbedtls_mpi_free( &U2 ); in mbedtls_mpi_inv_mod()