/freebsd-11-stable/contrib/wpa/src/tls/ |
H A D | rsa.c | 27 struct bignum *iqmp; /* 1 / q mod p; CRT coefficient */ member in struct:crypto_rsa_key 169 key->iqmp = bignum_init(); 173 key->dmq1 == NULL || key->iqmp == NULL) { 224 pos = crypto_rsa_parse_integer(pos, end, key->iqmp); 294 * iqmp = (1/q) mod p, where p > q 315 bignum_mulmod(tmp, key->iqmp, key->p, tmp) < 0) 372 bignum_deinit(key->iqmp);
|
/freebsd-11-stable/crypto/openssl/crypto/rsa/ |
H A D | rsa_eay.c | 426 (rsa->dmp1 != NULL) && (rsa->dmq1 != NULL) && (rsa->iqmp != NULL))) { 544 (rsa->dmp1 != NULL) && (rsa->dmq1 != NULL) && (rsa->iqmp != NULL))) { 787 /* r1 = r1 * iqmp mod p */ 789 || !bn_mul_mont_fixed_top(r1, r1, rsa->iqmp, rsa->_method_mod_p, 849 if (!BN_mul(r1, r0, rsa->iqmp, ctx))
|
H A D | rsa_chk.c | 147 if (key->dmp1 != NULL && key->dmq1 != NULL && key->iqmp != NULL) { 151 BN_set_flags(key->iqmp, BN_FLG_CONSTTIME); 180 /* iqmp = q^-1 mod p? */ 185 if (BN_cmp(i, key->iqmp) != 0) {
|
H A D | rsa_gen.c | 153 if (!rsa->iqmp && ((rsa->iqmp = BN_new()) == NULL)) 257 if (!BN_mod_inverse(rsa->iqmp, rsa->q, p, ctx))
|
H A D | rsa_test.c | 29 key->iqmp = BN_bin2bn(iqmp, sizeof(iqmp)-1, key->iqmp); \ 69 static unsigned char iqmp[] = local 114 static unsigned char iqmp[] = local 179 static unsigned char iqmp[] = local
|
H A D | rsa_ameth.c | 203 update_buflen(x->iqmp, &buf_len); 246 if (!ASN1_bn_print(bp, "coefficient:", x->iqmp, m, off))
|
H A D | rsa_lib.c | 179 ret->iqmp = NULL; 252 if (r->iqmp != NULL) 253 BN_clear_free(r->iqmp); 309 t[5] = &r->iqmp;
|
H A D | rsa.h | 149 BIGNUM *iqmp; member in struct:rsa_st
|
H A D | rsa_asn1.c | 93 ASN1_SIMPLE(RSA, iqmp, BIGNUM)
|
/freebsd-11-stable/crypto/openssl/crypto/pem/ |
H A D | pvkfmt.c | 389 if (!read_lebn(&p, hnbyte, &rsa->iqmp)) 570 if ((BN_num_bytes(rsa->iqmp) > hnbyte) 596 write_lebn(out, rsa->iqmp, hnbyte);
|
/freebsd-11-stable/crypto/openssl/crypto/engine/ |
H A D | eng_cryptodev.c | 1182 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) { 1189 /* inputs: rsa->p rsa->q I rsa->dmp1 rsa->dmq1 rsa->iqmp */ 1200 if (bn2crparam(rsa->iqmp, &kop.crk_param[5]))
|
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | libssl_compat.c | 203 BIGNUM * iqmp 209 (prsa->iqmp || iqmp) )) 214 replace_bn_nn(&prsa->iqmp, iqmp);
|
/freebsd-11-stable/crypto/openssh/ |
H A D | sshkey.c | 541 bn_maybe_alloc_failed(k->rsa->iqmp) || 2594 (r = sshbuf_put_bignum2(b, key->rsa->iqmp)) != 0 || 2606 (r = sshbuf_put_bignum2(b, key->rsa->iqmp)) != 0 || 2775 (r = sshbuf_get_bignum2(buf, k->rsa->iqmp)) != 0 || 2785 (r = sshbuf_get_bignum2(buf, k->rsa->iqmp)) != 0 || 3451 (r = sshbuf_put_bignum1(buffer, key->rsa->iqmp)) != 0 || 3740 (r = sshbuf_get_bignum1(decrypted, prv->rsa->iqmp)) != 0 ||
|
H A D | ssh-keygen.c | 514 buffer_get_bignum_bits(b, key->rsa->iqmp);
|
H A D | ssh-agent.c | 597 (r = sshbuf_get_bignum1(m, k->rsa->iqmp)) != 0 ||
|
H A D | authfd.c | 508 (r = sshbuf_put_bignum1(b, key->iqmp)) != 0 ||
|
/freebsd-11-stable/contrib/ntp/include/ |
H A D | libssl_compat.h | 67 BIGNUM *dmq1, BIGNUM *iqmp);
|
/freebsd-11-stable/crypto/openssl/engines/ |
H A D | e_chil.c | 1042 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) { 1058 BN2MPI(m_iqmp, rsa->iqmp);
|
H A D | e_aep.c | 119 const BIGNUM *dmq1, const BIGNUM *iqmp, 655 const BIGNUM *dmq1, const BIGNUM *iqmp, 674 (void *)dmp1, (void *)dmq1, (void *)iqmp, (void *)r, 784 if (rsa->q && rsa->dmp1 && rsa->dmq1 && rsa->iqmp) { 786 rsa->iqmp, ctx); 653 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
|
H A D | e_cswift.c | 117 const BIGNUM *dmq1, const BIGNUM *iqmp, 605 const BIGNUM *dmq1, const BIGNUM *iqmp, 621 sw_param.up.crt.iqmp.value = NULL; 665 if (!cswift_bn_32copy(&sw_param.up.crt.iqmp, iqmp)) { 718 if (sw_param.up.crt.iqmp.value) 719 OPENSSL_free(sw_param.up.crt.iqmp.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, rsa->iqmp, ct 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_gmp.c | 328 mpz_t iqmp; member in struct:st_e_gmp_rsa_ctx 351 mpz_init(hptr->iqmp); 359 || !rsa->iqmp) { 365 !bn2gmp(rsa->dmq1, hptr->dmq1) || !bn2gmp(rsa->iqmp, hptr->iqmp)) 378 mpz_clear(hptr->iqmp); 399 mpz_clear(hptr->iqmp); 446 mpz_mul(hptr->r1, hptr->r0, hptr->iqmp);
|
H A D | e_ubsec.c | 617 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) { 623 rsa->dmq1, rsa->iqmp, ctx);
|
/freebsd-11-stable/crypto/openssl/engines/vendor_defns/ |
H A D | cswift.h | 184 SW_LARGENUMBER iqmp; /* CRT coefficient */ member in struct:_SW_CRT
|
H A D | hwcryptohook.h | 403 HWCryptoHook_MPI iqmp, 415 HWCryptoHook_MPI iqmp,
|
/freebsd-11-stable/crypto/heimdal/lib/hx509/ |
H A D | crypto.c | 2986 rsa->iqmp = BN_dup(private_key->private_key.rsa->iqmp);
|