/freebsd-9.3-release/crypto/openssl/crypto/rsa/ |
H A D | rsa_test.c | 28 key->dmq1 = BN_bin2bn(dmq1, sizeof(dmq1)-1, key->dmq1); \ 64 static unsigned char dmq1[] = local 110 static unsigned char dmq1[] = local 173 static unsigned char dmq1[] = local
|
H A D | rsa_asn1.c | 102 ASN1_SIMPLE(RSA, dmq1, BIGNUM),
|
H A D | rsa_chk.c | 146 if (key->dmp1 != NULL && key->dmq1 != NULL && key->iqmp != NULL) { 165 /* dmq1 = d mod (q-1)? */ 178 if (BN_cmp(j, key->dmq1) != 0) {
|
H A D | rsa_eng.c | 193 ret->dmq1 = NULL; 265 if (r->dmq1 != NULL) 266 BN_clear_free(r->dmq1); 328 t[4] = &r->dmq1;
|
H A D | rsa_x931g.c | 172 rsa->dmq1 = BN_new(); 173 if (rsa->dmq1 == NULL) 175 if (!BN_mod(rsa->dmq1, rsa->d, r2, ctx))
|
H A D | rsa_gen.c | 126 if (!rsa->dmq1 && ((rsa->dmq1 = BN_new()) == NULL)) 212 if (!BN_mod(rsa->dmq1, d, r2, ctx))
|
H A D | rsa_eay.c | 422 (rsa->dmp1 != NULL) && (rsa->dmq1 != NULL) && (rsa->iqmp != NULL))) { 551 (rsa->dmp1 != NULL) && (rsa->dmq1 != NULL) && (rsa->iqmp != NULL))) { 721 BIGNUM *dmp1, *dmq1, *c, *pr1; local 776 /* compute r1^dmq1 mod q */ 778 dmq1 = &local_dmq1; 779 BN_with_flags(dmq1, rsa->dmq1, BN_FLG_CONSTTIME); 781 dmq1 = rsa->dmq1; 782 if (!rsa->meth->bn_mod_exp(m1, r1, dmq1, rs [all...] |
/freebsd-9.3-release/crypto/openssl/fips/rsa/ |
H A D | fips_rsa_lib.c | 102 if (r->dmq1 != NULL) 103 BN_clear_free(r->dmq1);
|
H A D | fips_rsa_x931g.c | 175 rsa->dmq1 = BN_new(); 176 if (rsa->dmq1 == NULL) 178 if (!BN_mod(rsa->dmq1, rsa->d, r2, ctx))
|
H A D | fips_rsa_gen.c | 208 if (!rsa->dmq1 && ((rsa->dmq1 = BN_new()) == NULL)) 294 if (!BN_mod(rsa->dmq1, d, r2, ctx))
|
H A D | fips_rsa_eay.c | 437 (rsa->dmp1 != NULL) && (rsa->dmq1 != NULL) && (rsa->iqmp != NULL))) { 565 (rsa->dmp1 != NULL) && (rsa->dmq1 != NULL) && (rsa->iqmp != NULL))) { 740 BIGNUM *dmp1, *dmq1, *c, *pr1; local 786 /* compute r1^dmq1 mod q */ 788 dmq1 = &local_dmq1; 789 BN_with_flags(dmq1, rsa->dmq1, BN_FLG_CONSTTIME); 791 dmq1 = rsa->dmq1; 792 if (!rsa->meth->bn_mod_exp(m1, r1, dmq1, rs [all...] |
H A D | fips_rsa_selftest.c | 105 static const unsigned char dmq1[] = local 124 key->dmq1 = BN_bin2bn(dmq1, sizeof(dmq1) - 1, key->dmq1);
|
/freebsd-9.3-release/crypto/openssl/engines/ |
H A D | e_gmp.c | 325 mpz_t dmq1; member in struct:st_e_gmp_rsa_ctx 348 mpz_init(hptr->dmq1); 356 if (!rsa->p || !rsa->q || !rsa->d || !rsa->dmp1 || !rsa->dmq1 363 !bn2gmp(rsa->dmq1, hptr->dmq1) || !bn2gmp(rsa->iqmp, hptr->iqmp)) 375 mpz_clear(hptr->dmq1); 396 mpz_clear(hptr->dmq1); 435 mpz_powm(hptr->m1, hptr->r1, hptr->dmq1, hptr->q);
|
H A D | e_cswift.c | 117 const BIGNUM *dmq1, const BIGNUM *iqmp, 605 const BIGNUM *dmq1, const BIGNUM *iqmp, 620 sw_param.up.crt.dmq1.value = NULL; 661 if (!cswift_bn_32copy(&sw_param.up.crt.dmq1, dmq1)) { 716 if (sw_param.up.crt.dmq1.value) 717 OPENSSL_free(sw_param.up.crt.dmq1.value); 737 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) { 747 BN_num_bytes(rsa->dmq1) > 128 || BN_num_bytes(rsa->iqmp) > 128) { 762 rsa->dmq1, rs 603 cswift_mod_exp_crt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *q, const BIGNUM *dmp1, const BIGNUM *dmq1, const BIGNUM *iqmp, BN_CTX *ctx) argument [all...] |
H A D | e_aep.c | 118 const BIGNUM *dmq1, const BIGNUM *iqmp, 654 const BIGNUM *dmq1, const BIGNUM *iqmp, 673 (void *)dmp1, (void *)dmq1, (void *)iqmp, (void *)r, 783 if (rsa->q && rsa->dmp1 && rsa->dmq1 && rsa->iqmp) { 784 rv = aep_mod_exp_crt(r0, I, rsa->p, rsa->q, rsa->dmp1, rsa->dmq1, 652 aep_mod_exp_crt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *q, const BIGNUM *dmp1, const BIGNUM *dmq1, const BIGNUM *iqmp, BN_CTX *ctx) argument
|
/freebsd-9.3-release/contrib/wpa/src/tls/ |
H A D | rsa.c | 32 struct bignum *dmq1; /* d mod (q - 1); CRT exponent */ member in struct:crypto_rsa_key 151 key->dmq1 = bignum_init(); 156 key->dmq1 == NULL || key->iqmp == NULL) { 206 pos = crypto_rsa_parse_integer(pos, end, key->dmq1); 276 * dmq1 = (1/e) mod (q-1) 279 * m2 = c^dmq1 mod q 292 /* b = tmp^dmq1 mod q */ 293 if (bignum_exptmod(tmp, key->dmq1, key->q, b) < 0) 354 bignum_deinit(key->dmq1);
|
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | libssl_compat.c | 196 BIGNUM * dmq1, 202 (prsa->dmq1 || dmq1) && 207 replace_bn_nn(&prsa->dmq1, dmq1); 193 sslshim_RSA_set0_crt_params( RSA * prsa, BIGNUM * dmp1, BIGNUM * dmq1, BIGNUM * iqmp ) argument
|
/freebsd-9.3-release/crypto/openssl/demos/engines/cluster_labs/ |
H A D | cluster_labs.h | 6 const BIGNUM *dmq1, const BIGNUM *iqmp,
|
H A D | hw_cluster_labs.c | 457 const BIGNUM *dmq1, const BIGNUM *iqmp, 470 return p_cl_mod_exp_crt(r, a, p, q, dmp1, dmq1, iqmp, ctx); 455 cluster_labs_mod_exp_crt(BIGNUM *r, BIGNUM *a, const BIGNUM *p, const BIGNUM *q, const BIGNUM *dmp1, const BIGNUM *dmq1, const BIGNUM *iqmp, BN_CTX *ctx) argument
|
/freebsd-9.3-release/crypto/openssl/engines/vendor_defns/ |
H A D | hwcryptohook.h | 402 HWCryptoHook_MPI dmq1, 414 HWCryptoHook_MPI dmq1,
|
H A D | cswift.h | 183 SW_LARGENUMBER dmq1; /* exponent2 */ member in struct:_SW_CRT
|
/freebsd-9.3-release/crypto/openssh/ |
H A D | rsa.c | 143 (BN_mod(rsa->dmq1, rsa->d, aux, ctx) == 0) ||
|
/freebsd-9.3-release/contrib/ntp/include/ |
H A D | libssl_compat.h | 55 BIGNUM *dmq1, BIGNUM *iqmp);
|
/freebsd-9.3-release/crypto/openssl/demos/engines/ibmca/ |
H A D | hw_ibmca.c | 98 const BIGNUM *dmq1, const BIGNUM *iqmp, 589 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) { 598 rsa->dmq1, rsa->iqmp, ctx); 610 const BIGNUM *dmq1, const BIGNUM *iqmp, 631 unsigned int dmq1bytes = BN_num_bytes(dmq1); 687 privKey->dqLength = CORRECT_ENDIANNESS(BN_num_bytes(dmq1)); 738 BN_bn2bin(dmq1, pkey); /* Copy over dmq1 */ 608 ibmca_mod_exp_crt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *q, const BIGNUM *dmp1, const BIGNUM *dmq1, const BIGNUM *iqmp, BN_CTX *ctx) argument
|
/freebsd-9.3-release/crypto/openssl/crypto/asn1/ |
H A D | t_pkey.c | 131 if (x->dmq1) 132 if (buf_len < (i = (size_t)BN_num_bytes(x->dmq1))) 172 if ((x->dmq1 != NULL) && !print(bp, "exponent2:", x->dmq1, m, off))
|