Searched refs:pbits (Results 1 – 9 of 9) sorted by relevance
126 if( ctx == NULL || ctx->grp.pbits == 0 ) in mbedtls_ecdh_make_params()206 if( ctx == NULL || ctx->grp.pbits == 0 ) in mbedtls_ecdh_make_public()260 *olen = ctx->grp.pbits / 8 + ( ( ctx->grp.pbits % 8 ) != 0 ); in mbedtls_ecdh_calc_secret()
276 grp->pbits = mbedtls_mpi_bitlen( &grp->P ); in pk_group_from_specified()385 if( grp->pbits == ref.pbits && grp->nbits == ref.nbits && in pk_group_id_from_group()
192 return( ((mbedtls_ecp_keypair *) ctx)->grp.pbits ); in eckey_get_bitlen()
593 grp->pbits = mbedtls_mpi_bitlen( &grp->P ); in ecp_group_load()669 grp->pbits = mbedtls_mpi_bitlen( &grp->P ); in ecp_use_curve25519()
672 mbedtls_mpi_bitlen( N ) > 2 * grp->pbits ) in ecp_modp()1083 size_t p_size = ( grp->pbits + 7 ) / 8; in ecp_randomize_jac()1465 size_t p_size = ( grp->pbits + 7 ) / 8; in ecp_randomize_mxz()
752 x_bytes = ( ctx->grp.pbits + 7 ) / 8; in mbedtls_ecjpake_derive_secret()
153 mbedtls_printf( " ok (key size: %d bits)\n", (int) ctx_sign.grp.pbits ); in main()
137 size_t pbits; /*!< number of bits in P */ member
178 TEST_ASSERT( mbedtls_mpi_bitlen( &N ) <= grp.pbits + 3 );