/external/openssl/crypto/rsa/ |
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
|
rsa_asn1.c | 100 ASN1_SIMPLE(RSA, iqmp, BIGNUM)
|
rsa_chk.c | 131 if (key->dmp1 != NULL && key->dmq1 != NULL && key->iqmp != NULL) 161 /* iqmp = q^-1 mod p? */ 168 if (BN_cmp(i, key->iqmp) != 0)
|
rsa_eng.c | 202 ret->iqmp=NULL; 269 if (r->iqmp != NULL) BN_clear_free(r->iqmp); 327 t[5]= &r->iqmp;
|
rsa_gen.c | 115 if(!rsa->iqmp && ((rsa->iqmp=BN_new()) == NULL)) goto err; 204 if (!BN_mod_inverse(rsa->iqmp,rsa->q,p,ctx)) goto err;
|
rsa_x931g.c | 182 rsa->iqmp=BN_mod_inverse(NULL,rsa->q,rsa->p,ctx2); 193 if (rsa && rsa->iqmp != NULL)
|
rsa.h | 163 BIGNUM *iqmp; member in struct:rsa_st
|
rsa_eay.c | 415 (rsa->iqmp != NULL)) ) 539 (rsa->iqmp != NULL)) ) 813 if (!BN_mul(r1,r0,rsa->iqmp,ctx)) goto err;
|
/external/ipsec-tools/src/racoon/ |
prsa_par.y | 190 || !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; } }
|
plainrsa-gen.c | 147 fprintf(fp, "\tCoefficient: 0x%s\n", lowercase(BN_bn2hex(key->iqmp)));
|
/external/wpa_supplicant/ |
rsa.c | 34 struct bignum *iqmp; /* 1 / q mod p; CRT coefficient */ member in struct:crypto_rsa_key 153 key->iqmp = bignum_init(); 157 key->dmq1 == NULL || key->iqmp == NULL) { 208 pos = crypto_rsa_parse_integer(pos, end, key->iqmp); 278 * iqmp = (1/q) mod p, where p > q 299 bignum_mulmod(tmp, key->iqmp, key->p, tmp) < 0) 356 bignum_deinit(key->iqmp);
|
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
rsa.c | 34 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/dropbear/ |
keyimport.c | 578 * 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/openssl/crypto/asn1/ |
t_pkey.c | 135 if (x->iqmp) 136 if (buf_len < (i = (size_t)BN_num_bytes(x->iqmp))) 175 if ((x->iqmp != NULL) && !print(bp,"coefficient:",x->iqmp,m,off))
|
/external/openssl/include/openssl/ |
rsa.h | 163 BIGNUM *iqmp; member in struct:rsa_st
|
/external/openssl/crypto/engine/ |
eng_cryptodev.c | 782 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) { 789 /* inputs: rsa->p rsa->q I rsa->dmp1 rsa->dmq1 rsa->iqmp */ 800 if (bn2crparam(rsa->iqmp, &kop.crk_param[5]))
|