Home
last modified time | relevance | path

Searched refs:iqmp (Results 1 – 23 of 23) sorted by relevance

/external/openssl/crypto/rsa/
Drsa_test.c29 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
Drsa_lib.c183 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()
Drsa_gen.c128 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()
Drsa_chk.c137 if (key->dmp1 != NULL && key->dmq1 != NULL && key->iqmp != NULL) in RSA_check_key()
174 if (BN_cmp(i, key->iqmp) != 0) in RSA_check_key()
Drsa_asn1.c91 ASN1_SIMPLE(RSA, iqmp, BIGNUM)
Drsa_eay.c429 (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()
Drsa_ameth.c201 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()
Drsa.h145 BIGNUM *iqmp; member
/external/chromium_org/third_party/boringssl/src/crypto/rsa/
Drsa_test.c74 key->iqmp = BN_bin2bn(iqmp, sizeof(iqmp) - 1, key->iqmp); \
113 static unsigned char iqmp[] = in key1() local
157 static unsigned char iqmp[] = in key2() local
221 static unsigned char iqmp[] = in key3() local
Drsa.c142 if (rsa->iqmp != NULL) in RSA_free()
143 BN_clear_free(rsa->iqmp); in RSA_free()
508 BIGNUM n, pm1, qm1, lcm, gcd, de, dmp1, dmq1, iqmp; in RSA_check_key() local
547 BN_init(&iqmp); in RSA_check_key()
575 has_crt_values != (key->iqmp != NULL)) { in RSA_check_key()
586 !BN_mod_inverse(&iqmp, key->q, key->p, ctx)) { in RSA_check_key()
593 BN_cmp(&iqmp, key->iqmp) != 0) { in RSA_check_key()
610 BN_free(&iqmp); in RSA_check_key()
626 if (rsa->p || rsa->q || rsa->dmp1 || rsa->dmq1 || rsa->iqmp) { in RSA_recover_crt_params()
691 rsa->iqmp = BN_new(); in RSA_recover_crt_params()
[all …]
Drsa_impl.c589 (rsa->dmq1 != NULL) && (rsa->iqmp != NULL))) { in private_transform()
719 if (!BN_mul(r1, r0, rsa->iqmp, ctx)) { in mod_exp()
829 if (!rsa->iqmp && ((rsa->iqmp = BN_new()) == NULL)) in keygen()
912 if (!BN_mod_inverse(rsa->iqmp, rsa->q, p, ctx)) in keygen()
Drsa_asn1.c90 ASN1_SIMPLE(RSA, iqmp, BIGNUM),
/external/ipsec-tools/src/racoon/
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"); YYAB…
Dplainrsa-gen.c147 fprintf(fp, "\tCoefficient: 0x%s\n", lowercase(BN_bn2hex(key->iqmp))); in gen_rsa_key()
/external/wpa_supplicant_8/src/tls/
Drsa.c27 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()
/external/chromium_org/content/child/webcrypto/openssl/
Drsa_key_openssl.cc177 rsa->iqmp = CreateBIGNUM(params.qi); in ImportRsaPrivateKey()
180 !rsa->dmq1 || !rsa->iqmp) { in ImportRsaPrivateKey()
494 CryptoData(BIGNUMToVector(rsa->iqmp)), in ExportKeyJwk()
/external/openssl/crypto/pem/
Dpvkfmt.c400 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/chromium_org/third_party/boringssl/src/crypto/evp/
Dp_rsa_asn1.c196 update_buflen(rsa->iqmp, &buf_len); in do_rsa_print()
237 !ASN1_bn_print(out, "coefficient:", rsa->iqmp, m, off)) { in do_rsa_print()
/external/chromium_org/third_party/boringssl/src/include/openssl/
Drsa.h432 BIGNUM *iqmp; member
/external/openssl/include/openssl/
Drsa.h145 BIGNUM *iqmp; member
/external/openssl/crypto/engine/
Deng_cryptodev.c1084 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()
/external/conscrypt/src/main/java/org/conscrypt/
DNativeCrypto.java94 byte[] dmp1, byte[] dmq1, byte[] iqmp); in EVP_PKEY_new_RSA() argument
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp2152 jbyteArray iqmp) { in NativeCrypto_EVP_PKEY_new_RSA() argument
2154 n, e, d, p, q, dmp1, dmq1, iqmp); in NativeCrypto_EVP_PKEY_new_RSA()
2196 if (iqmp != NULL && !arrayToBignum(env, iqmp, &rsa->iqmp)) { in NativeCrypto_EVP_PKEY_new_RSA()
2238 n, e, d, p, q, dmp1, dmq1, iqmp, pkey.get()); in NativeCrypto_EVP_PKEY_new_RSA()
2891 if (rsa->iqmp != NULL) { in NativeCrypto_get_RSA_private_params()
2892 jbyteArray iqmp = bignumToArray(env, rsa->iqmp, "iqmp"); in NativeCrypto_get_RSA_private_params() local
2896 env->SetObjectArrayElement(joa, 7, iqmp); in NativeCrypto_get_RSA_private_params()