/external/openssl/crypto/des/ |
H A D | 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,key [all...] |
H A D | str2key.c | 102 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) argument 109 memset(key2,0,8); 116 (*key2)[i]=(*key1)[i]=(str[i]<<1); 124 (*key2)[i%8]^=(str[i]<<1); 138 (*key2)[i%8]^=(j<<1); 148 (*key2)[7-(i%8)]^=j; 151 if (length <= 8) memcpy(key2,key1,8); 154 DES_set_odd_parity(key2); 164 if(DES_is_weak_key(key2)) 165 (*key2)[ [all...] |
H A D | read2pwd.c | 129 int DES_read_2passwords(DES_cblock *key1, DES_cblock *key2, const char *prompt, argument 136 DES_string_to_2keys(buf,key1,key2);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/ |
H A D | KeyPairTest.java | 77 Key key2 = ((KeyPair)reference).getPublic(); 79 assertEquals("PublicKey class", key1.getClass(), key2.getClass()); 80 assertEquals("PublicKey algorithm", key1.getAlgorithm(), key2 82 assertEquals("PublicKey format", key1.getFormat(), key2.getFormat()); 84 key2.getEncoded())); 88 key2 = ((KeyPair)reference).getPrivate(); 90 assertEquals("PrivateKey class", key1.getClass(), key2.getClass()); 91 assertEquals("PrivateKey algorithm", key1.getAlgorithm(), key2 93 assertEquals("PrivateKey format", key1.getFormat(), key2.getFormat()); 95 key2 [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
H A D | CollationKeyTest.java | 34 CollationKey key2 = collator.getCollationKey("ABC"); 35 assertEquals("Should be equal", 0, key1.compareTo(key2)); 47 CollationKey key2 = collator.getCollationKey("ABC"); 48 assertEquals("Should be equal", 0, key1.compareTo(key2)); 58 CollationKey key2 = collator.getCollationKey("ABC"); 59 assertTrue("Should be equal", key1.equals(key2)); 81 CollationKey key2 = collator.getCollationKey("ABC"); 82 assertTrue("Should be equal", key1.hashCode() == key2.hashCode());
|
H A D | RuleBasedCollatorTest.java | 108 CollationKey key2 = coll.getCollationKey(source2); 109 assertEquals(source2, key2.getSourceString()); 110 assertTrue(key1.compareTo(key2) > 0); 265 CollationKey key2 = coll.getCollationKey("abc"); 267 assertEquals(0, key.compareTo(key2));
|
/external/dropbear/libtomcrypt/testprof/ |
H A D | dsa_test.c | 10 dsa_key key, key2; local 49 DO(dsa_import(out2, x, &key2)); 52 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat1, &key2)); 54 dsa_free(&key2); 60 DO(dsa_import(out2, x, &key2)); 62 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat1, &key2)); 64 dsa_free(&key2);
|
/external/mesa3d/src/mesa/program/ |
H A D | hash_table.h | 37 typedef int (*hash_compare_func_t)(const void *key1, const void *key2); 145 hash_table_pointer_compare(const void *key1, const void *key2);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/ |
H A D | DESede.java | 39 private int[] key2 = null; field in class:DESede 65 key2 = generateWorkingKey(!encrypting, key, 8); 94 desFunc(key2, out, outOff, out, outOff); 100 desFunc(key2, out, outOff, out, outOff);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
H A D | EncodedKeySpec2Test.java | 62 private boolean isEqual(Key key1, Key key2) { argument 63 if (key1 instanceof DSAPublicKey && key2 instanceof DSAPublicKey) { 65 DSAPublicKey dsa2 = ((DSAPublicKey) key2); 72 && key2 instanceof DSAPrivateKey) { 74 DSAPrivateKey dsa2 = ((DSAPrivateKey) key2);
|
/external/chromium/crypto/ |
H A D | symmetric_key_unittest.cc | 24 scoped_ptr<crypto::SymmetricKey> key2( 26 ASSERT_TRUE(NULL != key2.get()); 28 EXPECT_TRUE(key2->GetRawKey(&raw_key2)); 40 scoped_ptr<crypto::SymmetricKey> key2( 42 ASSERT_TRUE(NULL != key2.get()); 45 EXPECT_TRUE(key2->GetRawKey(&raw_key2)); 58 scoped_ptr<crypto::SymmetricKey> key2( 60 ASSERT_TRUE(NULL != key2.get()); 63 EXPECT_TRUE(key2->GetRawKey(&raw_key2));
|
/external/guava/guava-tests/test/com/google/common/cache/ |
H A D | CacheReferencesTest.java | 93 Key key2 = new Key(2); 94 String value2 = key2.toString(); 96 assertSame(value2, cache.getUnchecked(key2)); 97 assertEquals(ImmutableSet.of(key1, key2), cache.asMap().keySet()); 99 assertEquals(ImmutableSet.of(immutableEntry(key1, value1), immutableEntry(key2, value2)), 108 Key key2 = new Key(2); 109 String value2 = key2.toString(); 111 assertSame(value2, cache.getUnchecked(key2)); 114 assertTrue(cache.asMap().containsKey(key2)); 116 assertEquals(ImmutableSet.of(key2), cach [all...] |
/external/icu4c/common/ |
H A D | uhash_us.cpp | 37 uhash_compareUnicodeString(const UHashTok key1, const UHashTok key2) { argument 40 const UnicodeString *str2 = (const UnicodeString*) key2.pointer;
|
H A D | uhash.h | 115 * @param key2 A key stored in a hashtable 119 const UHashTok key2); 603 * @param key2 The string for comparison 604 * @return true if key1 and key2 are equal, return false otherwise. 607 uhash_compareUChars(const UHashTok key1, const UHashTok key2); 613 * @param key2 The string for comparison 614 * @return true if key1 and key2 are equal, return false otherwise. 617 uhash_compareChars(const UHashTok key1, const UHashTok key2); 623 * @param key2 The string for comparison 624 * @return true if key1 and key2 ar [all...] |
/external/libsepol/src/ |
H A D | symtab.c | 31 hashtab_key_t key2) 36 keyp2 = (char *)key2; 29 symcmp(hashtab_t h __attribute__ ((unused)), hashtab_key_t key1, hashtab_key_t key2) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
H A D | DESedeEngine.java | 58 byte[] key2 = new byte[8]; 59 System.arraycopy(keyMaster, 8, key2, 0, key2.length); 60 workingKey2 = generateWorkingKey(!encrypting, key2);
|
/external/chromium/chrome/browser/rlz/ |
H A D | rlz_unittest.cc | 45 RegKey key2; local 46 EXPECT_EQ(ERROR_SUCCESS, key2.Open(HKEY_CURRENT_USER, kKeyName, KEY_READ)); 48 EXPECT_EQ(ERROR_SUCCESS, key2.ReadValueDW(kEvent2, &recorded_value));
|
/external/skia/third_party/glu/libtess/ |
H A D | priorityq-heap.h | 99 int (*leq)(PQkey key1, PQkey key2); 102 PriorityQ *pqNewPriorityQ( int (*leq)(PQkey key1, PQkey key2) );
|
H A D | priorityq-sort.h | 110 int (*leq)(PQkey key1, PQkey key2); 113 PriorityQ *pqNewPriorityQ( int (*leq)(PQkey key1, PQkey key2) );
|
H A D | priorityq.h | 110 int (*leq)(PQkey key1, PQkey key2); 113 PriorityQ *pqNewPriorityQ( int (*leq)(PQkey key1, PQkey key2) );
|
H A D | dict-list.h | 73 int (*leq)(void *frame, DictKey key1, DictKey key2) ); 104 int (*leq)(void *frame, DictKey key1, DictKey key2);
|
H A D | dict.h | 75 int (*leq)(void *frame, DictKey key1, DictKey key2) ); 106 int (*leq)(void *frame, DictKey key1, DictKey key2);
|
/external/chromium/net/base/ |
H A D | host_cache_unittest.cc | 281 HostCache::Key key2("foobar.com", ADDRESS_FAMILY_IPV4, 0); 284 const HostCache::Entry* entry2 = NULL; // Entry for key2 296 EXPECT_TRUE(cache.Lookup(key2, base::TimeTicks()) == NULL); 297 cache.Set(key2, OK, AddressList(), now); 298 entry2 = cache.Lookup(key2, base::TimeTicks()); 316 HostCache::Key key2("foobar.com", ADDRESS_FAMILY_IPV4, 322 const HostCache::Entry* entry2 = NULL; // Entry for key2 335 EXPECT_TRUE(cache.Lookup(key2, base::TimeTicks()) == NULL); 336 cache.Set(key2, OK, AddressList(), now); 337 entry2 = cache.Lookup(key2, bas 396 HostCache::Key key2; member in struct:net::__anon2798 459 const HostCache::Key& key2 = tests[i].key2; local [all...] |
/external/libsepol/include/sepol/policydb/ |
H A D | hashtab.h | 38 int (*keycmp) (struct hashtab_val * h, hashtab_key_t key1, hashtab_key_t key2); /* key comparison function */ 54 const hashtab_key_t key2),
|
/external/icu4c/test/intltest/ |
H A D | uvectest.cpp | 70 UVectorTest_compareInt32(UHashTok key1, UHashTok key2) { argument 71 if (key1.integer > key2.integer) { 74 else if (key1.integer < key2.integer) { 82 UVectorTest_compareCstrings(const UHashTok key1, const UHashTok key2) { argument 83 return !strcmp((const char *)key1.pointer, (const char *)key2.pointer); 164 static UBool U_CALLCONV neverTRUE(const UHashTok /*key1*/, const UHashTok /*key2*/) {
|