Home
last modified time | relevance | path

Searched refs:pbits (Results 1 – 9 of 9) sorted by relevance

/net-tools-3.6.0/mbedtls-2.4.0/library/
Decdh.c126 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()
Dpkparse.c276 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()
Dpk_wrap.c192 return( ((mbedtls_ecp_keypair *) ctx)->grp.pbits ); in eckey_get_bitlen()
Decp_curves.c593 grp->pbits = mbedtls_mpi_bitlen( &grp->P ); in ecp_group_load()
669 grp->pbits = mbedtls_mpi_bitlen( &grp->P ); in ecp_use_curve25519()
Decp.c672 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()
Decjpake.c752 x_bytes = ( ctx->grp.pbits + 7 ) / 8; in mbedtls_ecjpake_derive_secret()
/net-tools-3.6.0/mbedtls-2.4.0/programs/pkey/
Decdsa.c153 mbedtls_printf( " ok (key size: %d bits)\n", (int) ctx_sign.grp.pbits ); in main()
/net-tools-3.6.0/mbedtls-2.4.0/include/mbedtls/
Decp.h137 size_t pbits; /*!< number of bits in P */ member
/net-tools-3.6.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_ecp.function178 TEST_ASSERT( mbedtls_mpi_bitlen( &N ) <= grp.pbits + 3 );