/libcore/luni/src/main/java/java/security/spec/ |
RSAOtherPrimeInfo.java | 23 * The additional prime information specified as triplet of primes, a prime 31 // Prime 32 private final BigInteger prime; field in class:RSAOtherPrimeInfo 33 // Prime Exponent 39 * Creates a new {@code RSAOtherPrimeInfo} with the specified prime, 42 * @param prime 43 * the prime factor. 45 * the prime exponent. 49 public RSAOtherPrimeInfo(BigInteger prime, [all...] |
/external/dropbear/libtomcrypt/src/pk/ecc/ |
ecc_shared_secret.c | 39 void *prime; local 66 if ((err = mp_init(&prime)) != CRYPT_OK) { 71 if ((err = mp_read_radix(prime, (char *)private_key->dp->prime, 16)) != CRYPT_OK) { goto done; } 72 if ((err = ltc_mp.ecc_ptmul(private_key->k, &public_key->pubkey, result, prime, 1)) != CRYPT_OK) { goto done; } 74 x = (unsigned long)mp_unsigned_bin_size(prime); 86 mp_clear(prime);
|
ecc_import.c | 28 void *prime, *b, *t1, *t2; local 31 if ((err = mp_init_multi(&prime, &b, &t1, &t2, NULL)) != CRYPT_OK) { 35 /* load prime and b */ 36 if ((err = mp_read_radix(prime, key->dp->prime, 16)) != CRYPT_OK) { goto error; } 44 if ((err = mp_mod(t2, prime, t2)) != CRYPT_OK) { goto error; } 54 if ((err = mp_mod(t1, prime, t1)) != CRYPT_OK) { goto error; } 56 if ((err = mp_add(t1, prime, t1)) != CRYPT_OK) { goto error; } 58 while (mp_cmp(t1, prime) != LTC_MP_LT) { 59 if ((err = mp_sub(t1, prime, t1)) != CRYPT_OK) { goto error; [all...] |
ecc_make_key.c | 54 void *prime; local 85 if ((err = mp_init_multi(&key->pubkey.x, &key->pubkey.y, &key->pubkey.z, &key->k, &prime, NULL)) != CRYPT_OK) { 95 if ((err = mp_read_radix(prime, (char *)key->dp->prime, 16)) != CRYPT_OK) { goto errkey; } 102 if ((err = ltc_mp.ecc_ptmul(key->k, base, &key->pubkey, prime, 1)) != CRYPT_OK) { goto errkey; } 112 mp_clear(prime);
|
ecc_test.c | 53 if ((err = mp_read_radix(modulus, (char *)ltc_ecc_sets[i].prime, 16)) != CRYPT_OK) { goto done; } 56 /* is prime actually prime? */ 63 /* is order prime ? */
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
dh_groups.h | 22 const u8 *prime; member in struct:dh_group
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SuggestionData.java | 205 final int prime = 31; local 207 result = prime * result + ((mFormat == null) ? 0 : mFormat.hashCode()); 208 result = prime * result + ((mIcon1 == null) ? 0 : mIcon1.hashCode()); 209 result = prime * result + ((mIcon2 == null) ? 0 : mIcon2.hashCode()); 210 result = prime * result + ((mIntentAction == null) ? 0 : mIntentAction.hashCode()); 211 result = prime * result + ((mIntentData == null) ? 0 : mIntentData.hashCode()); 212 result = prime * result + ((mIntentExtraData == null) ? 0 : mIntentExtraData.hashCode()); 213 result = prime * result + ((mLogType == null) ? 0 : mLogType.hashCode()); 214 result = prime * result + ((mShortcutId == null) ? 0 : mShortcutId.hashCode()); 215 result = prime * result + ((mSource == null) ? 0 : mSource.hashCode()) [all...] |