/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);
|
/external/wpa_supplicant_8/src/crypto/ |
dh_groups.h | 16 const u8 *prime; member in struct:dh_group
|
/libcore/crypto/src/main/java/org/conscrypt/ |
DHParameters.java | 24 // Well-known 512 bit prime 41 // Well-Known Group 1: A 768 bit prime rfc 2539 64 // Well-Known Group 2: A 1024 bit prime rfc 2539 94 private static byte[] prime; field in class:DHParameters 97 //TODO set prime depand on some system or security property 98 prime = prime512; 102 * Returns prime bytes 106 return prime;
|
X509PublicKey.java | 61 final int prime = 31; local 63 result = prime * result + ((algorithm == null) ? 0 : algorithm.hashCode()); 64 result = prime * result + Arrays.hashCode(encoded);
|
/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...] |
/frameworks/base/core/java/android/print/ |
PrintJobId.java | 53 final int prime = 31; local 55 result = prime * result + ((mValue != null) ? mValue.hashCode() : 0);
|
PageRange.java | 94 final int prime = 31; local 96 result = prime * result + mEnd; 97 result = prime * result + mStart;
|
PrinterId.java | 110 final int prime = 31; local 112 hashCode = prime * hashCode + ((mServiceName != null) 114 hashCode = prime * hashCode + mLocalId.hashCode();
|
/packages/experimental/TestBack/src/foo/bar/testback/ |
Foo.java | 9 final int prime = 31; local 11 result = prime * result + ((mValue == null) ? 0 : mValue.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();
|
SigParameterizedType.java | 66 final int prime = 31; local 68 result = prime * type.getRawType().hashCode(); 69 result = prime * result + type.getTypeArguments().hashCode();
|
/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();
|
/external/chromium_org/third_party/icu/source/test/perf/unisetperf/draft/ |
bitset.cpp | 35 const int32_t prime=1301; // Less than 2k. member in struct:BMPBitHash 64 hash=(hash+prime)&0x7ff;
|
/external/icu4c/test/perf/unisetperf/draft/ |
bitset.cpp | 35 const int32_t prime=1301; // Less than 2k. member in struct:BMPBitHash 64 hash=(hash+prime)&0x7ff;
|
/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;
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
ContactInfo.java | 53 final int prime = 31; local 55 result = prime * result + ((lookupUri == null) ? 0 : lookupUri.hashCode()); 56 result = prime * result + ((name == null) ? 0 : name.hashCode());
|
/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;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
Locale.java | 133 final int prime = 31; local 135 result = prime * result + ((language == null) ? 0 : language.hashCode()); 136 result = prime * result + ((region == null) ? 0 : region.hashCode());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ControlPoint.java | 161 final int prime = 31; local 163 result = prime * result + x; 164 result = prime * result + y;
|
LayoutPoint.java | 134 final int prime = 31; local 136 result = prime * result + x; 137 result = prime * result + y;
|
/cts/tools/signature-tools/src/signature/model/util/ |
TypePool.java | 94 final int prime = 31; local 96 result = prime * result + genericDeclaration.hashCode(); 97 result = prime * result + name.hashCode();
|
/external/chromium_org/third_party/mesa/src/src/glx/ |
dri2.c | 272 char *prime; local 284 prime = getenv("DRI_PRIME"); 285 if (prime) { 288 primeid = strtoul(prime, NULL, 0);
|
/external/mesa3d/src/glx/ |
dri2.c | 272 char *prime; local 284 prime = getenv("DRI_PRIME"); 285 if (prime) { 288 primeid = strtoul(prime, NULL, 0);
|