Searched refs:iqmp (Results 1 - 24 of 24) sorted by relevance

/external/openssl/crypto/rsa/
H A Drsa_test.c29 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 Drsa_lib.c183 ret->iqmp=NULL;
250 if (r->iqmp != NULL) BN_clear_free(r->iqmp);
303 t[5]= &r->iqmp;
H A Drsa_chk.c131 if (key->dmp1 != NULL && key->dmq1 != NULL && key->iqmp != NULL)
161 /* iqmp = q^-1 mod p? */
168 if (BN_cmp(i, key->iqmp) != 0)
H A Drsa_asn1.c91 ASN1_SIMPLE(RSA, iqmp, BIGNUM)
H A Drsa_gen.c128 if(!rsa->iqmp && ((rsa->iqmp=BN_new()) == NULL)) goto err;
217 if (!BN_mod_inverse(rsa->iqmp,rsa->q,p,ctx)) goto err;
H A Drsa_ameth.c201 update_buflen(x->iqmp, &buf_len);
246 if (!ASN1_bn_print(bp,"coefficient:",x->iqmp,m,off))
H A Drsa_eay.c429 (rsa->iqmp != NULL)) )
563 (rsa->iqmp != NULL)) )
837 if (!BN_mul(r1,r0,rsa->iqmp,ctx)) goto err;
H A Drsa.h145 BIGNUM *iqmp; member in struct:rsa_st
/external/ipsec-tools/src/racoon/
H A Dprsa_par.y190 || !rsa_cur->dmq1 || !rsa_cur->iqmp) {
195 if (rsa_cur->iqmp) BN_clear_free(rsa_cur->iqmp);
201 rsa_cur->iqmp = NULL;
305 { if (!rsa_cur->iqmp) rsa_cur->iqmp = $3; else { prsaerror ("Coefficient already defined\n"); YYABORT; } }
H A Dplainrsa-gen.c147 fprintf(fp, "\tCoefficient: 0x%s\n", lowercase(BN_bn2hex(key->iqmp)));
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
H A Drsa.c34 struct bignum *iqmp; /* 1 / q mod p; CRT coefficient */ member in struct:crypto_rsa_key
154 key->iqmp = bignum_init();
158 key->dmq1 == NULL || key->iqmp == NULL) {
209 pos = crypto_rsa_parse_integer(pos, end, key->iqmp);
280 * iqmp = (1/q) mod p, where p > q
301 bignum_mulmod(tmp, key->iqmp, key->p, tmp) < 0)
358 bignum_deinit(key->iqmp);
/external/wpa_supplicant_8/hostapd/src/tls/
H A Drsa.c27 struct bignum *iqmp; /* 1 / q mod p; CRT coefficient */ member in struct:crypto_rsa_key
146 key->iqmp = bignum_init();
150 key->dmq1 == NULL || key->iqmp == NULL) {
201 pos = crypto_rsa_parse_integer(pos, end, key->iqmp);
271 * iqmp = (1/q) mod p, where p > q
292 bignum_mulmod(tmp, key->iqmp, key->p, tmp) < 0)
349 bignum_deinit(key->iqmp);
/external/wpa_supplicant_8/src/tls/
H A Drsa.c27 struct bignum *iqmp; /* 1 / q mod p; CRT coefficient */ member in struct:crypto_rsa_key
146 key->iqmp = bignum_init();
150 key->dmq1 == NULL || key->iqmp == NULL) {
201 pos = crypto_rsa_parse_integer(pos, end, key->iqmp);
271 * iqmp = (1/q) mod p, where p > q
292 bignum_mulmod(tmp, key->iqmp, key->p, tmp) < 0)
349 bignum_deinit(key->iqmp);
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Drsa.c27 struct bignum *iqmp; /* 1 / q mod p; CRT coefficient */ member in struct:crypto_rsa_key
146 key->iqmp = bignum_init();
150 key->dmq1 == NULL || key->iqmp == NULL) {
201 pos = crypto_rsa_parse_integer(pos, end, key->iqmp);
271 * iqmp = (1/q) mod p, where p > q
292 bignum_mulmod(tmp, key->iqmp, key->p, tmp) < 0)
349 bignum_deinit(key->iqmp);
/external/dropbear/
H A Dkeyimport.c578 * dmp1, dmq1, iqmp in that order. (The last three are d mod
633 * OpenSSH key order is n, e, d, p, q, dmp1, dmq1, iqmp
710 mp_int dmp1, dmq1, iqmp, tmpval; /* for rsa */ local
777 m_mp_init(&iqmp);
799 /* iqmp = (q^-1) mod p */
800 if (mp_invmod(key->rsakey->q, key->rsakey->p, &iqmp) != MP_OKAY) {
801 fprintf(stderr, "Bignum error for iqmp\n");
808 buf_putmpint(extrablob, &iqmp);
812 mp_clear(&iqmp);
825 /* iqmp */
[all...]
/external/openssh/
H A Dauthfd.c468 buffer_put_bignum(b, key->iqmp); /* ssh key->u */
483 buffer_put_bignum2(b, key->rsa->iqmp);
494 buffer_put_bignum2(b, key->rsa->iqmp);
H A Dssh-agent.c486 buffer_get_bignum(&e->request, k->rsa->iqmp);
574 buffer_get_bignum2(&e->request, k->rsa->iqmp);
589 buffer_get_bignum2(&e->request, k->rsa->iqmp);
H A Dauthfile.c121 buffer_put_bignum(&buffer, key->rsa->iqmp);
494 buffer_get_bignum(&decrypted, prv->rsa->iqmp); /* u */
H A Dsshd.c909 * bignum iqmp "
923 buffer_put_bignum(&m, sensitive_data.server_key->rsa->iqmp);
969 buffer_get_bignum(&m, sensitive_data.server_key->rsa->iqmp);
H A Dkey.c143 if ((k->rsa->iqmp = BN_new()) == NULL)
H A Dssh-keygen.c457 buffer_get_bignum_bits(&b, key->rsa->iqmp);
/external/openssl/crypto/pem/
H A Dpvkfmt.c400 if (!read_lebn(&p, hnbyte, &rsa->iqmp))
597 if ((BN_num_bytes(rsa->iqmp) > hnbyte)
624 write_lebn(out, rsa->iqmp, hnbyte);
/external/openssl/include/openssl/
H A Drsa.h145 BIGNUM *iqmp; member in struct:rsa_st
/external/openssl/crypto/engine/
H A Deng_cryptodev.c1084 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) {
1091 /* inputs: rsa->p rsa->q I rsa->dmp1 rsa->dmq1 rsa->iqmp */
1102 if (bn2crparam(rsa->iqmp, &kop.crk_param[5]))

Completed in 453 milliseconds