Searched refs:pbits (Results 1 – 13 of 13) sorted by relevance
30 const size_t pbits; member
313 if( ctx->grp.pbits == 0 ) in ecdh_make_params_internal()535 if( ctx->grp.pbits == 0 ) in ecdh_make_public_internal()657 if( ctx == NULL || ctx->grp.pbits == 0 ) in ecdh_calc_secret_internal()685 *olen = ctx->grp.pbits / 8 + ( ( ctx->grp.pbits % 8 ) != 0 ); in ecdh_calc_secret_internal()739 if( ctx->grp.pbits == 0 ) in ecdh_tls13_make_params_internal()
241 return( ((mbedtls_ecp_keypair *) ctx)->grp.pbits ); in eckey_get_bitlen()360 if( rs->ecdsa_ctx.grp.pbits == 0 ) in eckey_verify_rs_wrap()385 if( rs->ecdsa_ctx.grp.pbits == 0 ) in eckey_sign_rs_wrap()
382 curve_bytes = PSA_BITS_TO_BYTES( ecp->grp.pbits ); in ecdsa_sign_hash()458 curve_bytes = PSA_BITS_TO_BYTES( ecp->grp.pbits ); in ecdsa_verify_hash()
291 grp->pbits = mbedtls_mpi_bitlen( &grp->P ); in pk_group_from_specified()400 if( grp->pbits == ref.pbits && grp->nbits == ref.nbits && in pk_group_id_from_group()
162 size_t byte_length = ( ec->grp.pbits + 7 ) / 8; in pk_write_ec_private()
282 if( grp->pbits >= 512 ) in mbedtls_ecp_check_budget()284 else if( grp->pbits >= 384 ) in mbedtls_ecp_check_budget()536 grp->pbits = 0; in mbedtls_ecp_group_init()1035 mbedtls_mpi_bitlen( N ) > 2 * grp->pbits ) in ecp_modp()
792 x_bytes = ( ctx->grp.pbits + 7 ) / 8; in mbedtls_ecjpake_derive_secret()
4553 grp->pbits = mbedtls_mpi_bitlen( &grp->P ); in ecp_group_load()4652 grp->pbits = mbedtls_mpi_bitlen( &grp->P ); in ecp_use_curve25519()4705 grp->pbits = mbedtls_mpi_bitlen( &grp->P ); in ecp_use_curve448()
155 mbedtls_printf( " ok (key size: %d bits)\n", (int) ctx_sign.MBEDTLS_PRIVATE(grp).pbits ); in main()
237 size_t pbits; /*!< The number of bits in \p P.*/ member
51 * ECP: `mbedtls_ecp_group` must have the fields `id`, `P`, `A`, `B`, `G`, `N`, `pbits` and `nbits`.52 …_ecp_point_read_binary()` must support a group structure where only `P`, `pbits`, `A` and `B` are …
521 TEST_ASSERT( mbedtls_mpi_bitlen( &N ) <= grp.pbits + 3 );
Completed in 38 milliseconds