Lines Matching refs:r
499 mbedtls_mpi_uint r; in mpi_write_hlp() local
504 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_int( &r, X, radix ) ); in mpi_write_hlp()
510 if( r < 10 ) in mpi_write_hlp()
511 *(*p)++ = (char)( r + 0x30 ); in mpi_write_hlp()
513 *(*p)++ = (char)( r + 0x37 ); in mpi_write_hlp()
1223 mbedtls_mpi_uint u0, mbedtls_mpi_uint d, mbedtls_mpi_uint *r ) in mbedtls_int_div_int() argument
1240 if (r != NULL) *r = ~0; in mbedtls_int_div_int()
1252 if( r != NULL ) in mbedtls_int_div_int()
1253 *r = (mbedtls_mpi_uint)( dividend - (quotient * d ) ); in mbedtls_int_div_int()
1305 if (r != NULL) in mbedtls_int_div_int()
1306 *r = ( rAX * radix + u0_lsw - q0 * d ) >> s; in mbedtls_int_div_int()
1471 int mbedtls_mpi_mod_int( mbedtls_mpi_uint *r, const mbedtls_mpi *A, mbedtls_mpi_sint b ) in mbedtls_mpi_mod_int() argument
1487 *r = 0; in mbedtls_mpi_mod_int()
1493 *r = A->p[0] & 1; in mbedtls_mpi_mod_int()
1520 *r = y; in mbedtls_mpi_mod_int()
2018 mbedtls_mpi_uint r; in mpi_check_small_factors() local
2028 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_int( &r, X, small_prime[i] ) ); in mpi_check_small_factors()
2030 if( r == 0 ) in mpi_check_small_factors()
2183 mbedtls_mpi_uint r; in mbedtls_mpi_gen_prime() local
2222 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_int( &r, X, 3 ) ); in mbedtls_mpi_gen_prime()
2223 if( r == 0 ) in mbedtls_mpi_gen_prime()
2225 else if( r == 1 ) in mbedtls_mpi_gen_prime()