Lines Matching refs:N
163 mbedtls_mpi N, R;
165 mbedtls_mpi_init( &N ); mbedtls_mpi_init( &R );
168 TEST_ASSERT( mbedtls_mpi_read_string( &N, 16, N_str ) == 0 );
173 * Store correct result before we touch N
175 TEST_ASSERT( mbedtls_mpi_mod_mpi( &R, &N, &grp.P ) == 0 );
177 TEST_ASSERT( grp.modp( &N ) == 0 );
178 TEST_ASSERT( mbedtls_mpi_bitlen( &N ) <= grp.pbits + 3 );
183 TEST_ASSERT( mbedtls_mpi_mod_mpi( &N, &N, &grp.P ) == 0 );
184 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &N, &R ) == 0 );
187 mbedtls_mpi_free( &N ); mbedtls_mpi_free( &R );
404 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &grp1.N, &grp2.N ) == 0 );