Searched refs:n_bits (Results 1 – 3 of 3) sorted by relevance
72 int mbedtls_ecp_gen_privkey_mx( size_t n_bits,
2419 size_t n_bits = mbedtls_mpi_bitlen( N ); in mbedtls_mpi_random() local2420 size_t n_bytes = ( n_bits + 7 ) / 8; in mbedtls_mpi_random()2467 MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( X, 8 * n_bytes - n_bits ) ); in mbedtls_mpi_random()
1485 size_t n_bits;1501 n_bits = mbedtls_mpi_bitlen( &upper_bound );1507 if( n_bits <= 5 )1515 stats_len = n_bits;1537 for( b = 0; b < n_bits; b++ )1558 for( b = 0; b < n_bits; b++ )1569 if( statistically_safe_all_the_way || b != n_bits - 1 )