| /external/openthread/third_party/mbedtls/repo/tests/suites/ |
| D | test_suite_mpi.data | 425 mbedtls_mpi_copy:"-ca5cadedb01dfaceacc01ade":"-face1e55ca11ab1ecab005e5" 428 mbedtls_mpi_copy:"-ca5cadedb01dfaceacc01ade":"face1e55ca11ab1ecab005e5" 431 mbedtls_mpi_copy:"-ca5cadedb01dfaceacc01ade":"-beef" 434 mbedtls_mpi_copy:"-ca5cadedb01dfaceacc01ade":"beef" 437 mbedtls_mpi_copy:"-ca5cadedb01dfaceacc01ade":"0" 440 mbedtls_mpi_copy:"-ca5cadedb01dfaceacc01ade":"" 443 mbedtls_mpi_copy:"ca5cadedb01dfaceacc01ade":"-face1e55ca11ab1ecab005e5" 446 mbedtls_mpi_copy:"ca5cadedb01dfaceacc01ade":"face1e55ca11ab1ecab005e5" 449 mbedtls_mpi_copy:"ca5cadedb01dfaceacc01ade":"-beef" 452 mbedtls_mpi_copy:"ca5cadedb01dfaceacc01ade":"beef" [all …]
|
| D | test_suite_mpi.function | 153 mbedtls_mpi_copy( NULL, &X ) ); 155 mbedtls_mpi_copy( &X, NULL ) ); 719 void mbedtls_mpi_copy( char *src_hex, char *dst_hex ) 729 /* mbedtls_mpi_copy() */ 731 TEST_ASSERT( mbedtls_mpi_copy( &dst, &src ) == 0 ); 764 TEST_ASSERT( mbedtls_mpi_copy( &X, &X ) == 0 );
|
| /external/mbedtls/library/ |
| D | rsa.c | 77 if( ( N != NULL && ( ret = mbedtls_mpi_copy( &ctx->N, N ) ) != 0 ) || in mbedtls_rsa_import() 78 ( P != NULL && ( ret = mbedtls_mpi_copy( &ctx->P, P ) ) != 0 ) || in mbedtls_rsa_import() 79 ( Q != NULL && ( ret = mbedtls_mpi_copy( &ctx->Q, Q ) ) != 0 ) || in mbedtls_rsa_import() 80 ( D != NULL && ( ret = mbedtls_mpi_copy( &ctx->D, D ) ) != 0 ) || in mbedtls_rsa_import() 81 ( E != NULL && ( ret = mbedtls_mpi_copy( &ctx->E, E ) ) != 0 ) ) in mbedtls_rsa_import() 395 if( ( N != NULL && ( ret = mbedtls_mpi_copy( N, &ctx->N ) ) != 0 ) || in mbedtls_rsa_export() 396 ( P != NULL && ( ret = mbedtls_mpi_copy( P, &ctx->P ) ) != 0 ) || in mbedtls_rsa_export() 397 ( Q != NULL && ( ret = mbedtls_mpi_copy( Q, &ctx->Q ) ) != 0 ) || in mbedtls_rsa_export() 398 ( D != NULL && ( ret = mbedtls_mpi_copy( D, &ctx->D ) ) != 0 ) || in mbedtls_rsa_export() 399 ( E != NULL && ( ret = mbedtls_mpi_copy( E, &ctx->E ) ) != 0 ) ) in mbedtls_rsa_export() [all …]
|
| D | bignum.c | 198 int mbedtls_mpi_copy( mbedtls_mpi *X, const mbedtls_mpi *Y ) in mbedtls_mpi_copy() function 554 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &T, X ) ); in mbedtls_mpi_write_string() 892 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( X, A ) ); in mbedtls_mpi_add_abs() 1098 if( X == A ) { MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &TA, A ) ); A = &TA; } in mbedtls_mpi_mul_mpi() 1099 if( X == B ) { MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &TB, B ) ); B = &TB; } in mbedtls_mpi_mul_mpi() 1171 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( X, A ) ); in mbedtls_mpi_mul_int() 1306 if( R != NULL ) MBEDTLS_MPI_CHK( mbedtls_mpi_copy( R, A ) ); in mbedtls_mpi_div_mpi() 1310 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &X, A ) ); in mbedtls_mpi_div_mpi() 1311 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &Y, B ) ); in mbedtls_mpi_div_mpi() 1370 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &T1, &Y ) ); in mbedtls_mpi_div_mpi() [all …]
|
| D | dhm.c | 151 return( mbedtls_mpi_copy( dest, src ) ); in mbedtls_dhm_get_value() 283 if( ( ret = mbedtls_mpi_copy( &ctx->P, P ) ) != 0 || in mbedtls_dhm_set_group() 284 ( ret = mbedtls_mpi_copy( &ctx->G, G ) ) != 0 ) in mbedtls_dhm_set_group() 357 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &ctx->pX, &ctx->X ) ); in dhm_update_blinding()
|
| D | ecdh.c | 125 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( z, &P.X ) ); in ecdh_compute_shared_restartable() 432 ( ret = mbedtls_mpi_copy( &ctx->d, &key->d ) ) != 0 ) in ecdh_get_params_internal()
|
| D | ecp.c | 616 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &P->X, &Q->X ) ); in mbedtls_ecp_copy() 617 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &P->Y, &Q->Y ) ); in mbedtls_ecp_copy() 618 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &P->Z, &Q->Z ) ); in mbedtls_ecp_copy() 1153 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( X, A ) ) 2029 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &M, m ) ); in ecp_comb_recode_scalar() 2837 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &XmP, X ) ); in ecp_check_bad_points_mx() 3250 if( ( ret = mbedtls_mpi_copy( d, &key->d ) ) != 0 ) in mbedtls_ecp_export()
|
| D | pkparse.c | 773 ( ret = mbedtls_mpi_copy( &rsa->DP, &T ) ) != 0 ) in pk_parse_key_pkcs1_der() 778 ( ret = mbedtls_mpi_copy( &rsa->DQ, &T ) ) != 0 ) in pk_parse_key_pkcs1_der() 783 ( ret = mbedtls_mpi_copy( &rsa->QP, &T ) ) != 0 ) in pk_parse_key_pkcs1_der()
|
| D | ecdsa.c | 362 mbedtls_mpi_copy( r, pr ); in ecdsa_sign_restartable() 802 ( ret = mbedtls_mpi_copy( &ctx->d, &key->d ) ) != 0 || in mbedtls_ecdsa_from_keypair()
|
| D | x509write_crt.c | 111 if( ( ret = mbedtls_mpi_copy( &ctx->serial, serial ) ) != 0 ) in mbedtls_x509write_crt_set_serial()
|
| /external/openthread/third_party/mbedtls/repo/library/ |
| D | rsa.c | 85 if( ( N != NULL && ( ret = mbedtls_mpi_copy( &ctx->N, N ) ) != 0 ) || in mbedtls_rsa_import() 86 ( P != NULL && ( ret = mbedtls_mpi_copy( &ctx->P, P ) ) != 0 ) || in mbedtls_rsa_import() 87 ( Q != NULL && ( ret = mbedtls_mpi_copy( &ctx->Q, Q ) ) != 0 ) || in mbedtls_rsa_import() 88 ( D != NULL && ( ret = mbedtls_mpi_copy( &ctx->D, D ) ) != 0 ) || in mbedtls_rsa_import() 89 ( E != NULL && ( ret = mbedtls_mpi_copy( &ctx->E, E ) ) != 0 ) ) in mbedtls_rsa_import() 408 if( ( N != NULL && ( ret = mbedtls_mpi_copy( N, &ctx->N ) ) != 0 ) || in mbedtls_rsa_export() 409 ( P != NULL && ( ret = mbedtls_mpi_copy( P, &ctx->P ) ) != 0 ) || in mbedtls_rsa_export() 410 ( Q != NULL && ( ret = mbedtls_mpi_copy( Q, &ctx->Q ) ) != 0 ) || in mbedtls_rsa_export() 411 ( D != NULL && ( ret = mbedtls_mpi_copy( D, &ctx->D ) ) != 0 ) || in mbedtls_rsa_export() 412 ( E != NULL && ( ret = mbedtls_mpi_copy( E, &ctx->E ) ) != 0 ) ) in mbedtls_rsa_export() [all …]
|
| D | bignum.c | 216 int mbedtls_mpi_copy( mbedtls_mpi *X, const mbedtls_mpi *Y ) in mbedtls_mpi_copy() function 594 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &T, X ) ); in mbedtls_mpi_write_string() 1130 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( X, A ) ); in mbedtls_mpi_add_abs() 1469 if( X == A ) { MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &TA, A ) ); A = &TA; } in mbedtls_mpi_mul_mpi() 1470 if( X == B ) { MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &TB, B ) ); B = &TB; } in mbedtls_mpi_mul_mpi() 1537 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( X, A ) ); in mbedtls_mpi_mul_int() 1672 if( R != NULL ) MBEDTLS_MPI_CHK( mbedtls_mpi_copy( R, A ) ); in mbedtls_mpi_div_mpi() 1676 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &X, A ) ); in mbedtls_mpi_div_mpi() 1677 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &Y, B ) ); in mbedtls_mpi_div_mpi() 1736 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &T1, &Y ) ); in mbedtls_mpi_div_mpi() [all …]
|
| D | dhm.c | 270 if( ( ret = mbedtls_mpi_copy( &ctx->P, P ) ) != 0 || in mbedtls_dhm_set_group() 271 ( ret = mbedtls_mpi_copy( &ctx->G, G ) ) != 0 ) in mbedtls_dhm_set_group() 350 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &ctx->pX, &ctx->X ) ); in dhm_update_blinding() 427 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &GYb, &ctx->GY ) ); in mbedtls_dhm_calc_secret()
|
| D | ecp.c | 783 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &P->X, &Q->X ) ); in mbedtls_ecp_copy() 784 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &P->Y, &Q->Y ) ); in mbedtls_ecp_copy() 785 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &P->Z, &Q->Z ) ); in mbedtls_ecp_copy() 1401 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &c[0], &T[0]->Z ) ); in ecp_normalize_jac_many() 1419 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &Zi, &u ) ); in ecp_normalize_jac_many() 1570 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &R->X, &T ) ); in ecp_double_jac() 1571 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &R->Y, &S ) ); in ecp_double_jac() 1572 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &R->Z, &U ) ); in ecp_double_jac() 1661 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &T1, &T3 ) ); in ecp_add_mixed() 1671 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &R->X, &X ) ); in ecp_add_mixed() [all …]
|
| D | ecdh.c | 133 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( z, &P.X ) ); in ecdh_compute_shared_restartable() 460 ( ret = mbedtls_mpi_copy( &ctx->d, &key->d ) ) != 0 ) in ecdh_get_params_internal()
|
| D | pkparse.c | 796 ( ret = mbedtls_mpi_copy( &rsa->DP, &T ) ) != 0 ) in pk_parse_key_pkcs1_der() 801 ( ret = mbedtls_mpi_copy( &rsa->DQ, &T ) ) != 0 ) in pk_parse_key_pkcs1_der() 806 ( ret = mbedtls_mpi_copy( &rsa->QP, &T ) ) != 0 ) in pk_parse_key_pkcs1_der()
|
| D | ecdsa.c | 374 mbedtls_mpi_copy( r, pr ); in ecdsa_sign_restartable() 939 ( ret = mbedtls_mpi_copy( &ctx->d, &key->d ) ) != 0 || in mbedtls_ecdsa_from_keypair()
|
| D | x509write_crt.c | 103 if( ( ret = mbedtls_mpi_copy( &ctx->serial, serial ) ) != 0 ) in mbedtls_x509write_crt_set_serial()
|
| D | ssl_tls.c | 4650 if( ( ret = mbedtls_mpi_copy( &conf->dhm_P, &dhm_ctx->P ) ) != 0 || in mbedtls_ssl_conf_dh_param_ctx() 4651 ( ret = mbedtls_mpi_copy( &conf->dhm_G, &dhm_ctx->G ) ) != 0 ) in mbedtls_ssl_conf_dh_param_ctx()
|
| /external/mbedtls/include/mbedtls/ |
| D | bignum.h | 293 int mbedtls_mpi_copy( mbedtls_mpi *X, const mbedtls_mpi *Y );
|
| /external/openthread/third_party/mbedtls/repo/include/mbedtls/ |
| D | bignum.h | 264 int mbedtls_mpi_copy( mbedtls_mpi *X, const mbedtls_mpi *Y );
|
| /external/mbedtls/tests/suites/ |
| D | test_suite_bignum.function | 523 /* mbedtls_mpi_copy() */ 525 TEST_ASSERT( mbedtls_mpi_copy( &dst, &src ) == 0 ); 558 TEST_ASSERT( mbedtls_mpi_copy( &X, &X ) == 0 );
|
| /external/mbedtls/programs/test/ |
| D | benchmark.c | 1027 if( mbedtls_mpi_copy( &dhm.GY, &dhm.GX ) != 0 ) in main()
|
| /external/openthread/third_party/mbedtls/repo/programs/test/ |
| D | benchmark.c | 853 if( mbedtls_mpi_copy( &dhm.GY, &dhm.GX ) != 0 ) in main()
|
| /external/openthread/third_party/mbedtls/repo/scripts/data_files/ |
| D | rename-1.3-2.0.txt | 1665 mpi_copy mbedtls_mpi_copy
|