Home
last modified time | relevance | path

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

/mbedtls-development/programs/fuzz/
A Dfuzz_privkey.c29 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in LLVMFuzzerTestOneInput() local
33 mbedtls_mpi_init( &D ); mbedtls_mpi_init( &E ); mbedtls_mpi_init( &DP ); in LLVMFuzzerTestOneInput()
40 if ( mbedtls_rsa_export_crt( rsa, &DP, &DQ, &QP ) != 0 ) { in LLVMFuzzerTestOneInput()
45 mbedtls_mpi_free( &D ); mbedtls_mpi_free( &E ); mbedtls_mpi_free( &DP ); in LLVMFuzzerTestOneInput()
A Dfuzz_pubkey.c18 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in LLVMFuzzerTestOneInput() local
22 mbedtls_mpi_init( &D ); mbedtls_mpi_init( &E ); mbedtls_mpi_init( &DP ); in LLVMFuzzerTestOneInput()
32 if ( mbedtls_rsa_export_crt( rsa, &DP, &DQ, &QP ) != MBEDTLS_ERR_RSA_BAD_INPUT_DATA ) { in LLVMFuzzerTestOneInput()
37 mbedtls_mpi_free( &D ); mbedtls_mpi_free( &E ); mbedtls_mpi_free( &DP ); in LLVMFuzzerTestOneInput()
/mbedtls-development/programs/pkey/
A Drsa_genkey.c68 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local
76 mbedtls_mpi_init( &D ); mbedtls_mpi_init( &E ); mbedtls_mpi_init( &DP ); in main()
105 ( ret = mbedtls_rsa_export_crt( &rsa, &DP, &DQ, &QP ) ) != 0 ) in main()
138 ( ret = mbedtls_mpi_write_file( "DP = ", &DP, 16, fpriv ) ) != 0 || in main()
158 mbedtls_mpi_free( &D ); mbedtls_mpi_free( &E ); mbedtls_mpi_free( &DP ); in main()
A Drsa_sign.c64 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local
69 mbedtls_mpi_init( &D ); mbedtls_mpi_init( &E ); mbedtls_mpi_init( &DP ); in main()
98 ( ret = mbedtls_mpi_read_file( &DP , 16, f ) ) != 0 || in main()
177 mbedtls_mpi_free( &D ); mbedtls_mpi_free( &E ); mbedtls_mpi_free( &DP ); in main()
A Drsa_decrypt.c65 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local
93 mbedtls_mpi_init( &D ); mbedtls_mpi_init( &E ); mbedtls_mpi_init( &DP ); in main()
121 ( ret = mbedtls_mpi_read_file( &DP , 16, f ) ) != 0 || in main()
196 mbedtls_mpi_free( &D ); mbedtls_mpi_free( &E ); mbedtls_mpi_free( &DP ); in main()
A Dkey_app.c101 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local
113 mbedtls_mpi_init( &D ); mbedtls_mpi_init( &E ); mbedtls_mpi_init( &DP ); in main()
221 ( ret = mbedtls_rsa_export_crt( rsa, &DP, &DQ, &QP ) ) != 0 ) in main()
232 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "DP: ", &DP, 16, NULL ) ); in main()
324 mbedtls_mpi_free( &D ); mbedtls_mpi_free( &E ); mbedtls_mpi_free( &DP ); in main()
A Dgen_key.c195 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local
208 mbedtls_mpi_init( &D ); mbedtls_mpi_init( &E ); mbedtls_mpi_init( &DP ); in main()
372 ( ret = mbedtls_rsa_export_crt( rsa, &DP, &DQ, &QP ) ) != 0 ) in main()
383 mbedtls_mpi_write_file( "DP: ", &DP, 16, NULL ); in main()
431 mbedtls_mpi_free( &D ); mbedtls_mpi_free( &E ); mbedtls_mpi_free( &DP ); in main()
A Dkey_app_writer.c216 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local
230 mbedtls_mpi_init( &D ); mbedtls_mpi_init( &E ); mbedtls_mpi_init( &DP ); in main()
340 ( ret = mbedtls_rsa_export_crt( rsa, &DP, &DQ, &QP ) ) != 0 ) in main()
351 mbedtls_mpi_write_file( "DP: ", &DP, 16, NULL ); in main()
449 mbedtls_mpi_free( &D ); mbedtls_mpi_free( &E ); mbedtls_mpi_free( &DP ); in main()
A Drsa_priv.txt6 DP = 0D0E21C07BF434B4A83B116472C2147A11D8EB98A33CFBBCF1D275EF19D815941622435AAF3839B6C432CA53CE9E77…
/mbedtls-development/library/
A Drsa_alt_helpers.c241 const mbedtls_mpi *D, mbedtls_mpi *DP, in mbedtls_rsa_deduce_crt() argument
249 if( DP != NULL ) in mbedtls_rsa_deduce_crt()
252 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( DP, D, &K ) ); in mbedtls_rsa_deduce_crt()
402 const mbedtls_mpi *D, const mbedtls_mpi *DP, in mbedtls_rsa_validate_crt() argument
412 if( DP != NULL ) in mbedtls_rsa_validate_crt()
421 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &L, DP, D ) ); in mbedtls_rsa_validate_crt()
A Drsa_alt_helpers.h143 const mbedtls_mpi *D, mbedtls_mpi *DP,
213 const mbedtls_mpi *D, const mbedtls_mpi *DP,
A Drsa.c211 ( mbedtls_mpi_cmp_int( &ctx->DP, 0 ) <= 0 || in rsa_check_context()
261 have_DP = ( mbedtls_mpi_cmp_int( &ctx->DP, 0 ) != 0 ); in mbedtls_rsa_complete()
334 &ctx->DP, &ctx->DQ, &ctx->QP ); in mbedtls_rsa_complete()
460 if( ( DP != NULL && ( ret = mbedtls_mpi_copy( DP, &ctx->DP ) ) != 0 ) || in mbedtls_rsa_export_crt()
468 DP, DQ, QP ) ) != 0 ) in mbedtls_rsa_export_crt()
715 &ctx->DP, &ctx->DQ, &ctx->QP ) != 0 ) in mbedtls_rsa_check_privkey()
913 mbedtls_mpi *DP = &ctx->DP; in mbedtls_rsa_private() local
1011 &ctx->DP ) ); in mbedtls_rsa_private()
1013 DP = &DP_blind; in mbedtls_rsa_private()
2453 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &dst->DP, &src->DP ) ); in mbedtls_rsa_copy()
[all …]
A Dpkparse.c797 ( ret = mbedtls_mpi_copy( &rsa->DP, &T ) ) != 0 ) in pk_parse_key_pkcs1_der()
/mbedtls-development/include/mbedtls/
A Drsa.h106 mbedtls_mpi MBEDTLS_PRIVATE(DP); /*!< <code>D % (P - 1)</code>. */
412 mbedtls_mpi *DP, mbedtls_mpi *DQ, mbedtls_mpi *QP );
/mbedtls-development/tests/suites/
A Dtest_suite_rsa.function603 TEST_ASSERT( mbedtls_test_read_mpi( &ctx.DP, radix_DP, input_DP ) == 0 );
676 TEST_ASSERT( mbedtls_test_read_mpi( &prv.DP, radix_DP, input_DP ) == 0 );
A Dtest_suite_rsa.data300 RSA Check Private key #7 (No DP)

Completed in 24 milliseconds