Home
last modified time | relevance | path

Searched refs:mbedtls_mpi_copy (Results 1 – 16 of 16) sorted by relevance

/net-tools-latest/mbedtls-2.4.0/library/
Dbignum.c180 int mbedtls_mpi_copy( mbedtls_mpi *X, const mbedtls_mpi *Y ) in mbedtls_mpi_copy() function
573 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &T, X ) ); in mbedtls_mpi_write_string()
894 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( X, A ) ); in mbedtls_mpi_add_abs()
972 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &TB, B ) ); in mbedtls_mpi_sub_abs()
977 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( X, A ) ); in mbedtls_mpi_sub_abs()
1176 if( X == A ) { MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &TA, A ) ); A = &TA; } in mbedtls_mpi_mul_mpi()
1177 if( X == B ) { MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &TB, B ) ); B = &TB; } in mbedtls_mpi_mul_mpi()
1332 if( R != NULL ) MBEDTLS_MPI_CHK( mbedtls_mpi_copy( R, A ) ); in mbedtls_mpi_div_mpi()
1336 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &X, A ) ); in mbedtls_mpi_div_mpi()
1337 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &Y, B ) ); in mbedtls_mpi_div_mpi()
[all …]
Drsa.c1485 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->N, &src->N ) ); in mbedtls_rsa_copy()
1486 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->E, &src->E ) ); in mbedtls_rsa_copy()
1488 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->D, &src->D ) ); in mbedtls_rsa_copy()
1489 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->P, &src->P ) ); in mbedtls_rsa_copy()
1490 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->Q, &src->Q ) ); in mbedtls_rsa_copy()
1491 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->DP, &src->DP ) ); in mbedtls_rsa_copy()
1492 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->DQ, &src->DQ ) ); in mbedtls_rsa_copy()
1493 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->QP, &src->QP ) ); in mbedtls_rsa_copy()
1495 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->RN, &src->RN ) ); in mbedtls_rsa_copy()
1496 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->RP, &src->RP ) ); in mbedtls_rsa_copy()
[all …]
Decp.c367 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &P->X, &Q->X ) ); in mbedtls_ecp_copy()
368 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &P->Y, &Q->Y ) ); in mbedtls_ecp_copy()
369 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &P->Z, &Q->Z ) ); in mbedtls_ecp_copy()
807 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &c[0], &T[0]->Z ) ); in ecp_normalize_jac_many()
826 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &Zi, &u ) ); in ecp_normalize_jac_many()
968 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &R->X, &T ) ); in ecp_double_jac()
969 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &R->Y, &S ) ); in ecp_double_jac()
970 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &R->Z, &U ) ); in ecp_double_jac()
1059 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &R->X, &X ) ); in ecp_add_mixed()
1060 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &R->Y, &Y ) ); in ecp_add_mixed()
[all …]
Decdh.c77 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( z, &P.X ) ); in mbedtls_ecdh_compute_shared()
190 ( ret = mbedtls_mpi_copy( &ctx->d, &key->d ) ) != 0 ) in mbedtls_ecdh_get_params()
Ddhm.c297 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &ctx->pX, &ctx->X ) ); in dhm_update_blinding()
372 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &GYb, &ctx->GY ) ); in mbedtls_dhm_calc_secret()
Decdsa.c423 ( ret = mbedtls_mpi_copy( &ctx->d, &key->d ) ) != 0 || in mbedtls_ecdsa_from_keypair()
Dx509write_crt.c107 if( ( ret = mbedtls_mpi_copy( &ctx->serial, serial ) ) != 0 ) in mbedtls_x509write_crt_set_serial()
Dssl_srv.c2769 if( ( ret = mbedtls_mpi_copy( &ssl->handshake->dhm_ctx.P, &ssl->conf->dhm_P ) ) != 0 ||
2770 ( ret = mbedtls_mpi_copy( &ssl->handshake->dhm_ctx.G, &ssl->conf->dhm_G ) ) != 0 )
Dssl_tls.c5917 if( ( ret = mbedtls_mpi_copy( &conf->dhm_P, &dhm_ctx->P ) ) != 0 || in mbedtls_ssl_conf_dh_param_ctx()
5918 ( ret = mbedtls_mpi_copy( &conf->dhm_G, &dhm_ctx->G ) ) != 0 ) in mbedtls_ssl_conf_dh_param_ctx()
/net-tools-latest/mbedtls-2.4.0/tests/suites/
Dtest_suite_mpi.function305 void mbedtls_mpi_copy( int input_X, int input_A )
315 TEST_ASSERT( mbedtls_mpi_copy( &Y, &X ) == 0 );
331 TEST_ASSERT( mbedtls_mpi_copy( &X, &X ) == 0 );
367 TEST_ASSERT( mbedtls_mpi_copy( &XX, &X ) == 0 );
394 TEST_ASSERT( mbedtls_mpi_copy( &XX, &X ) == 0 );
395 TEST_ASSERT( mbedtls_mpi_copy( &YY, &Y ) == 0 );
Dtest_suite_mpi.data184 Base test mbedtls_mpi_copy #1
185 mbedtls_mpi_copy:0:1500
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/
Dbignum.h199 int mbedtls_mpi_copy( mbedtls_mpi *X, const mbedtls_mpi *Y );
Dcompat-1.3.h2120 #define mpi_copy mbedtls_mpi_copy
/net-tools-latest/mbedtls-2.4.0/programs/test/
Dbenchmark.c693 if( mbedtls_mpi_copy( &dhm.GY, &dhm.GX ) != 0 ) in main()
/net-tools-latest/mbedtls-2.4.0/yotta/data/example-benchmark/
Dmain.cpp745 if( mbedtls_mpi_copy( &dhm.GY, &dhm.GX ) != 0 ) in benchmark()
/net-tools-latest/mbedtls-2.4.0/scripts/data_files/
Drename-1.3-2.0.txt1665 mpi_copy mbedtls_mpi_copy