Lines Matching refs:Zi
746 mbedtls_mpi Zi, ZZi; in ecp_normalize_jac() local
751 mbedtls_mpi_init( &Zi ); mbedtls_mpi_init( &ZZi ); in ecp_normalize_jac()
756 MBEDTLS_MPI_CHK( mbedtls_mpi_inv_mod( &Zi, &pt->Z, &grp->P ) ); in ecp_normalize_jac()
757 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &ZZi, &Zi, &Zi ) ); MOD_MUL( ZZi ); in ecp_normalize_jac()
764 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &pt->Y, &pt->Y, &Zi ) ); MOD_MUL( pt->Y ); in ecp_normalize_jac()
773 mbedtls_mpi_free( &Zi ); mbedtls_mpi_free( &ZZi ); in ecp_normalize_jac()
794 mbedtls_mpi *c, u, Zi, ZZi; in ecp_normalize_jac_many() local
802 mbedtls_mpi_init( &u ); mbedtls_mpi_init( &Zi ); mbedtls_mpi_init( &ZZi ); in ecp_normalize_jac_many()
826 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &Zi, &u ) ); in ecp_normalize_jac_many()
830 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &Zi, &u, &c[i-1] ) ); MOD_MUL( Zi ); in ecp_normalize_jac_many()
837 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &ZZi, &Zi, &Zi ) ); MOD_MUL( ZZi ); in ecp_normalize_jac_many()
840 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &T[i]->Y, &T[i]->Y, &Zi ) ); MOD_MUL( T[i]->Y ); in ecp_normalize_jac_many()
858 mbedtls_mpi_free( &u ); mbedtls_mpi_free( &Zi ); mbedtls_mpi_free( &ZZi ); in ecp_normalize_jac_many()