Searched refs:mbedtls_mpi_bitlen (Results 1 – 17 of 17) sorted by relevance
88 Base test mbedtls_mpi_bitlen #189 mbedtls_mpi_bitlen:10:"5612568098175228233414189632037248949061396369355639252081601789211135060411…91 Base test mbedtls_mpi_bitlen #292 mbedtls_mpi_bitlen:10:"24":594 Base test mbedtls_mpi_bitlen #395 mbedtls_mpi_bitlen:10:"1":197 Base test mbedtls_mpi_bitlen #498 mbedtls_mpi_bitlen:10:"15":4100 Base test mbedtls_mpi_bitlen #5101 mbedtls_mpi_bitlen:10:"16":5[all …]
21 TEST_ASSERT( mbedtls_mpi_bitlen( &X ) == 0 );227 void mbedtls_mpi_bitlen( int radix_X, char *input_X, int nr_bits )233 TEST_ASSERT( mbedtls_mpi_bitlen( &X ) == (size_t) nr_bits );825 size_t actual_bits = mbedtls_mpi_bitlen( &X );
178 TEST_ASSERT( mbedtls_mpi_bitlen( &N ) <= grp.pbits + 3 );374 TEST_ASSERT( mbedtls_mpi_bitlen( &grp.P ) == (size_t) bits );
96 rsa.len = ( mbedtls_mpi_bitlen( &rsa.N ) + 7 ) >> 3; in main()
125 rsa.len = ( mbedtls_mpi_bitlen( &rsa.N ) + 7 ) >> 3; in main()
104 rsa.len = ( mbedtls_mpi_bitlen( &rsa.N ) + 7 ) >> 3; in main()
132 rsa.len = ( mbedtls_mpi_bitlen( &rsa.N ) + 7 ) >> 3; in main()
134 rsa.len = ( mbedtls_mpi_bitlen( &rsa.N ) + 7 ) >> 3; in main()
141 rsa.len = ( mbedtls_mpi_bitlen( &rsa.N ) + 7 ) >> 3; in main()
129 if( mbedtls_mpi_bitlen( &ctx->N ) != nbits ) in mbedtls_rsa_gen_key()153 ctx->len = ( mbedtls_mpi_bitlen( &ctx->N ) + 7 ) >> 3; in mbedtls_rsa_gen_key()182 if( mbedtls_mpi_bitlen( &ctx->N ) < 128 || in mbedtls_rsa_check_pubkey()183 mbedtls_mpi_bitlen( &ctx->N ) > MBEDTLS_MPI_MAX_BITS ) in mbedtls_rsa_check_pubkey()186 if( mbedtls_mpi_bitlen( &ctx->E ) < 2 || in mbedtls_rsa_check_pubkey()974 msb = mbedtls_mpi_bitlen( &ctx->N ) - 1; in mbedtls_rsa_rsassa_pss_sign()1003 msb = mbedtls_mpi_bitlen( &ctx->N ) - 1; in mbedtls_rsa_rsassa_pss_sign()1242 msb = mbedtls_mpi_bitlen( &ctx->N ) - 1; in mbedtls_rsa_rsassa_pss_verify_ext()
380 size_t mbedtls_mpi_bitlen( const mbedtls_mpi *X ) in mbedtls_mpi_bitlen() function401 return( ( mbedtls_mpi_bitlen( X ) + 7 ) >> 3 ); in mbedtls_mpi_size()534 n = mbedtls_mpi_bitlen( X ); in mbedtls_mpi_write_string()719 i = mbedtls_mpi_bitlen( X ) + count; in mbedtls_mpi_shift_l()1345 k = mbedtls_mpi_bitlen( &Y ) % biL; in mbedtls_mpi_div_mpi()1626 i = mbedtls_mpi_bitlen( E ); in mbedtls_mpi_exp_mod()2061 i = mbedtls_mpi_bitlen( X ); in mpi_miller_rabin()2078 j = mbedtls_mpi_bitlen( &A ) - mbedtls_mpi_bitlen( &W ); in mpi_miller_rabin()2087 j = mbedtls_mpi_bitlen( &A ); in mpi_miller_rabin()2088 k = mbedtls_mpi_bitlen( &W ); in mpi_miller_rabin()[all …]
672 mbedtls_mpi_bitlen( N ) > 2 * grp->pbits ) in ecp_modp()1580 i = mbedtls_mpi_bitlen( m ); /* one past the (zero-based) most significant bit */ in ecp_mul_mxz()1791 mbedtls_mpi_bitlen( d ) - 1 != grp->nbits ) /* mbedtls_mpi_bitlen is one-based! */ in mbedtls_ecp_check_privkey()1832 } while( mbedtls_mpi_bitlen( d ) == 0); in mbedtls_ecp_gen_keypair_base()1835 b = mbedtls_mpi_bitlen( d ) - 1; /* mbedtls_mpi_bitlen is one-based */ in mbedtls_ecp_gen_keypair_base()
593 grp->pbits = mbedtls_mpi_bitlen( &grp->P ); in ecp_group_load()594 grp->nbits = mbedtls_mpi_bitlen( &grp->N ); in ecp_group_load()669 grp->pbits = mbedtls_mpi_bitlen( &grp->P ); in ecp_use_curve25519()
276 grp->pbits = mbedtls_mpi_bitlen( &grp->P ); in pk_group_from_specified()357 grp->nbits = mbedtls_mpi_bitlen( &grp->N ); in pk_group_from_specified()
302 size_t mbedtls_mpi_bitlen( const mbedtls_mpi *X );
2137 #define mpi_msb mbedtls_mpi_bitlen
1682 mpi_msb mbedtls_mpi_bitlen