Searched refs:mbedtls_mpi_size (Results 1 – 19 of 19) sorted by relevance
/openthread-3.4.0/third_party/mbedtls/repo/library/ |
D | dhm.c | 147 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()
|
D | rsa.c | 95 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()
|
D | asn1write.c | 134 len = mbedtls_mpi_size( X ); in mbedtls_asn1_write_mpi()
|
D | ecdh.c | 680 if( mbedtls_mpi_size( &ctx->z ) > blen ) in ecdh_calc_secret_internal()
|
D | ecjpake.c | 343 len = mbedtls_mpi_size( &h ); /* actually r */ in ecjpake_zkp_write()
|
D | ecp.c | 883 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()
|
D | pkparse.c | 354 len != mbedtls_mpi_size( &grp->P ) + 1 || in pk_group_from_specified()
|
D | ssl_cli.c | 3689 (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()
|
D | bignum.c | 394 size_t mbedtls_mpi_size( const mbedtls_mpi *X ) in mbedtls_mpi_size() function
|
D | ssl_srv.c | 3376 (int) mbedtls_mpi_size( &ssl->handshake->dhm_ctx.P ), in ssl_prepare_server_key_exchange()
|
D | psa_crypto.c | 1228 buflen = mbedtls_mpi_size( &mpi ); in psa_get_rsa_public_exponent()
|
/openthread-3.4.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_dhm.function | 24 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 ),
|
D | test_suite_mpi.function | 357 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/ |
D | dh_server.c | 213 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/ |
D | bignum.h | 407 size_t mbedtls_mpi_size( const mbedtls_mpi *X );
|
D | compat-1.3.h | 2085 #define mpi_size mbedtls_mpi_size
|
/openthread-3.4.0/src/core/crypto/ |
D | crypto_platform.cpp | 601 OT_ASSERT(mbedtls_mpi_size(&r) <= Ecdsa::P256::kMpiSize); in otPlatCryptoEcdsaSign()
|
/openthread-3.4.0/third_party/mbedtls/repo/programs/test/ |
D | benchmark.c | 851 dhm.len = mbedtls_mpi_size( &dhm.P ); in main()
|
/openthread-3.4.0/third_party/mbedtls/repo/scripts/data_files/ |
D | rename-1.3-2.0.txt | 1695 mpi_size mbedtls_mpi_size
|