/external/openssl/crypto/rsa/ |
D | rsa_test.c | 29 key->iqmp = BN_bin2bn(iqmp, sizeof(iqmp)-1, key->iqmp); \ 69 static unsigned char iqmp[] = in key1() local 114 static unsigned char iqmp[] = in key2() local 179 static unsigned char iqmp[] = in key3() local
|
D | rsa_gen.c | 113 if(!rsa->iqmp && ((rsa->iqmp=BN_new()) == NULL)) goto err; in rsa_builtin_keygen() 202 if (!BN_mod_inverse(rsa->iqmp,rsa->q,p,ctx)) goto err; in rsa_builtin_keygen()
|
D | rsa_lib.c | 176 ret->iqmp=NULL; in RSA_new_method() 243 if (r->iqmp != NULL) BN_clear_free(r->iqmp); in RSA_free() 453 t[5]= &r->iqmp; in RSA_memory_lock()
|
D | rsa_chk.c | 131 if (key->dmp1 != NULL && key->dmq1 != NULL && key->iqmp != NULL) in RSA_check_key() 168 if (BN_cmp(i, key->iqmp) != 0) in RSA_check_key()
|
D | rsa_ameth.c | 201 update_buflen(x->iqmp, &buf_len); in do_rsa_print() 246 if (!ASN1_bn_print(bp,"coefficient:",x->iqmp,m,off)) in do_rsa_print()
|
D | rsa_asn1.c | 90 ASN1_SIMPLE(RSA, iqmp, BIGNUM)
|
D | rsa_eay.c | 417 (rsa->iqmp != NULL)) ) in RSA_eay_private_encrypt() 541 (rsa->iqmp != NULL)) ) in RSA_eay_private_decrypt() 815 if (!BN_mul(r1,r0,rsa->iqmp,ctx)) goto err; in RSA_eay_mod_exp()
|
D | rsa.h | 145 BIGNUM *iqmp; member
|
/external/ipsec-tools/src/racoon/ |
D | 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"); YYAB…
|
D | plainrsa-gen.c | 147 fprintf(fp, "\tCoefficient: 0x%s\n", lowercase(BN_bn2hex(key->iqmp))); in gen_rsa_key()
|
/external/wpa_supplicant/ |
D | rsa.c | 34 struct bignum *iqmp; /* 1 / q mod p; CRT coefficient */ member 153 key->iqmp = bignum_init(); in crypto_rsa_import_private_key() 157 key->dmq1 == NULL || key->iqmp == NULL) { in crypto_rsa_import_private_key() 208 pos = crypto_rsa_parse_integer(pos, end, key->iqmp); in crypto_rsa_import_private_key() 299 bignum_mulmod(tmp, key->iqmp, key->p, tmp) < 0) in crypto_rsa_exptmod() 356 bignum_deinit(key->iqmp); in crypto_rsa_free()
|
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
D | rsa.c | 34 struct bignum *iqmp; /* 1 / q mod p; CRT coefficient */ member 154 key->iqmp = bignum_init(); in crypto_rsa_import_private_key() 158 key->dmq1 == NULL || key->iqmp == NULL) { in crypto_rsa_import_private_key() 209 pos = crypto_rsa_parse_integer(pos, end, key->iqmp); in crypto_rsa_import_private_key() 301 bignum_mulmod(tmp, key->iqmp, key->p, tmp) < 0) in crypto_rsa_exptmod() 358 bignum_deinit(key->iqmp); in crypto_rsa_free()
|
/external/dropbear/ |
D | keyimport.c | 710 mp_int dmp1, dmq1, iqmp, tmpval; /* for rsa */ in openssh_write() local 777 m_mp_init(&iqmp); in openssh_write() 800 if (mp_invmod(key->rsakey->q, key->rsakey->p, &iqmp) != MP_OKAY) { in openssh_write() 808 buf_putmpint(extrablob, &iqmp); in openssh_write() 812 mp_clear(&iqmp); in openssh_write() 1514 struct mpint_pos n, e, d, p, q, iqmp; 1523 pos += ssh2_read_mpint(privblob+pos, privlen-pos, &iqmp); 1525 dropbear_assert(e.start && iqmp.start); /* can't go wrong */ 1530 numbers[3] = iqmp;
|
/external/openssl/crypto/pem/ |
D | pvkfmt.c | 400 if (!read_lebn(&p, hnbyte, &rsa->iqmp)) in b2i_rsa() 597 if ((BN_num_bytes(rsa->iqmp) > hnbyte) in check_bitlen_rsa() 624 write_lebn(out, rsa->iqmp, hnbyte); in write_rsa()
|
/external/openssl/include/openssl/ |
D | rsa.h | 145 BIGNUM *iqmp; member
|
/external/openssl/crypto/engine/ |
D | eng_cryptodev.c | 1053 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) { in cryptodev_rsa_mod_exp() 1071 if (bn2crparam(rsa->iqmp, &kop.crk_param[5])) in cryptodev_rsa_mod_exp()
|