/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);
|
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/ |
ResourceReference.java | 67 final int prime = 31; local 69 result = prime * result + (mIsFramework ? 1231 : 1237); 70 result = prime * result + ((mName == null) ? 0 : mName.hashCode());
|
ResourceValue.java | 88 final int prime = 31; local 90 result = prime * result + ((mType == null) ? 0 : mType.hashCode()); 91 result = prime * result + ((mValue == null) ? 0 : mValue.hashCode());
|
DensityBasedResourceValue.java | 61 final int prime = 31; local 63 result = prime * result + ((mDensity == null) ? 0 : mDensity.hashCode());
|
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarEventModel.java | 453 final int prime = 31; local 455 result = prime * result + (mAllDay ? 1231 : 1237); 456 result = prime * result + ((mAttendeesList == null) ? 0 : getAttendeesString().hashCode()); 457 result = prime * result + (int) (mCalendarId ^ (mCalendarId >>> 32)); 458 result = prime * result + ((mDescription == null) ? 0 : mDescription.hashCode()); 459 result = prime * result + ((mDuration == null) ? 0 : mDuration.hashCode()); 460 result = prime * result + (int) (mEnd ^ (mEnd >>> 32)); 461 result = prime * result + (mGuestsCanInviteOthers ? 1231 : 1237); 462 result = prime * result + (mGuestsCanModify ? 1231 : 1237); 463 result = prime * result + (mGuestsCanSeeGuests ? 1231 : 1237) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
dh_groups.h | 22 const u8 *prime; member in struct:dh_group
|
/external/wpa_supplicant_8/src/crypto/ |
dh_groups.h | 22 const u8 *prime; member in struct:dh_group
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactoring/changes/ |
AndroidLayoutChangeDescription.java | 84 final int prime = 31; local 86 result = prime * result + ((mClassName == null) ? 0 : mClassName.hashCode()); 87 result = prime * result + ((mNewName == null) ? 0 : mNewName.hashCode()); 88 result = prime * result + mType;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SuggestionData.java | 222 final int prime = 31; local 224 result = prime * result + ((mFormat == null) ? 0 : mFormat.hashCode()); 225 result = prime * result + ((mIcon1 == null) ? 0 : mIcon1.hashCode()); 226 result = prime * result + ((mIcon2 == null) ? 0 : mIcon2.hashCode()); 227 result = prime * result + ((mIntentAction == null) ? 0 : mIntentAction.hashCode()); 228 result = prime * result + ((mIntentData == null) ? 0 : mIntentData.hashCode()); 229 result = prime * result + ((mIntentExtraData == null) ? 0 : mIntentExtraData.hashCode()); 230 result = prime * result + ((mLogType == null) ? 0 : mLogType.hashCode()); 231 result = prime * result + ((mShortcutId == null) ? 0 : mShortcutId.hashCode()); 232 result = prime * result + ((mSource == null) ? 0 : mSource.hashCode()) [all...] |
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
ContactInfo.java | 47 final int prime = 31; local 49 result = prime * result + ((lookupUri == null) ? 0 : lookupUri.hashCode()); 50 result = prime * result + ((name == null) ? 0 : name.hashCode());
|
/sdk/common/src/com/android/util/ |
Pair.java | 78 final int prime = 31; local 80 result = prime * result + ((mFirst == null) ? 0 : mFirst.hashCode()); 81 result = prime * result + ((mSecond == null) ? 0 : mSecond.hashCode());
|
/external/dropbear/ |
genrsa.c | 36 static void getrsaprime(mp_int* prime, mp_int *primeminus, 95 /* return a prime suitable for p or q */ 96 static void getrsaprime(mp_int* prime, mp_int *primeminus, 107 the next prime above it */ 111 bytes_to_mp(prime, buf, size+1); 113 /* find the next integer which is prime, 8 round of miller-rabin */ 114 if (mp_prime_next_prime(prime, 8, 0) != MP_OKAY) { 120 if (mp_sub_d(prime, 1, primeminus) != MP_OKAY) {
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_pwd.c | 145 BN_free(data->grp->prime); 237 ((element = os_malloc(BN_num_bytes(data->grp->prime) * 2)) == 245 * sufficiently smaller than the prime or order might need pre-pending 249 os_memset(element, 0, BN_num_bytes(data->grp->prime) * 2); 254 offset = BN_num_bytes(data->grp->prime) - BN_num_bytes(x); 256 offset = BN_num_bytes(data->grp->prime) - BN_num_bytes(y); 257 BN_bn2bin(y, element + BN_num_bytes(data->grp->prime) + offset); 261 (2 * BN_num_bytes(data->grp->prime)) + 269 wpabuf_put_data(req, element, (2 * BN_num_bytes(data->grp->prime))); 295 /* Each component of the cruft will be at most as big as the prime */ [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_pwd_common.c | 121 grp->prime = NULL; 132 ((grp->prime = BN_new()) == NULL) || 138 if (!EC_GROUP_get_curve_GFp(grp->group, grp->prime, NULL, NULL, NULL)) 140 wpa_printf(MSG_INFO, "EAP-pwd: unable to get prime for GFp " 153 primebitlen = BN_num_bits(grp->prime); 154 primebytelen = BN_num_bytes(grp->prime); 172 * compute counter-mode password value and stretch to prime 192 if (BN_ucmp(x_candidate, grp->prime) >= 0) 251 BN_free(grp->prime); 276 if ((cruft = os_malloc(BN_num_bytes(grp->prime))) == NULL [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_pwd.c | 151 BN_free(data->grp->prime); 235 BN_num_bits(data->grp->prime)); 325 BN_bin2bn(ptr, BN_num_bytes(data->grp->prime), x); 326 ptr += BN_num_bytes(data->grp->prime); 327 BN_bin2bn(ptr, BN_num_bytes(data->grp->prime), y); 328 ptr += BN_num_bytes(data->grp->prime); 403 ((element = os_malloc(BN_num_bytes(data->grp->prime) * 2)) == 411 * sufficiently smaller than the prime or order might need pre-pending 415 os_memset(element, 0, BN_num_bytes(data->grp->prime) * 2); 420 offset = BN_num_bytes(data->grp->prime) - BN_num_bytes(x) [all...] |
/cts/tools/signature-tools/src/signature/converter/dex/ |
FieldPool.java | 46 final int prime = 31; local 47 int result = prime * fieldName.hashCode(); 48 result = prime * result + qualifiedClassName.hashCode();
|
/cts/tools/signature-tools/src/signature/model/impl/ |
SigWildcardType.java | 51 final int prime = 31; local 53 result = prime 56 result = prime * result + type.getUpperBounds().hashCode();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutPoint.java | 134 final int prime = 31; local 136 result = prime * result + x; 137 result = prime * result + y;
|
/bionic/libc/tools/zoneinfo/ |
ZoneInfo.java | 258 final int prime = 31; local 260 result = prime * result + ((mDaylightName == null) ? 0 : 262 result = prime * result + Arrays.hashCode(mGmtOffs); 263 result = prime * result + Arrays.hashCode(mIsDsts); 264 result = prime * result + mRawOffset; 265 result = prime * result + ((mStandardName == null) ? 0 : 267 result = prime * result + Arrays.hashCode(mTransitions); 268 result = prime * result + Arrays.hashCode(mTypes); 269 result = prime * result + (mUseDst ? 1231 : 1237);
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetModel.java | 123 final int prime = 31; local 125 result = prime * result + (allDay ? 1231 : 1237); 126 result = prime * result + (int) (id ^ (id >>> 32)); 127 result = prime * result + (int) (end ^ (end >>> 32)); 128 result = prime * result + (int) (start ^ (start >>> 32)); 129 result = prime * result + ((title == null) ? 0 : title.hashCode()); 130 result = prime * result + visibTitle; 131 result = prime * result + visibWhen; 132 result = prime * result + visibWhere; 133 result = prime * result + ((when == null) ? 0 : when.hashCode()) 215 final int prime = 31; local [all...] |
/libcore/luni/src/main/java/libcore/util/ |
ZoneInfo.java | 221 final int prime = 31; local 223 result = prime * result + getID().hashCode(); 224 result = prime * result + Arrays.hashCode(mOffsets); 225 result = prime * result + Arrays.hashCode(mIsDsts); 226 result = prime * result + mRawOffset; 227 result = prime * result + Arrays.hashCode(mTransitions); 228 result = prime * result + Arrays.hashCode(mTypes); 229 result = prime * result + (mUseDst ? 1231 : 1237);
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/sdkman2/ |
PkgCategory.java | 76 final int prime = 31; local 78 result = prime * result + ((mKey == null) ? 0 : mKey.hashCode());
|