Searched refs:mbedtls_mpi_copy (Results 1 – 16 of 16) sorted by relevance
/net-tools-latest/mbedtls-2.4.0/library/ |
D | bignum.c | 180 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 …]
|
D | rsa.c | 1485 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 …]
|
D | ecp.c | 367 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 …]
|
D | ecdh.c | 77 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()
|
D | dhm.c | 297 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()
|
D | ecdsa.c | 423 ( ret = mbedtls_mpi_copy( &ctx->d, &key->d ) ) != 0 || in mbedtls_ecdsa_from_keypair()
|
D | x509write_crt.c | 107 if( ( ret = mbedtls_mpi_copy( &ctx->serial, serial ) ) != 0 ) in mbedtls_x509write_crt_set_serial()
|
D | ssl_srv.c | 2769 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 )
|
D | ssl_tls.c | 5917 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/ |
D | test_suite_mpi.function | 305 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 );
|
D | test_suite_mpi.data | 184 Base test mbedtls_mpi_copy #1 185 mbedtls_mpi_copy:0:1500
|
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/ |
D | bignum.h | 199 int mbedtls_mpi_copy( mbedtls_mpi *X, const mbedtls_mpi *Y );
|
D | compat-1.3.h | 2120 #define mpi_copy mbedtls_mpi_copy
|
/net-tools-latest/mbedtls-2.4.0/programs/test/ |
D | benchmark.c | 693 if( mbedtls_mpi_copy( &dhm.GY, &dhm.GX ) != 0 ) in main()
|
/net-tools-latest/mbedtls-2.4.0/yotta/data/example-benchmark/ |
D | main.cpp | 745 if( mbedtls_mpi_copy( &dhm.GY, &dhm.GX ) != 0 ) in benchmark()
|
/net-tools-latest/mbedtls-2.4.0/scripts/data_files/ |
D | rename-1.3-2.0.txt | 1665 mpi_copy mbedtls_mpi_copy
|