/external/wpa_supplicant_8/src/tls/ |
rsa.c | 25 struct bignum *dmp1; /* d mod (p - 1); CRT exponent */ member in struct:crypto_rsa_key 144 key->dmp1 = bignum_init(); 149 key->p == NULL || key->q == NULL || key->dmp1 == NULL || 199 pos = crypto_rsa_parse_integer(pos, end, key->dmp1); 269 * dmp1 = (1/e) mod (p-1) 272 * m1 = c^dmp1 mod p 282 /* a = tmp^dmp1 mod p */ 283 if (bignum_exptmod(tmp, key->dmp1, key->p, a) < 0) 347 bignum_deinit(key->dmp1);
|
/external/ipsec-tools/src/racoon/ |
prsa_par.y | 189 if (!rsa_cur->p || !rsa_cur->q || !rsa_cur->dmp1 193 if (rsa_cur->dmp1) BN_clear_free(rsa_cur->dmp1); 199 rsa_cur->dmp1 = NULL; 301 { if (!rsa_cur->dmp1) rsa_cur->dmp1 = $3; else { prsaerror ("Exponent1 already defined\n"); YYABORT; } }
|
plainrsa-gen.c | 145 fprintf(fp, "\tExponent1: 0x%s\n", lowercase(BN_bn2hex(key->dmp1)));
|
/external/openssl/crypto/rsa/ |
rsa_chk.c | 131 if (key->dmp1 != NULL && key->dmq1 != NULL && key->iqmp != NULL) 133 /* dmp1 = d mod (p-1)? */ 140 if (BN_cmp(j, key->dmp1) != 0)
|
rsa_test.c | 27 key->dmp1 = BN_bin2bn(dmp1, sizeof(dmp1)-1, key->dmp1); \ 60 static unsigned char dmp1[] = local 106 static unsigned char dmp1[] = local 167 static unsigned char dmp1[] = local
|
rsa_eay.c | 427 (rsa->dmp1 != NULL) && 561 (rsa->dmp1 != NULL) && 741 BIGNUM *dmp1,*dmq1,*c,*pr1; local 820 /* compute r1^dmp1 mod p */ 823 dmp1 = &local_dmp1; 824 BN_with_flags(dmp1, rsa->dmp1, BN_FLG_CONSTTIME); 827 dmp1 = rsa->dmp1; 828 if (!rsa->meth->bn_mod_exp(r0,r1,dmp1,rsa->p,ctx [all...] |
rsa_lib.c | 181 ret->dmp1=NULL; 248 if (r->dmp1 != NULL) BN_clear_free(r->dmp1); 301 t[3]= &r->dmp1;
|
rsa_gen.c | 126 if(!rsa->dmp1 && ((rsa->dmp1=BN_new()) == NULL)) goto err; 204 if (!BN_mod(rsa->dmp1,d,r1,ctx)) goto err;
|
rsa_asn1.c | 89 ASN1_SIMPLE(RSA, dmp1, BIGNUM),
|
rsa_ameth.c | 199 update_buflen(x->dmp1, &buf_len); 242 if (!ASN1_bn_print(bp,"exponent1:",x->dmp1,m,off))
|
rsa_err.c | 149 {ERR_REASON(RSA_R_DMP1_NOT_CONGRUENT_TO_D),"dmp1 not congruent to d"},
|
rsa.h | 143 BIGNUM *dmp1; member in struct:rsa_st
|
/external/openssh/ |
rsa.c | 145 (BN_mod(rsa->dmp1, rsa->d, aux, ctx) == 0))
|
/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 775 m_mp_init(&dmp1); 779 /* dmp1 = d mod (p-1) */ 784 if (mp_mod(key->rsakey->d, &tmpval, &dmp1) != MP_OKAY) { 785 fprintf(stderr, "Bignum error for dmp1\n"); 806 buf_putmpint(extrablob, &dmp1); 810 mp_clear(&dmp1); 815 /* dmp1 */ [all...] |
/hardware/samsung_slsi/exynos5/libkeymaster/ |
keymaster_mobicore.cpp | 192 if ((rsa->p != NULL) && (rsa->q != NULL) && (rsa->dmp1 != NULL) && 200 metadata.rsacrtpriv.lendp = BN_bn2bin(rsa->dmp1, kbuf + key_len);
|
/external/openssl/crypto/pem/ |
pvkfmt.c | 396 if (!read_lebn(&p, hnbyte, &rsa->dmp1)) 600 || (BN_num_bytes(rsa->dmp1) > hnbyte) 622 write_lebn(out, rsa->dmp1, hnbyte);
|
/external/openssl/crypto/engine/ |
eng_cryptodev.c | 1084 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) { 1091 /* inputs: rsa->p rsa->q I rsa->dmp1 rsa->dmq1 rsa->iqmp */ 1098 if (bn2crparam(rsa->dmp1, &kop.crk_param[3])) [all...] |
/device/asus/tilapia/self-extractors/nvidia/staging/keymaster/ |
keymaster_grouper.cpp | 529 bool has_extra_data = (rsa->p != NULL) && (rsa->q != NULL) && (rsa->dmp1 != NULL) && 572 exp1.reset(bignum_to_array(rsa->dmp1));
|
/device/samsung/tuna/keymaster/ |
keymaster_tuna.cpp | 525 bool has_extra_data = (rsa->p != NULL) && (rsa->q != NULL) && (rsa->dmp1 != NULL) && 568 exp1.reset(bignum_to_array(rsa->dmp1));
|
/libcore/luni/src/main/native/ |
org_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp | 1960 jbyteArray dmp1 = bignumToArray(env, rsa->dmp1, "dmp1"); local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
NativeCrypto.java | 83 byte[] dmp1, byte[] dmq1, byte[] iqmp); 129 * @return array of {n, e, d, p, q, dmp1, dmq1, iqmp} [all...] |
/external/openssl/include/openssl/ |
rsa.h | 143 BIGNUM *dmp1; member in struct:rsa_st
|
/external/v8/benchmarks/ |
crypto.js | [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/ |
v8-crypto.js | [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/ |
v8-crypto.js | [all...] |