Home
last modified time | relevance | path

Searched refs:mbedtls_mpi_size (Results 1 – 19 of 19) sorted by relevance

/openthread-3.4.0/third_party/mbedtls/repo/library/
Ddhm.c147 ctx->len = mbedtls_mpi_size( &ctx->P ); in mbedtls_dhm_read_params()
178 if( (unsigned) x_size < mbedtls_mpi_size( &ctx->P ) ) in dhm_make_common()
239 n1 = mbedtls_mpi_size( &ctx->P ); in mbedtls_dhm_make_params()
240 n2 = mbedtls_mpi_size( &ctx->G ); in mbedtls_dhm_make_params()
241 n3 = mbedtls_mpi_size( &ctx->GX ); in mbedtls_dhm_make_params()
276 ctx->len = mbedtls_mpi_size( &ctx->P ); in mbedtls_dhm_set_group()
442 *olen = mbedtls_mpi_size( &ctx->K ); in mbedtls_dhm_calc_secret()
567 dhm->len = mbedtls_mpi_size( &dhm->P ); in mbedtls_dhm_parse_dhm()
Drsa.c95 ctx->len = mbedtls_mpi_size( &ctx->N ); in mbedtls_rsa_import()
113 ctx->len = mbedtls_mpi_size( &ctx->N ); in mbedtls_rsa_import_raw()
150 if( ctx->len != mbedtls_mpi_size( &ctx->N ) || in rsa_check_context()
285 ctx->len = mbedtls_mpi_size( &ctx->N ); in mbedtls_rsa_complete()
600 ctx->len = mbedtls_mpi_size( &ctx->N ); in mbedtls_rsa_gen_key()
Dasn1write.c134 len = mbedtls_mpi_size( X ); in mbedtls_asn1_write_mpi()
Decdh.c680 if( mbedtls_mpi_size( &ctx->z ) > blen ) in ecdh_calc_secret_internal()
Decjpake.c343 len = mbedtls_mpi_size( &h ); /* actually r */ in ecjpake_zkp_write()
Decp.c883 plen = mbedtls_mpi_size( &grp->P ); in mbedtls_ecp_point_write_binary()
957 plen = mbedtls_mpi_size( &grp->P ); in mbedtls_ecp_point_read_binary()
3037 if( mbedtls_mpi_size( &pt->X ) > ( grp->nbits + 7 ) / 8 ) in ecp_check_pubkey_mx()
Dpkparse.c354 len != mbedtls_mpi_size( &grp->P ) + 1 || in pk_group_from_specified()
Dssl_cli.c3689 (int) mbedtls_mpi_size( &ssl->handshake->dhm_ctx.P ), in ssl_write_client_key_exchange()
3956 (int) mbedtls_mpi_size( &ssl->handshake->dhm_ctx.P ), in ssl_write_client_key_exchange()
Dbignum.c394 size_t mbedtls_mpi_size( const mbedtls_mpi *X ) in mbedtls_mpi_size() function
Dssl_srv.c3376 (int) mbedtls_mpi_size( &ssl->handshake->dhm_ctx.P ), in ssl_prepare_server_key_exchange()
Dpsa_crypto.c1228 buflen = mbedtls_mpi_size( &mpi ); in psa_get_rsa_public_exponent()
/openthread-3.4.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_dhm.function24 TEST_EQUAL( n, mbedtls_mpi_size( expected ) );
47 TEST_ASSERT( mbedtls_mpi_size( &ctx->X ) <= x_size );
211 pub_cli_len = mbedtls_mpi_size( &ctx_srv.P );
313 TEST_ASSERT( mbedtls_dhm_make_public( &ctx, (int) mbedtls_mpi_size( &P ),
Dtest_suite_mpi.function357 TEST_ASSERT( mbedtls_mpi_size( &X ) == 0 );
449 buflen = mbedtls_mpi_size( &X );
481 buflen = mbedtls_mpi_size( &X );
521 buflen = mbedtls_mpi_size( &X );
1464 TEST_ASSERT( mbedtls_mpi_size( &X ) + leading_zeros ==
/openthread-3.4.0/third_party/mbedtls/repo/programs/pkey/
Ddh_server.c213 if( ( ret = mbedtls_dhm_make_params( &dhm, (int) mbedtls_mpi_size( &dhm.P ), buf, &n, in main()
/openthread-3.4.0/third_party/mbedtls/repo/include/mbedtls/
Dbignum.h407 size_t mbedtls_mpi_size( const mbedtls_mpi *X );
Dcompat-1.3.h2085 #define mpi_size mbedtls_mpi_size
/openthread-3.4.0/src/core/crypto/
Dcrypto_platform.cpp601 OT_ASSERT(mbedtls_mpi_size(&r) <= Ecdsa::P256::kMpiSize); in otPlatCryptoEcdsaSign()
/openthread-3.4.0/third_party/mbedtls/repo/programs/test/
Dbenchmark.c851 dhm.len = mbedtls_mpi_size( &dhm.P ); in main()
/openthread-3.4.0/third_party/mbedtls/repo/scripts/data_files/
Drename-1.3-2.0.txt1695 mpi_size mbedtls_mpi_size