Home
last modified time | relevance | path

Searched refs:DP (Results 1 – 17 of 17) sorted by relevance

/net-tools-latest/mbedtls-2.4.0/programs/pkey/
Drsa_priv.txt6 DP = 0D0E21C07BF434B4A83B116472C2147A11D8EB98A33CFBBCF1D275EF19D815941622435AAF3839B6C432CA53CE9E77…
Drsa_genkey.c130 ( ret = mbedtls_mpi_write_file( "DP = ", &rsa.DP, 16, fpriv ) ) != 0 || in main()
Drsa_sign.c95 ( ret = mbedtls_mpi_read_file( &rsa.DP, 16, f ) ) != 0 || in main()
Drsa_decrypt.c121 ( return_val = mbedtls_mpi_read_file( &rsa.DP, 16, f ) ) != 0 || in main()
Ddh_server.c132 ( ret = mbedtls_mpi_read_file( &rsa.DP, 16, f ) ) != 0 || in main()
Dkey_app.c197 mbedtls_mpi_write_file( "DP: ", &rsa->DP, 16, NULL ); in main()
Dgen_key.c367 mbedtls_mpi_write_file( "DP: ", &rsa->DP, 16, NULL ); in main()
Dkey_app_writer.c308 mbedtls_mpi_write_file( "DP: ", &rsa->DP, 16, NULL ); in main()
/net-tools-latest/mbedtls-2.4.0/library/
Drsa.c149 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( &ctx->DP, &ctx->D, &P1 ) ); in mbedtls_rsa_gen_key()
199 mbedtls_mpi PQ, DE, P1, Q1, H, I, G, G2, L1, L2, DP, DQ, QP; in mbedtls_rsa_check_privkey() local
209 …mbedtls_mpi_init( &L1 ); mbedtls_mpi_init( &L2 ); mbedtls_mpi_init( &DP ); mbedtls_mpi_init( &DQ ); in mbedtls_rsa_check_privkey()
223 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( &DP, &ctx->D, &P1 ) ); in mbedtls_rsa_check_privkey()
230 mbedtls_mpi_cmp_mpi( &DP, &ctx->DP ) != 0 || in mbedtls_rsa_check_privkey()
243 …mbedtls_mpi_free( &L1 ); mbedtls_mpi_free( &L2 ); mbedtls_mpi_free( &DP ); mbedtls_mpi_free( &DQ ); in mbedtls_rsa_check_privkey()
410 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &T1, &T, &ctx->DP, &ctx->P, &ctx->RP ) ); in mbedtls_rsa_private()
1491 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->DP, &src->DP ) ); in mbedtls_rsa_copy()
1519 mbedtls_mpi_free( &ctx->QP ); mbedtls_mpi_free( &ctx->DQ ); mbedtls_mpi_free( &ctx->DP ); in mbedtls_rsa_free()
1632 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &rsa.DP, 16, RSA_DP ) ); in mbedtls_rsa_self_test()
Dpkwrite.c212 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_mpi( &c, buf, &rsa->DP ) ); in mbedtls_pk_write_key_der()
Dpkparse.c692 ( ret = mbedtls_asn1_get_mpi( &p, end, &rsa->DP ) ) != 0 || in pk_parse_key_pkcs1_der()
/net-tools-latest/mbedtls-2.4.0/tests/suites/
Dtest_suite_rsa.function53 TEST_ASSERT( mbedtls_mpi_mod_mpi( &ctx.DP, &ctx.D, &P1 ) == 0 );
150 TEST_ASSERT( mbedtls_mpi_mod_mpi( &ctx.DP, &ctx.D, &P1 ) == 0 );
349 TEST_ASSERT( mbedtls_mpi_mod_mpi( &ctx.DP, &ctx.D, &P1 ) == 0 );
457 TEST_ASSERT( mbedtls_mpi_mod_mpi( &ctx.DP, &ctx.D, &P1 ) == 0 );
575 TEST_ASSERT( mbedtls_mpi_read_string( &ctx.DP, radix_DP, input_DP ) == 0 );
642 TEST_ASSERT( mbedtls_mpi_read_string( &prv.DP, radix_DP, input_DP ) == 0 );
Dtest_suite_pkcs1_v15.function89 TEST_ASSERT( mbedtls_mpi_mod_mpi( &ctx.DP, &ctx.D, &P1 ) == 0 );
150 TEST_ASSERT( mbedtls_mpi_mod_mpi( &ctx.DP, &ctx.D, &P1 ) == 0 );
Dtest_suite_pkcs1_v21.function89 TEST_ASSERT( mbedtls_mpi_mod_mpi( &ctx.DP, &ctx.D, &P1 ) == 0 );
150 TEST_ASSERT( mbedtls_mpi_mod_mpi( &ctx.DP, &ctx.D, &P1 ) == 0 );
Dtest_suite_pk.function364 TEST_ASSERT( mbedtls_mpi_mod_mpi( &rsa->DP, &rsa->D, &P1 ) == 0 );
Dtest_suite_rsa.data270 RSA Check Private key #7 (No DP)
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/
Drsa.h90 mbedtls_mpi DP; /*!< D % (P - 1) */ member