Searched refs:mbedtls_mpi_size (Results 1 – 19 of 19) sorted by relevance
/openthread-2.7.6/src/core/crypto/ |
D | ecdsa.cpp | 147 OT_ASSERT(mbedtls_mpi_size(&r) <= kMpiSize); in Sign() 236 …VerifyOrExit(mbedtls_mpi_size(&rMpi) + mbedtls_mpi_size(&sMpi) <= aOutputLength, error = kErrorNoB… in Sign() 239 …VerifyOrExit(mbedtls_mpi_write_binary(&rMpi, aOutput, mbedtls_mpi_size(&rMpi)) == 0, error = kErro… in Sign() 240 aOutputLength = static_cast<uint16_t>(mbedtls_mpi_size(&rMpi)); in Sign() 242 …VerifyOrExit(mbedtls_mpi_write_binary(&sMpi, aOutput + aOutputLength, mbedtls_mpi_size(&sMpi)) == … in Sign() 244 aOutputLength += mbedtls_mpi_size(&sMpi); in Sign()
|
/openthread-2.7.6/third_party/mbedtls/repo/library/ |
D | dhm.c | 148 ctx->len = mbedtls_mpi_size( &ctx->P ); in mbedtls_dhm_read_params() 209 n1 = mbedtls_mpi_size( &ctx->P ); in mbedtls_dhm_make_params() 210 n2 = mbedtls_mpi_size( &ctx->G ); in mbedtls_dhm_make_params() 211 n3 = mbedtls_mpi_size( &ctx->GX ); in mbedtls_dhm_make_params() 248 ctx->len = mbedtls_mpi_size( &ctx->P ); in mbedtls_dhm_set_group() 332 MBEDTLS_MPI_CHK( mbedtls_mpi_fill_random( R, mbedtls_mpi_size( M ), f_rng, p_rng ) ); in dhm_random_below() 457 *olen = mbedtls_mpi_size( &ctx->K ); in mbedtls_dhm_calc_secret() 583 dhm->len = mbedtls_mpi_size( &dhm->P ); in mbedtls_dhm_parse_dhm()
|
D | asn1write.c | 134 len = mbedtls_mpi_size( X ); in mbedtls_asn1_write_mpi()
|
D | rsa.c | 109 ctx->len = mbedtls_mpi_size( &ctx->N ); in mbedtls_rsa_import() 127 ctx->len = mbedtls_mpi_size( &ctx->N ); in mbedtls_rsa_import_raw() 164 if( ctx->len != mbedtls_mpi_size( &ctx->N ) || in rsa_check_context() 299 ctx->len = mbedtls_mpi_size( &ctx->N ); in mbedtls_rsa_complete() 608 ctx->len = mbedtls_mpi_size( &ctx->N ); in mbedtls_rsa_gen_key()
|
D | ecdh.c | 680 if( mbedtls_mpi_size( &ctx->z ) > blen ) in ecdh_calc_secret_internal()
|
D | ecjpake.c | 348 len = mbedtls_mpi_size( &h ); /* actually r */ in ecjpake_zkp_write()
|
D | ecp.c | 880 plen = mbedtls_mpi_size( &grp->P ); in mbedtls_ecp_point_write_binary() 954 plen = mbedtls_mpi_size( &grp->P ); in mbedtls_ecp_point_read_binary() 2926 if( mbedtls_mpi_size( &pt->X ) > ( grp->nbits + 7 ) / 8 )
|
D | pkparse.c | 354 len != mbedtls_mpi_size( &grp->P ) + 1 || in pk_group_from_specified()
|
D | ssl_cli.c | 3698 (int) mbedtls_mpi_size( &ssl->handshake->dhm_ctx.P ), in ssl_write_client_key_exchange() 3965 (int) mbedtls_mpi_size( &ssl->handshake->dhm_ctx.P ), in ssl_write_client_key_exchange()
|
D | bignum.c | 444 size_t mbedtls_mpi_size( const mbedtls_mpi *X ) in mbedtls_mpi_size() function
|
D | ssl_srv.c | 3363 (int) mbedtls_mpi_size( &ssl->handshake->dhm_ctx.P ), in ssl_prepare_server_key_exchange()
|
D | psa_crypto.c | 1548 buflen = mbedtls_mpi_size( &mpi ); in psa_get_rsa_public_exponent()
|
/openthread-2.7.6/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_dhm.function | 148 x_size = mbedtls_mpi_size( &ctx_srv.P ); 244 TEST_ASSERT( mbedtls_dhm_make_public( &ctx, (int) mbedtls_mpi_size( &P ),
|
D | test_suite_mpi.function | 301 TEST_ASSERT( mbedtls_mpi_size( &X ) == 0 ); 390 buflen = mbedtls_mpi_size( &X ); 422 buflen = mbedtls_mpi_size( &X ); 461 buflen = mbedtls_mpi_size( &X ); 1389 TEST_ASSERT( mbedtls_mpi_size( &X ) + leading_zeros ==
|
/openthread-2.7.6/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-2.7.6/third_party/mbedtls/repo/include/mbedtls/ |
D | bignum.h | 399 size_t mbedtls_mpi_size( const mbedtls_mpi *X );
|
D | compat-1.3.h | 2085 #define mpi_size mbedtls_mpi_size
|
/openthread-2.7.6/third_party/mbedtls/repo/programs/test/ |
D | benchmark.c | 819 dhm.len = mbedtls_mpi_size( &dhm.P ); in main()
|
/openthread-2.7.6/third_party/mbedtls/repo/scripts/data_files/ |
D | rename-1.3-2.0.txt | 1695 mpi_size mbedtls_mpi_size
|