/third_party/openssl/crypto/rsa/ |
D | rsa_lib.c | 135 BN_clear_free(r->iqmp); in RSA_free() 230 int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp) in RSA_set0_crt_params() argument 237 || (r->iqmp == NULL && iqmp == NULL)) in RSA_set0_crt_params() 250 if (iqmp != NULL) { in RSA_set0_crt_params() 251 BN_clear_free(r->iqmp); in RSA_set0_crt_params() 252 r->iqmp = iqmp; in RSA_set0_crt_params() 253 BN_set_flags(r->iqmp, BN_FLG_CONSTTIME); in RSA_set0_crt_params() 378 const BIGNUM **iqmp) in RSA_get0_crt_params() argument 384 if (iqmp != NULL) in RSA_get0_crt_params() 385 *iqmp = r->iqmp; in RSA_get0_crt_params() [all …]
|
D | rsa_gen.c | 120 if (!rsa->iqmp && ((rsa->iqmp = BN_secure_new()) == NULL)) in rsa_builtin_keygen() 365 if (!BN_mod_inverse(rsa->iqmp, rsa->q, p, ctx)) { in rsa_builtin_keygen()
|
D | rsa_x931g.c | 130 rsa->iqmp = BN_mod_inverse(NULL, rsa->q, rsa->p, ctx2); in RSA_X931_derive_ex() 131 if (rsa->iqmp == NULL) in RSA_X931_derive_ex()
|
D | rsa_chk.c | 154 if (key->dmp1 != NULL && key->dmq1 != NULL && key->iqmp != NULL) { in RSA_check_key_ex() 188 if (BN_cmp(i, key->iqmp) != 0) { in RSA_check_key_ex()
|
D | rsa_local.h | 45 BIGNUM *iqmp; member
|
D | rsa_asn1.c | 60 ASN1_SIMPLE(RSA, iqmp, CBIGNUM),
|
D | rsa_ossl.c | 315 (rsa->dmp1 != NULL) && (rsa->dmq1 != NULL) && (rsa->iqmp != NULL))) { in rsa_ossl_private_encrypt() 437 (rsa->dmp1 != NULL) && (rsa->dmq1 != NULL) && (rsa->iqmp != NULL))) { in rsa_ossl_private_decrypt() 699 || !bn_mul_mont_fixed_top(r1, r1, rsa->iqmp, rsa->_method_mod_p, in rsa_ossl_mod_exp() 825 if (!BN_mul(r1, r0, rsa->iqmp, ctx)) in rsa_ossl_mod_exp()
|
D | rsa_ameth.c | 372 if (!ASN1_bn_print(bp, "coefficient:", x->iqmp, NULL, off)) in pkey_rsa_print()
|
/third_party/openssl/test/ |
D | rsa_test.c | 44 BN_bin2bn(iqmp, sizeof(iqmp)-1, NULL)); \ 85 static unsigned char iqmp[] = in key1() local 130 static unsigned char iqmp[] = in key2() local 195 static unsigned char iqmp[] = in key3() local
|
D | rsa_mp_test.c | 101 static const unsigned char iqmp[] = in key2048p3() local 150 BN_bin2bn(iqmp, sizeof(iqmp) - 1, in key2048p3()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
D | rsa.c | 27 struct bignum *iqmp; /* 1 / q mod p; CRT coefficient */ member 164 key->iqmp = bignum_init(); in crypto_rsa_import_private_key() 168 key->dmq1 == NULL || key->iqmp == NULL) { in crypto_rsa_import_private_key() 215 pos = crypto_rsa_parse_integer(pos, end, key->iqmp); in crypto_rsa_import_private_key() 306 bignum_mulmod(tmp, key->iqmp, key->p, tmp) < 0) in crypto_rsa_exptmod() 363 bignum_deinit(key->iqmp); in crypto_rsa_free()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
D | rsa.c | 27 struct bignum *iqmp; /* 1 / q mod p; CRT coefficient */ member 169 key->iqmp = bignum_init(); in crypto_rsa_import_private_key() 173 key->dmq1 == NULL || key->iqmp == NULL) { in crypto_rsa_import_private_key() 224 pos = crypto_rsa_parse_integer(pos, end, key->iqmp); in crypto_rsa_import_private_key() 315 bignum_mulmod(tmp, key->iqmp, key->p, tmp) < 0) in crypto_rsa_exptmod() 372 bignum_deinit(key->iqmp); in crypto_rsa_free()
|
/third_party/openssl/crypto/pem/ |
D | pvkfmt.c | 325 BIGNUM *p = NULL, *q = NULL, *dmp1 = NULL, *dmq1 = NULL, *iqmp = NULL; in b2i_rsa() local 350 if (!read_lebn(&pin, hnbyte, &iqmp)) in b2i_rsa() 357 if (!RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp)) in b2i_rsa() 359 dmp1 = dmq1 = iqmp = NULL; in b2i_rsa() 378 BN_free(iqmp); in b2i_rsa() 533 const BIGNUM *d, *p, *q, *iqmp, *dmp1, *dmq1; in check_bitlen_rsa() local 544 RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); in check_bitlen_rsa() 545 if ((BN_num_bytes(iqmp) > hnbyte) in check_bitlen_rsa() 561 const BIGNUM *n, *d, *e, *p, *q, *iqmp, *dmp1, *dmq1; in write_rsa() local 571 RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); in write_rsa() [all …]
|
/third_party/openssl/doc/man3/ |
D | RSA_get0_key.pod | 21 int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp); 27 const BIGNUM **iqmp); 52 B<n>, B<e>, B<d>, B<p>, B<q>, B<dmp1>, B<dmq1> and B<iqmp>. B<n> is 55 B<dmq1> and B<iqmp> are the factors for the second representation of a 57 the first and second factor of B<n> and B<dmp1>, B<dmq1> and B<iqmp> 84 B<dmq1> and B<iqmp> parameters can be obtained and set with 97 Any of the values B<n>, B<e>, B<d>, B<p>, B<q>, B<dmp1>, B<dmq1>, and B<iqmp> can also be
|
D | RSA_check_key.pod | 24 and that B<dmp1>, B<dmq1> and B<iqmp> are set correctly or are B<NULL>.
|
D | RSA_set_method.pod | 117 * operations, even if p,q,dmp1,dmq1,iqmp
|
/third_party/node/deps/npm/node_modules/sshpk/lib/formats/ |
D | pkcs1.js | 98 var iqmp = readMPInt(der, 'iqmp'); 107 { name: 'iqmp', data: iqmp }, 301 der.writeBuffer(key.part.iqmp.data, asn1.Ber.Integer);
|
D | dnssec.js | 234 var iqmp = utils.mpDenormalize(key.part['iqmp'].data); 235 out += 'Coefficient: ' + iqmp.toString('base64') + '\n';
|
D | pkcs8.js | 121 var iqmp = readMPInt(der, 'iqmp'); 130 { name: 'iqmp', data: iqmp }, 479 der.writeBuffer(key.part.iqmp.data, asn1.Ber.Integer);
|
/third_party/openssl/include/openssl/ |
D | rsa.h | 206 int RSA_set0_crt_params(RSA *r,BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp); 216 const BIGNUM **iqmp);
|
/third_party/openssl/crypto/err/ |
D | openssl.txt | 2551 RSA_R_IQMP_NOT_INVERSE_OF_Q:126:iqmp not inverse of q
|
/third_party/openssl/ |
D | CHANGES | 12275 method only got called if p,q,dmp1,dmq1,iqmp components were present,
|