/freebsd-9.3-release/crypto/openssl/crypto/rsa/ |
H A D | rsa_test.c | 27 key->dmp1 = BN_bin2bn(dmp1, sizeof(dmp1)-1, key->dmp1); \ 60 static unsigned char dmp1[] = local 106 static unsigned char dmp1[] = local 167 static unsigned char dmp1[] = local
|
H A D | rsa_asn1.c | 101 ASN1_SIMPLE(RSA, dmp1, BIGNUM),
|
H A D | rsa_chk.c | 146 if (key->dmp1 != NULL && key->dmq1 != NULL && key->iqmp != NULL) { 147 /* dmp1 = d mod (p-1)? */ 160 if (BN_cmp(j, key->dmp1) != 0) {
|
H A D | rsa_eng.c | 192 ret->dmp1 = NULL; 263 if (r->dmp1 != NULL) 264 BN_clear_free(r->dmp1); 327 t[3] = &r->dmp1;
|
H A D | rsa_x931g.c | 165 rsa->dmp1 = BN_new(); 166 if (rsa->dmp1 == NULL) 168 if (!BN_mod(rsa->dmp1, rsa->d, r1, ctx))
|
H A D | rsa_gen.c | 124 if (!rsa->dmp1 && ((rsa->dmp1 = BN_new()) == NULL)) 208 if (!BN_mod(rsa->dmp1, d, r1, 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 796 /* compute r1^dmp1 mod p */ 798 dmp1 = &local_dmp1; 799 BN_with_flags(dmp1, rsa->dmp1, BN_FLG_CONSTTIME); 801 dmp1 = rsa->dmp1; 802 if (!rsa->meth->bn_mod_exp(r0, r1, dmp1, rs [all...] |
/freebsd-9.3-release/crypto/openssl/fips/rsa/ |
H A D | fips_rsa_lib.c | 100 if (r->dmp1 != NULL) 101 BN_clear_free(r->dmp1);
|
H A D | fips_rsa_x931g.c | 168 rsa->dmp1 = BN_new(); 169 if (rsa->dmp1 == NULL) 171 if (!BN_mod(rsa->dmp1, rsa->d, r1, ctx))
|
H A D | fips_rsa_gen.c | 206 if (!rsa->dmp1 && ((rsa->dmp1 = BN_new()) == NULL)) 290 if (!BN_mod(rsa->dmp1, d, r1, 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 806 /* compute r1^dmp1 mod p */ 808 dmp1 = &local_dmp1; 809 BN_with_flags(dmp1, rsa->dmp1, BN_FLG_CONSTTIME); 811 dmp1 = rsa->dmp1; 812 if (!rsa->meth->bn_mod_exp(r0, r1, dmp1, rs [all...] |
H A D | fips_rsa_selftest.c | 99 static const unsigned char dmp1[] = local 123 key->dmp1 = BN_bin2bn(dmp1, sizeof(dmp1) - 1, key->dmp1);
|
/freebsd-9.3-release/crypto/openssl/engines/ |
H A D | e_gmp.c | 324 mpz_t dmp1; member in struct:st_e_gmp_rsa_ctx 347 mpz_init(hptr->dmp1); 356 if (!rsa->p || !rsa->q || !rsa->d || !rsa->dmp1 || !rsa->dmq1 362 !bn2gmp(rsa->q, hptr->q) || !bn2gmp(rsa->dmp1, hptr->dmp1) || 374 mpz_clear(hptr->dmp1); 395 mpz_clear(hptr->dmp1); 438 mpz_powm(hptr->r0, hptr->r1, hptr->dmp1, hptr->p);
|
H A D | e_cswift.c | 116 const BIGNUM *q, const BIGNUM *dmp1, 604 const BIGNUM *q, const BIGNUM *dmp1, 619 sw_param.up.crt.dmp1.value = NULL; 657 if (!cswift_bn_32copy(&sw_param.up.crt.dmp1, dmp1)) { 714 if (sw_param.up.crt.dmp1.value) 715 OPENSSL_free(sw_param.up.crt.dmp1.value); 737 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) { 746 BN_num_bytes(rsa->dmp1) > 128 || 761 to_return = cswift_mod_exp_crt(r0, I, rsa->p, rsa->q, rsa->dmp1, 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 | 117 const BIGNUM *q, const BIGNUM *dmp1, 653 const BIGNUM *q, const BIGNUM *dmp1, 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 | 31 struct bignum *dmp1; /* d mod (p - 1); CRT exponent */ member in struct:crypto_rsa_key 150 key->dmp1 = bignum_init(); 155 key->p == NULL || key->q == NULL || key->dmp1 == NULL || 205 pos = crypto_rsa_parse_integer(pos, end, key->dmp1); 275 * dmp1 = (1/e) mod (p-1) 278 * m1 = c^dmp1 mod p 288 /* a = tmp^dmp1 mod p */ 289 if (bignum_exptmod(tmp, key->dmp1, key->p, a) < 0) 353 bignum_deinit(key->dmp1);
|
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | libssl_compat.c | 195 BIGNUM * dmp1, 201 if (!((prsa->dmp1 || dmp1) && 206 replace_bn_nn(&prsa->dmp1, dmp1); 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 | 5 const BIGNUM *q, const BIGNUM *dmp1,
|
H A D | hw_cluster_labs.c | 456 const BIGNUM *q, const BIGNUM *dmp1, 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/demos/engines/ibmca/ |
H A D | hw_ibmca.c | 97 const BIGNUM *q, const BIGNUM *dmp1, 589 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) { 597 to_return = ibmca_mod_exp_crt(r0, I, rsa->p, rsa->q, rsa->dmp1, 609 const BIGNUM *q, const BIGNUM *dmp1, 630 unsigned int dmp1bytes = BN_num_bytes(dmp1); 686 privKey->dpLength = CORRECT_ENDIANNESS(BN_num_bytes(dmp1) + 8); 733 /* pkey += pSize - BN_num_bytes(p); WROING this should be dmp1) */ 734 pkey += pSize - BN_num_bytes(dmp1); 735 BN_bn2bin(dmp1, pkey); 736 pkey += BN_num_bytes(dmp1); /* mov 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 [all...] |
/freebsd-9.3-release/crypto/openssl/engines/vendor_defns/ |
H A D | hwcryptohook.h | 401 HWCryptoHook_MPI dmp1, 413 HWCryptoHook_MPI dmp1,
|
H A D | cswift.h | 182 SW_LARGENUMBER dmp1; /* exponent1 */ member in struct:_SW_CRT
|
/freebsd-9.3-release/crypto/openssh/ |
H A D | rsa.c | 145 (BN_mod(rsa->dmp1, rsa->d, aux, ctx) == 0))
|
/freebsd-9.3-release/contrib/ntp/include/ |
H A D | libssl_compat.h | 54 extern int sslshim_RSA_set0_crt_params(RSA *prsa, BIGNUM *dmp1,
|
/freebsd-9.3-release/crypto/openssl/crypto/asn1/ |
H A D | t_pkey.c | 128 if (x->dmp1) 129 if (buf_len < (i = (size_t)BN_num_bytes(x->dmp1))) 170 if ((x->dmp1 != NULL) && !print(bp, "exponent1:", x->dmp1, m, off))
|