HomeSort by relevance Sort by last modified time
    Searched refs:prime (Results 1 - 25 of 123) sorted by null

1 2 3 4 5

  /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/libvorbis/lib/
lpc.h 26 extern void vorbis_lpc_predict(float *coeff,float *prime,int m,
  /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);
  /packages/experimental/TestBack/src/foo/bar/testback/
Foo.java 9 final int prime = 31; local
11 result = prime * result + ((mValue == null) ? 0 : mValue.hashCode());
  /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...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/
PictureParameterSet.java 285 final int prime = 31; local
287 result = prime * result + Arrays.hashCode(bottom_right);
288 result = prime * result + chroma_qp_index_offset;
289 result = prime * result + (constrained_intra_pred_flag ? 1231 : 1237);
290 result = prime * result
292 result = prime * result + (entropy_coding_mode_flag ? 1231 : 1237);
293 result = prime * result
295 result = prime * result + num_ref_idx_l0_active_minus1;
296 result = prime * result + num_ref_idx_l1_active_minus1;
297 result = prime * result + num_slice_groups_minus1
    [all...]
  /external/wpa_supplicant_8/src/crypto/
dh_groups.h 16 const u8 *prime; member in struct:dh_group
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/
SimpleDate.java 55 final int prime = 31; local
57 result = prime * result + day;
58 result = prime * result + month;
59 result = prime * result + year;
  /external/wpa_supplicant_8/src/eap_peer/
eap_pwd.c 156 BN_free(data->grp->prime);
245 BN_num_bits(data->grp->prime));
331 BN_bin2bn(ptr, BN_num_bytes(data->grp->prime), x);
332 ptr += BN_num_bytes(data->grp->prime);
333 BN_bin2bn(ptr, BN_num_bytes(data->grp->prime), y);
334 ptr += BN_num_bytes(data->grp->prime);
409 ((element = os_malloc(BN_num_bytes(data->grp->prime) * 2)) ==
417 * sufficiently smaller than the prime or order might need pre-pending
421 os_memset(element, 0, BN_num_bytes(data->grp->prime) * 2);
426 offset = BN_num_bytes(data->grp->prime) - BN_num_bytes(x)
    [all...]
  /frameworks/base/core/java/android/print/
PageRange.java 94 final int prime = 31; local
96 result = prime * result + mEnd;
97 result = prime * result + mStart;
PrintDocumentInfo.java 209 final int prime = 31; local
211 result = prime * result + ((mName != null) ? mName.hashCode() : 0);
212 result = prime * result + mContentType;
213 result = prime * result + mPageCount;
214 result = prime * result + (int) mDataSize;
215 result = prime * result + (int) mDataSize >> 32;
PrinterId.java 110 final int prime = 31; local
112 hashCode = prime * hashCode + ((mServiceName != null)
114 hashCode = prime * hashCode + mLocalId.hashCode();
  /libcore/crypto/src/main/java/org/conscrypt/
X509PublicKey.java 61 final int prime = 31; local
63 result = prime * result + ((algorithm == null) ? 0 : algorithm.hashCode());
64 result = prime * result + Arrays.hashCode(encoded);
  /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) {
  /frameworks/base/location/java/android/location/
Geofence.java 148 final int prime = 31; local
152 result = prime * result + (int) (temp ^ (temp >>> 32));
154 result = prime * result + (int) (temp ^ (temp >>> 32));
155 result = prime * result + Float.floatToIntBits(mRadius);
156 result = prime * result + mType;
  /external/wpa_supplicant_8/src/eap_common/
eap_pwd_common.c 122 grp->prime = NULL;
133 ((grp->prime = BN_new()) == NULL) ||
139 if (!EC_GROUP_get_curve_GFp(grp->group, grp->prime, NULL, NULL, NULL))
141 wpa_printf(MSG_INFO, "EAP-pwd: unable to get prime for GFp "
154 primebitlen = BN_num_bits(grp->prime);
155 primebytelen = BN_num_bytes(grp->prime);
173 * compute counter-mode password value and stretch to prime
208 if (BN_ucmp(x_candidate, grp->prime) >= 0)
270 BN_free(grp->prime);
271 grp->prime = NULL
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
CalendarEventModel.java 483 final int prime = 31; local
485 result = prime * result + (mAllDay ? 1231 : 1237);
486 result = prime * result + ((mAttendeesList == null) ? 0 : getAttendeesString().hashCode());
487 result = prime * result + (int) (mCalendarId ^ (mCalendarId >>> 32));
488 result = prime * result + ((mDescription == null) ? 0 : mDescription.hashCode());
489 result = prime * result + ((mDuration == null) ? 0 : mDuration.hashCode());
490 result = prime * result + (int) (mEnd ^ (mEnd >>> 32));
491 result = prime * result + (mGuestsCanInviteOthers ? 1231 : 1237);
492 result = prime * result + (mGuestsCanModify ? 1231 : 1237);
493 result = prime * result + (mGuestsCanSeeGuests ? 1231 : 1237)
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/asset/
BlenderKey.java 388 final int prime = 31; local
390 result = prime * result + (assetRootPath == null ? 0 : assetRootPath.hashCode());
391 result = prime * result + (defaultMaterial == null ? 0 : defaultMaterial.hashCode());
392 result = prime * result + (faceCullMode == null ? 0 : faceCullMode.hashCode());
393 result = prime * result + featuresToLoad;
394 result = prime * result + (fixUpAxis ? 1231 : 1237);
395 result = prime * result + fps;
396 result = prime * result + generatedTextureDepth;
397 result = prime * result + generatedTextureHeight;
398 result = prime * result + generatedTextureWidth;
    [all...]
  /external/wpa_supplicant_8/src/eap_server/
eap_server_pwd.c 150 BN_free(data->grp->prime);
246 ((element = os_malloc(BN_num_bytes(data->grp->prime) * 2)) ==
254 * sufficiently smaller than the prime or order might need pre-pending
258 os_memset(element, 0, BN_num_bytes(data->grp->prime) * 2);
263 offset = BN_num_bytes(data->grp->prime) - BN_num_bytes(x);
265 offset = BN_num_bytes(data->grp->prime) - BN_num_bytes(y);
266 BN_bn2bin(y, element + BN_num_bytes(data->grp->prime) + offset);
268 data->outbuf = wpabuf_alloc(2 * BN_num_bytes(data->grp->prime) +
275 2 * BN_num_bytes(data->grp->prime));
305 /* Each component of the cruft will be at most as big as the prime */
    [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();
  /packages/apps/Dialer/src/com/android/dialer/calllog/
ContactInfo.java 52 final int prime = 31; local
54 result = prime * result + ((lookupUri == null) ? 0 : lookupUri.hashCode());
55 result = prime * result + ((name == null) ? 0 : name.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;

Completed in 2256 milliseconds

1 2 3 4 5