/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_lib.c | 183 ret->iqmp=NULL; in RSA_new_method() 250 if (r->iqmp != NULL) BN_clear_free(r->iqmp); in RSA_free() 303 t[5]= &r->iqmp; in RSA_memory_lock()
|
D | rsa_gen.c | 128 if(!rsa->iqmp && ((rsa->iqmp=BN_new()) == NULL)) goto err; in rsa_builtin_keygen() 217 if (!BN_mod_inverse(rsa->iqmp,rsa->q,p,ctx)) goto err; in rsa_builtin_keygen()
|
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_asn1.c | 91 ASN1_SIMPLE(RSA, iqmp, BIGNUM)
|
D | rsa_eay.c | 429 (rsa->iqmp != NULL)) ) in RSA_eay_private_encrypt() 563 (rsa->iqmp != NULL)) ) in RSA_eay_private_decrypt() 837 if (!BN_mul(r1,r0,rsa->iqmp,ctx)) goto err; in RSA_eay_mod_exp()
|
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.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_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/wpa_supplicant_8/src/tls/ |
D | rsa.c | 27 struct bignum *iqmp; /* 1 / q mod p; CRT coefficient */ member 146 key->iqmp = bignum_init(); in crypto_rsa_import_private_key() 150 key->dmq1 == NULL || key->iqmp == NULL) { in crypto_rsa_import_private_key() 201 pos = crypto_rsa_parse_integer(pos, end, key->iqmp); in crypto_rsa_import_private_key() 292 bignum_mulmod(tmp, key->iqmp, key->p, tmp) < 0) in crypto_rsa_exptmod() 349 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/openssh/ |
D | authfd.c | 468 buffer_put_bignum(b, key->iqmp); /* ssh key->u */ in ssh_encode_identity_rsa1() 483 buffer_put_bignum2(b, key->rsa->iqmp); in ssh_encode_identity_ssh2() 494 buffer_put_bignum2(b, key->rsa->iqmp); in ssh_encode_identity_ssh2()
|
D | authfile.c | 121 buffer_put_bignum(&buffer, key->rsa->iqmp); in key_private_rsa1_to_blob() 494 buffer_get_bignum(&decrypted, prv->rsa->iqmp); /* u */ in key_parse_private_rsa1()
|
D | ssh-agent.c | 486 buffer_get_bignum(&e->request, k->rsa->iqmp); in process_add_identity() 574 buffer_get_bignum2(&e->request, k->rsa->iqmp); in process_add_identity() 589 buffer_get_bignum2(&e->request, k->rsa->iqmp); in process_add_identity()
|
D | sshd.c | 923 buffer_put_bignum(&m, sensitive_data.server_key->rsa->iqmp); 969 buffer_get_bignum(&m, sensitive_data.server_key->rsa->iqmp);
|
D | key.c | 143 if ((k->rsa->iqmp = BN_new()) == NULL) in key_add_private()
|
D | ssh-keygen.c | 457 buffer_get_bignum_bits(&b, key->rsa->iqmp); in do_convert_private_ssh2_from_blob()
|
/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 | 1084 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) { in cryptodev_rsa_mod_exp() 1102 if (bn2crparam(rsa->iqmp, &kop.crk_param[5])) in cryptodev_rsa_mod_exp()
|