/external/chromium_org/third_party/openssl/openssl/crypto/des/ |
des3s.cpp | 39 des_key_schedule key1,key2,key3; local 48 des_encrypt3(&data[0],key1,key2,key3); 50 des_encrypt3(&data[0],key1,key2,key3); 51 des_encrypt3(&data[0],key1,key2,key3); 52 des_encrypt3(&data[0],key1,key2,key3); 55 des_encrypt3(&data[0],key1,key2,key3); 56 des_encrypt3(&data[0],key1,key2,key3); 57 des_encrypt3(&data[0],key1,key2,key3); 58 des_encrypt3(&data[0],key1,key2,key3); 60 des_encrypt3(&data[0],key1,key2,key3) [all...] |
str2key.c | 102 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) 108 memset(key1,0,8); 116 (*key2)[i]=(*key1)[i]=(str[i]<<1); 126 (*key1)[i%8]^=(str[i]<<1); 136 (*key1)[i%8]^=(j<<1); 146 (*key1)[7-(i%8)]^=j; 151 if (length <= 8) memcpy(key2,key1,8); 153 DES_set_odd_parity(key1); 156 if(DES_is_weak_key(key1)) 157 (*key1)[7] ^= 0xF0 [all...] |
read2pwd.c | 129 int DES_read_2passwords(DES_cblock *key1, DES_cblock *key2, const char *prompt, 136 DES_string_to_2keys(buf,key1,key2);
|
/external/openssl/crypto/des/ |
des3s.cpp | 39 des_key_schedule key1,key2,key3; local 48 des_encrypt3(&data[0],key1,key2,key3); 50 des_encrypt3(&data[0],key1,key2,key3); 51 des_encrypt3(&data[0],key1,key2,key3); 52 des_encrypt3(&data[0],key1,key2,key3); 55 des_encrypt3(&data[0],key1,key2,key3); 56 des_encrypt3(&data[0],key1,key2,key3); 57 des_encrypt3(&data[0],key1,key2,key3); 58 des_encrypt3(&data[0],key1,key2,key3); 60 des_encrypt3(&data[0],key1,key2,key3) [all...] |
str2key.c | 102 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) 108 memset(key1,0,8); 116 (*key2)[i]=(*key1)[i]=(str[i]<<1); 126 (*key1)[i%8]^=(str[i]<<1); 136 (*key1)[i%8]^=(j<<1); 146 (*key1)[7-(i%8)]^=j; 151 if (length <= 8) memcpy(key2,key1,8); 153 DES_set_odd_parity(key1); 156 if(DES_is_weak_key(key1)) 157 (*key1)[7] ^= 0xF0 [all...] |
read2pwd.c | 129 int DES_read_2passwords(DES_cblock *key1, DES_cblock *key2, const char *prompt, 136 DES_string_to_2keys(buf,key1,key2);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
Contacts_SettingsTest.java | 33 String key1 = "key 1"; local 37 Settings.setSetting(mContentResolver, "account", key1, value1); 39 assertEquals(value1, Settings.getSetting(mContentResolver, "account", key1)); 43 Settings.setSetting(mContentResolver, "account", key1, value2); 44 assertEquals(value2, Settings.getSetting(mContentResolver, "account", key1));
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/ |
KeyPairTest.java | 76 Key key1 = ((KeyPair)test).getPublic(); 79 assertEquals("PublicKey class", key1.getClass(), key2.getClass()); 80 assertEquals("PublicKey algorithm", key1.getAlgorithm(), key2 82 assertEquals("PublicKey format", key1.getFormat(), key2.getFormat()); 83 assertTrue("PublicKey encoded", Arrays.equals(key1.getEncoded(), 87 key1 = ((KeyPair)test).getPrivate(); 90 assertEquals("PrivateKey class", key1.getClass(), key2.getClass()); 91 assertEquals("PrivateKey algorithm", key1.getAlgorithm(), key2 93 assertEquals("PrivateKey format", key1.getFormat(), key2.getFormat()); 94 assertTrue("PrivateKey encoded", Arrays.equals(key1.getEncoded() [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
CollationKeyTest.java | 33 CollationKey key1 = collator.getCollationKey("abc"); local 35 assertEquals("Should be equal", 0, key1.compareTo(key2)); 46 CollationKey key1 = collator.getCollationKey("abc"); local 48 assertEquals("Should be equal", 0, key1.compareTo(key2)); 57 CollationKey key1 = collator.getCollationKey("abc"); local 59 assertTrue("Should be equal", key1.equals(key2)); 80 CollationKey key1 = collator.getCollationKey("abc"); local 82 assertTrue("Should be equal", key1.hashCode() == key2.hashCode()); 93 CollationKey key1 = collator.getCollationKey("abc"); local 94 byte[] bytes = key1.toByteArray() [all...] |
/external/chromium_org/net/dns/ |
host_cache_unittest.cc | 35 HostCache::Key key1 = Key("foobar.com"); local 42 EXPECT_FALSE(cache.Lookup(key1, now)); 43 cache.Set(key1, entry, now, kTTL); 44 EXPECT_TRUE(cache.Lookup(key1, now)); 45 EXPECT_TRUE(cache.Lookup(key1, now)->error == entry.error); 62 EXPECT_TRUE(cache.Lookup(key1, now)); 64 EXPECT_NE(cache.Lookup(key1, now), cache.Lookup(key2, now)); 69 EXPECT_FALSE(cache.Lookup(key1, now)); 72 // Update key1, so it is no longer expired. 73 cache.Set(key1, entry, now, kTTL) 99 HostCache::Key key1 = Key("foobar.com"); local 127 HostCache::Key key1 = Key("foobar.com"); local 303 HostCache::Key key1; member in struct:net::__anon9052 366 const HostCache::Key& key1 = tests[i].key1; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
handle.c | 53 compare(void *key1, void *key2) 55 if (key1 < key2) 57 else if (key1 > key2)
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
handle.c | 53 compare(void *key1, void *key2) 55 if (key1 < key2) 57 else if (key1 > key2)
|
/libcore/crypto/src/test/java/org/conscrypt/ |
MacTest.java | 42 SecretKey key1 = engine.getSecretKeyById(secret, "HmacSHA256"); local 49 assertFalse(key1.equals(key2)); 50 assertEquals(key1, key1dupe); 51 assertNull(key1.getFormat()); 52 assertNull(key1.getEncoded()); 57 mac1.init(key1);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/ |
DESede.java | 38 private int[] key1 = null; field in class:DESede 64 key1 = generateWorkingKey(encrypting, key, 0); 86 if (key1 == null) 93 desFunc(key1, in, inOff, out, outOff); 101 desFunc(key1, out, outOff, out, outOff);
|
/external/openfst/src/include/fst/extensions/far/ |
equal.h | 60 const string key1 = reader1->GetKey(); local 62 if (!end_key.empty() && end_key < key1 && end_key < key2) { 67 if (key1 != key2) { 69 << key1 << "\" <> \"" << key2 << "\"."; 75 VLOG(1) << "FarEqual: Fsts for key \"" << key1 << "\" are not equal.";
|
/external/chromium/chrome/browser/rlz/ |
rlz_unittest.cc | 36 RegKey key1; local 37 EXPECT_EQ(ERROR_SUCCESS, key1.Open(HKEY_CURRENT_USER, kKeyName, KEY_READ)); 38 EXPECT_EQ(ERROR_SUCCESS, key1.ReadValueDW(kEvent1, &recorded_value)); 58 RegKey key1; local 59 EXPECT_EQ(ERROR_SUCCESS, key1.Open(HKEY_CURRENT_USER, kKeyName, KEY_READ)); 60 EXPECT_EQ(ERROR_SUCCESS, key1.ReadValueDW(kEvent1, &recorded_value));
|
/external/icu4c/common/ |
uelement.h | 71 * @param key1 The string for comparison 73 * @return true if key1 and key2 are equal, return false otherwise. 76 uhash_compareUnicodeString(const UElement key1, const UElement key2); 82 * @param key1 The string for comparison 84 * @return true if key1 and key2 are equal, return false otherwise. 87 uhash_compareCaselessUnicodeString(const UElement key1, const UElement key2);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
EncodedKeySpec2Test.java | 62 private boolean isEqual(Key key1, Key key2) { 63 if (key1 instanceof DSAPublicKey && key2 instanceof DSAPublicKey) { 64 DSAPublicKey dsa1 = ((DSAPublicKey) key1); 71 } else if (key1 instanceof DSAPrivateKey 73 DSAPrivateKey dsa1 = ((DSAPrivateKey) key1);
|
/libcore/luni/src/test/java/tests/security/spec/ |
EncodedKeySpec2Test.java | 63 private boolean isEqual(Key key1, Key key2) { 64 if (key1 instanceof DSAPublicKey && key2 instanceof DSAPublicKey) { 65 DSAPublicKey dsa1 = ((DSAPublicKey) key1); 72 } else if (key1 instanceof DSAPrivateKey 74 DSAPrivateKey dsa1 = ((DSAPrivateKey) key1);
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheReferencesTest.java | 91 Key key1 = new Key(1); 92 String value1 = key1.toString(); 95 assertSame(value1, cache.getUnchecked(key1)); 97 assertEquals(ImmutableSet.of(key1, key2), cache.asMap().keySet()); 99 assertEquals(ImmutableSet.of(immutableEntry(key1, value1), immutableEntry(key2, value2)), 106 Key key1 = new Key(1); 107 String value1 = key1.toString(); 110 assertSame(value1, cache.getUnchecked(key1)); 112 cache.invalidate(key1); 113 assertFalse(cache.asMap().containsKey(key1)); [all...] |
/external/chromium_org/third_party/icu/source/common/ |
uhash_us.cpp | 37 uhash_compareUnicodeString(const UHashTok key1, const UHashTok key2) { 39 const UnicodeString *str1 = (const UnicodeString*) key1.pointer;
|
/external/libsepol/src/ |
symtab.c | 30 __attribute__ ((unused)), hashtab_key_t key1, 35 keyp1 = (char *)key1;
|
/dalvik/vm/ |
AtomicCache.cpp | 88 void dvmUpdateAtomicCache(u4 key1, u4 key2, u4 value, AtomicCacheEntry* pEntry, 129 if (pEntry->key1 == 0) 145 android_atomic_release_store(key1, (int32_t*) &pEntry->key1);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
DESedeEngine.java | 55 byte[] key1 = new byte[8]; 56 System.arraycopy(keyMaster, 0, key1, 0, key1.length); 57 workingKey1 = generateWorkingKey(encrypting, key1);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_cache.h | 63 int (*compare)(const void *key1, const void *key2),
|