Home
last modified time | relevance | path

Searched refs:DQ (Results 1 – 25 of 50) sorted by relevance

12

/third_party/mbedtls/programs/pkey/
Drsa_genkey.c68 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local
77 mbedtls_mpi_init( &DQ ); mbedtls_mpi_init( &QP ); in main()
105 ( ret = mbedtls_rsa_export_crt( &rsa, &DP, &DQ, &QP ) ) != 0 ) in main()
139 ( ret = mbedtls_mpi_write_file( "DQ = ", &DQ, 16, fpriv ) ) != 0 || in main()
159 mbedtls_mpi_free( &DQ ); mbedtls_mpi_free( &QP ); in main()
Drsa_sign.c64 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local
70 mbedtls_mpi_init( &DQ ); mbedtls_mpi_init( &QP ); in main()
99 ( ret = mbedtls_mpi_read_file( &DQ , 16, f ) ) != 0 || in main()
178 mbedtls_mpi_free( &DQ ); mbedtls_mpi_free( &QP ); in main()
Drsa_decrypt.c65 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local
94 mbedtls_mpi_init( &DQ ); mbedtls_mpi_init( &QP ); in main()
122 ( ret = mbedtls_mpi_read_file( &DQ , 16, f ) ) != 0 || in main()
197 mbedtls_mpi_free( &DQ ); mbedtls_mpi_free( &QP ); in main()
Dkey_app.c101 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local
114 mbedtls_mpi_init( &DQ ); mbedtls_mpi_init( &QP ); in main()
221 ( ret = mbedtls_rsa_export_crt( rsa, &DP, &DQ, &QP ) ) != 0 ) in main()
233 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "DQ: ", &DQ, 16, NULL ) ); in main()
325 mbedtls_mpi_free( &DQ ); mbedtls_mpi_free( &QP ); in main()
Dgen_key.c195 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local
209 mbedtls_mpi_init( &DQ ); mbedtls_mpi_init( &QP ); in main()
372 ( ret = mbedtls_rsa_export_crt( rsa, &DP, &DQ, &QP ) ) != 0 ) in main()
384 mbedtls_mpi_write_file( "DQ: ", &DQ, 16, NULL ); in main()
432 mbedtls_mpi_free( &DQ ); mbedtls_mpi_free( &QP ); in main()
Dkey_app_writer.c216 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local
231 mbedtls_mpi_init( &DQ ); mbedtls_mpi_init( &QP ); in main()
340 ( ret = mbedtls_rsa_export_crt( rsa, &DP, &DQ, &QP ) ) != 0 ) in main()
352 mbedtls_mpi_write_file( "DQ: ", &DQ, 16, NULL ); in main()
450 mbedtls_mpi_free( &DQ ); mbedtls_mpi_free( &QP ); in main()
Drsa_priv.txt7 DQ = 269CEBE6305DFEE4809377F078C814E37B45AE6677114DFC4F76F5097E1F3031D592567AC55B9B98213B40ECD54A4D…
/third_party/mbedtls/programs/fuzz/
Dfuzz_privkey.c29 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in LLVMFuzzerTestOneInput() local
34 mbedtls_mpi_init( &DQ ); mbedtls_mpi_init( &QP ); in LLVMFuzzerTestOneInput()
40 if ( mbedtls_rsa_export_crt( rsa, &DP, &DQ, &QP ) != 0 ) { in LLVMFuzzerTestOneInput()
46 mbedtls_mpi_free( &DQ ); mbedtls_mpi_free( &QP ); in LLVMFuzzerTestOneInput()
Dfuzz_pubkey.c18 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in LLVMFuzzerTestOneInput() local
23 mbedtls_mpi_init( &DQ ); mbedtls_mpi_init( &QP ); in LLVMFuzzerTestOneInput()
32 if ( mbedtls_rsa_export_crt( rsa, &DP, &DQ, &QP ) != MBEDTLS_ERR_RSA_BAD_INPUT_DATA ) { in LLVMFuzzerTestOneInput()
38 mbedtls_mpi_free( &DQ ); mbedtls_mpi_free( &QP ); in LLVMFuzzerTestOneInput()
/third_party/mbedtls/library/
Drsa_alt_helpers.c242 mbedtls_mpi *DQ, mbedtls_mpi *QP ) in mbedtls_rsa_deduce_crt() argument
256 if( DQ != NULL ) in mbedtls_rsa_deduce_crt()
259 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( DQ, D, &K ) ); in mbedtls_rsa_deduce_crt()
403 const mbedtls_mpi *DQ, const mbedtls_mpi *QP ) in mbedtls_rsa_validate_crt() argument
432 if( DQ != NULL ) in mbedtls_rsa_validate_crt()
441 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &L, DQ, D ) ); in mbedtls_rsa_validate_crt()
Drsa.c198 mbedtls_mpi_cmp_int( &ctx->DQ, 0 ) <= 0 ) ) in rsa_check_context()
248 have_DQ = ( mbedtls_mpi_cmp_int( &ctx->DQ, 0 ) != 0 ); in mbedtls_rsa_complete()
320 &ctx->DP, &ctx->DQ, &ctx->QP ); in mbedtls_rsa_complete()
427 mbedtls_mpi *DP, mbedtls_mpi *DQ, mbedtls_mpi *QP ) in mbedtls_rsa_export_crt() argument
447 ( DQ != NULL && ( ret = mbedtls_mpi_copy( DQ, &ctx->DQ ) ) != 0 ) || in mbedtls_rsa_export_crt()
454 DP, DQ, QP ) ) != 0 ) in mbedtls_rsa_export_crt()
629 &ctx->DP, &ctx->DQ, &ctx->QP ) ); in mbedtls_rsa_gen_key()
701 &ctx->DP, &ctx->DQ, &ctx->QP ) != 0 ) in mbedtls_rsa_check_privkey()
900 mbedtls_mpi *DQ = &ctx->DQ; in mbedtls_rsa_private() local
1008 &ctx->DQ ) ); in mbedtls_rsa_private()
[all …]
Drsa_alt_helpers.h144 mbedtls_mpi *DQ, mbedtls_mpi *QP );
214 const mbedtls_mpi *DQ, const mbedtls_mpi *QP );
Dpkparse.c802 ( ret = mbedtls_mpi_copy( &rsa->DQ, &T ) ) != 0 ) in pk_parse_key_pkcs1_der()
/third_party/openssl/test/
Drsa_sp800_56b_test.c281 const int DQ = 13; in test_check_crt_components() local
306 && TEST_BN_eq_word(key->dmq1, DQ) in test_check_crt_components()
320 && TEST_true(BN_set_word(key->dmq1, DQ)) in test_check_crt_components()
332 && TEST_true(BN_set_word(key->dmq1, DQ-1)) in test_check_crt_components()
334 && TEST_true(BN_set_word(key->dmq1, DQ)) in test_check_crt_components()
Dkeymgmt_internal_test.c76 #define DQ 7 macro
128 || !TEST_true(get_ulong_via_BN(p, &keydata[DQ])) in export_cb()
199 || !TEST_true(BN_set_word(bn2, expected[DQ])) in test_pass_rsa()
Devp_pkey_provided_test.c341 #define DQ 6 macro
372 OSSL_PARAM_ulong(OSSL_PKEY_PARAM_RSA_EXPONENT2, &key_numbers[DQ]), in test_fromdata_rsa()
/third_party/mbedtls/include/mbedtls/
Drsa.h107 mbedtls_mpi MBEDTLS_PRIVATE(DQ); /*!< <code>D % (Q - 1)</code>. */
412 mbedtls_mpi *DP, mbedtls_mpi *DQ, mbedtls_mpi *QP );
/third_party/libwebsockets/lib/tls/mbedtls/
Dlws-genrsa.c81 &ctx->ctx->MBEDTLS_PRIVATE(DQ),
168 &ctx->ctx->MBEDTLS_PRIVATE(DQ),
483 &ctx->ctx->MBEDTLS_PRIVATE(DQ),
Dmbedtls-x509.c402 mpi[LWS_GENCRYPTO_RSA_KEYEL_DQ] = &rsactx->MBEDTLS_PRIVATE(DQ); in lws_x509_public_to_jwk()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ScheduleZnver2.td1019 // VPMOVSX/ZX BW BD BQ WD WQ DQ.
1021 def : InstRW<[Zn2WriteFPU12Y], (instregex "VPMOV(SX|ZX)(BW|BD|BQ|WD|WQ|DQ)Yrr")>;
1022 def : InstRW<[Zn2WriteFPU12Ym], (instregex "VPMOV(SX|ZX)(BW|BD|BQ|WD|WQ|DQ)Yrm")>;
1143 // PSLL,PSRL DQ.
DX86ScheduleZnver1.td1019 // VPMOVSX/ZX BW BD BQ WD WQ DQ.
1021 def : InstRW<[ZnWriteFPU12Y], (instregex "VPMOV(SX|ZX)(BW|BD|BQ|WD|WQ|DQ)Yrr")>;
1022 def : InstRW<[ZnWriteFPU12Ym], (instregex "VPMOV(SX|ZX)(BW|BD|BQ|WD|WQ|DQ)Yrm")>;
1149 // PSLL,PSRL DQ.
DX86SchedSkylakeServer.td433 defm : SKXWriteResPair<WriteCvtSS2I, [SKXPort01], 6, [2], 2>; // Needs more work: DD vs DQ.
445 defm : SKXWriteResPair<WriteCvtI2PSZ, [SKXPort05], 4>; // Needs more work: DD vs DQ.
820 "KUNPCK(BW|DQ|WD)rr",
/third_party/mbedtls/tests/suites/
Dtest_suite_rsa.function607 TEST_ASSERT( mbedtls_test_read_mpi( &ctx.DQ, radix_DQ, input_DQ ) == 0 );
680 TEST_ASSERT( mbedtls_test_read_mpi( &prv.DQ, radix_DQ, input_DQ ) == 0 );
Dtest_suite_rsa.data304 RSA Check Private key #8 (No DQ)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCInstrFormats.td405 // DQ-Form: [PO T RA DQ TX XO] or [PO S RA DQ SX XO]

12