/third_party/mbedtls/programs/pkey/ |
H A D | rsa_genkey.c | 59 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local 68 mbedtls_mpi_init(&DQ); mbedtls_mpi_init(&QP); in main() 94 (ret = mbedtls_rsa_export_crt(&rsa, &DP, &DQ, &QP)) != 0) { in main() 124 (ret = mbedtls_mpi_write_file("DQ = ", &DQ, 16, fpriv)) != 0 || in main() 145 mbedtls_mpi_free(&DQ); mbedtls_mpi_free(&QP); in main()
|
H A D | rsa_decrypt.c | 44 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local 72 mbedtls_mpi_init(&DQ); mbedtls_mpi_init(&QP); in main() 98 (ret = mbedtls_mpi_read_file(&DQ, 16, f)) != 0 || in main() 168 mbedtls_mpi_free(&DQ); mbedtls_mpi_free(&QP); in main()
|
H A D | rsa_sign.c | 42 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local 48 mbedtls_mpi_init(&DQ); mbedtls_mpi_init(&QP); in main() 75 (ret = mbedtls_mpi_read_file(&DQ, 16, f)) != 0 || in main() 150 mbedtls_mpi_free(&DQ); mbedtls_mpi_free(&QP); in main()
|
H A D | gen_key.c | 234 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local 249 mbedtls_mpi_init(&DQ); mbedtls_mpi_init(&QP); in main() 413 (ret = mbedtls_rsa_export_crt(rsa, &DP, &DQ, &QP)) != 0) { in main() 424 mbedtls_mpi_write_file("DQ: ", &DQ, 16, NULL); in main() 466 mbedtls_mpi_free(&DQ); mbedtls_mpi_free(&QP); in main()
|
H A D | key_app_writer.c | 257 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local 283 mbedtls_mpi_init(&DQ); mbedtls_mpi_init(&QP); in main() 386 (ret = mbedtls_rsa_export_crt(rsa, &DP, &DQ, &QP)) != 0) { in main() 397 mbedtls_mpi_write_file("DQ: ", &DQ, 16, NULL); in main() 482 mbedtls_mpi_free(&DQ); mbedtls_mpi_free(&QP); in main()
|
H A D | key_app.c | 144 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in main() local 166 mbedtls_mpi_init(&DQ); mbedtls_mpi_init(&QP); in main() 270 (ret = mbedtls_rsa_export_crt(rsa, &DP, &DQ, &QP)) != 0) { in main() 281 MBEDTLS_MPI_CHK(mbedtls_mpi_write_file("DQ: ", &DQ, 16, NULL)); in main() 363 mbedtls_mpi_free(&DQ); mbedtls_mpi_free(&QP); in main()
|
/third_party/mbedtls/programs/fuzz/ |
H A D | fuzz_pubkey.c | 22 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in LLVMFuzzerTestOneInput() local 27 mbedtls_mpi_init(&DQ); mbedtls_mpi_init(&QP); in LLVMFuzzerTestOneInput() 36 if (mbedtls_rsa_export_crt(rsa, &DP, &DQ, &QP) != MBEDTLS_ERR_RSA_BAD_INPUT_DATA) { in LLVMFuzzerTestOneInput() 42 mbedtls_mpi_free(&DQ); mbedtls_mpi_free(&QP); in LLVMFuzzerTestOneInput()
|
H A D | fuzz_privkey.c | 50 mbedtls_mpi N, P, Q, D, E, DP, DQ, QP; in LLVMFuzzerTestOneInput() local 55 mbedtls_mpi_init(&DQ); mbedtls_mpi_init(&QP); in LLVMFuzzerTestOneInput() 61 if (mbedtls_rsa_export_crt(rsa, &DP, &DQ, &QP) != 0) { in LLVMFuzzerTestOneInput() 67 mbedtls_mpi_free(&DQ); mbedtls_mpi_free(&QP); in LLVMFuzzerTestOneInput()
|
/third_party/mbedtls/library/ |
H A D | rsa_alt_helpers.c | 227 mbedtls_mpi *DQ, mbedtls_mpi *QP) in mbedtls_rsa_deduce_crt() 239 /* DQ = D mod Q-1 */ in mbedtls_rsa_deduce_crt() 240 if (DQ != NULL) { in mbedtls_rsa_deduce_crt() 242 MBEDTLS_MPI_CHK(mbedtls_mpi_mod_mpi(DQ, D, &K)); in mbedtls_rsa_deduce_crt() 374 const mbedtls_mpi *DQ, const mbedtls_mpi *QP) in mbedtls_rsa_validate_crt() 399 /* Check that DQ - D == 0 mod Q - 1 */ in mbedtls_rsa_validate_crt() 400 if (DQ != NULL) { in mbedtls_rsa_validate_crt() 407 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&L, DQ, D)); in mbedtls_rsa_validate_crt() 225 mbedtls_rsa_deduce_crt(const mbedtls_mpi *P, const mbedtls_mpi *Q, const mbedtls_mpi *D, mbedtls_mpi *DP, mbedtls_mpi *DQ, mbedtls_mpi *QP) mbedtls_rsa_deduce_crt() argument 372 mbedtls_rsa_validate_crt(const mbedtls_mpi *P, const mbedtls_mpi *Q, const mbedtls_mpi *D, const mbedtls_mpi *DP, const mbedtls_mpi *DQ, const mbedtls_mpi *QP) mbedtls_rsa_validate_crt() argument
|
H A D | rsa_alt_helpers.h | 119 * \param DQ Output variable for D modulo Q-1 130 mbedtls_mpi *DQ, mbedtls_mpi *QP); 180 * \param DQ MPI to check for D modulo P-1 186 * - Q = DQ mod P-1 if P, D, DQ != NULL 192 * data was provided to check DP, DQ or QP. 200 const mbedtls_mpi *DQ, const mbedtls_mpi *QP);
|
H A D | rsa.c | 160 * The RSA CRT parameters DP, DQ and QP are nominally redundant, in in mbedtls_rsa_parse_key() 176 /* Import DQ */ in mbedtls_rsa_parse_key() 178 (ret = mbedtls_mpi_copy(&rsa->DQ, &T)) != 0) { in mbedtls_rsa_parse_key() 306 /* Export DQ */ in mbedtls_rsa_write_key() 685 /* For private key operations, use D or DP & DQ in rsa_check_context() 693 mbedtls_mpi_cmp_int(&ctx->DQ, 0) <= 0)) { in rsa_check_context() 738 have_DQ = (mbedtls_mpi_cmp_int(&ctx->DQ, 0) != 0); in mbedtls_rsa_complete() 805 &ctx->DP, &ctx->DQ, &ctx->QP); in mbedtls_rsa_complete() 915 mbedtls_mpi *DP, mbedtls_mpi *DQ, mbedtls_mpi *QP) in mbedtls_rsa_export_crt() 935 (DQ ! in mbedtls_rsa_export_crt() 914 mbedtls_rsa_export_crt(const mbedtls_rsa_context *ctx, mbedtls_mpi *DP, mbedtls_mpi *DQ, mbedtls_mpi *QP) mbedtls_rsa_export_crt() argument [all...] |
/third_party/openssl/test/ |
H A D | keymgmt_internal_test.c | 76 #define DQ 7 macro 128 || !TEST_true(get_ulong_via_BN(p, &keydata[DQ])) in export_cb() 169 0xbd87, /* DQ */ in test_pass_rsa() 199 || !TEST_true(BN_set_word(bn2, expected[DQ])) in test_pass_rsa()
|
H A D | rsa_sp800_56b_test.c | 281 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()
|
H A D | evp_pkey_provided_test.c | 346 #define DQ 6 macro 367 0xbd87, /* DQ */ in test_fromdata_rsa() 377 OSSL_PARAM_ulong(OSSL_PKEY_PARAM_RSA_EXPONENT2, &key_numbers[DQ]), in test_fromdata_rsa()
|
/third_party/mbedtls/include/mbedtls/ |
H A D | rsa.h | 100 mbedtls_mpi MBEDTLS_PRIVATE(DQ); /*!< <code>D % (Q - 1)</code>. */ 417 * \param DQ The MPI to hold \c D modulo `Q-1`, 427 mbedtls_mpi *DP, mbedtls_mpi *DQ, mbedtls_mpi *QP);
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
H A D | lws-genrsa.c | 81 &ctx->ctx->MBEDTLS_PRIVATE(DQ), 168 &ctx->ctx->MBEDTLS_PRIVATE(DQ), 483 &ctx->ctx->MBEDTLS_PRIVATE(DQ),
|
H A D | mbedtls-x509.c | 402 mpi[LWS_GENCRYPTO_RSA_KEYEL_DQ] = &rsactx->MBEDTLS_PRIVATE(DQ); in lws_x509_public_to_jwk()
|
/third_party/node/deps/openssl/openssl/crypto/perlasm/ |
H A D | x86masm.pl | 131 DQ 2 dup (?)
|
/third_party/openssl/crypto/perlasm/ |
H A D | x86masm.pl | 131 DQ 2 dup (?)
|
/third_party/ffmpeg/libavutil/x86/ |
H A D | x86inc.asm | 840 %assign cpuflags_avx512 (1<<20)| cpuflags_avx2 ; F, CD, BW, DQ, VL
|