/external/openssl/crypto/des/ |
D | str2key.c | 102 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) in DES_string_to_2keys() argument 109 memset(key2,0,8); in DES_string_to_2keys() 116 (*key2)[i]=(*key1)[i]=(str[i]<<1); in DES_string_to_2keys() 124 (*key2)[i%8]^=(str[i]<<1); in DES_string_to_2keys() 138 (*key2)[i%8]^=(j<<1); in DES_string_to_2keys() 148 (*key2)[7-(i%8)]^=j; in DES_string_to_2keys() 151 if (length <= 8) memcpy(key2,key1,8); in DES_string_to_2keys() 154 DES_set_odd_parity(key2); in DES_string_to_2keys() 164 if(DES_is_weak_key(key2)) in DES_string_to_2keys() 165 (*key2)[7] ^= 0xF0; in DES_string_to_2keys() [all …]
|
D | des3s.cpp | 39 des_key_schedule key1,key2,key3; in main() local 48 des_encrypt3(&data[0],key1,key2,key3); in main() 50 des_encrypt3(&data[0],key1,key2,key3); in main() 51 des_encrypt3(&data[0],key1,key2,key3); in main() 52 des_encrypt3(&data[0],key1,key2,key3); in main() 55 des_encrypt3(&data[0],key1,key2,key3); in main() 56 des_encrypt3(&data[0],key1,key2,key3); in main() 57 des_encrypt3(&data[0],key1,key2,key3); in main() 58 des_encrypt3(&data[0],key1,key2,key3); in main() 60 des_encrypt3(&data[0],key1,key2,key3); in main()
|
D | read2pwd.c | 129 int DES_read_2passwords(DES_cblock *key1, DES_cblock *key2, const char *prompt, in DES_read_2passwords() argument 136 DES_string_to_2keys(buf,key1,key2); in DES_read_2passwords()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/ |
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.getEncoded()));
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
D | CollationKeyTest.java | 34 CollationKey key2 = collator.getCollationKey("ABC"); in test_compareToLjava_text_CollationKey() local 35 assertEquals("Should be equal", 0, key1.compareTo(key2)); in test_compareToLjava_text_CollationKey() 47 CollationKey key2 = collator.getCollationKey("ABC"); in test_compareToLjava_lang_Object() local 48 assertEquals("Should be equal", 0, key1.compareTo(key2)); in test_compareToLjava_lang_Object() 58 CollationKey key2 = collator.getCollationKey("ABC"); in test_equalsLjava_lang_Object() local 59 assertTrue("Should be equal", key1.equals(key2)); in test_equalsLjava_lang_Object() 81 CollationKey key2 = collator.getCollationKey("ABC"); in test_hashCode() local 82 assertTrue("Should be equal", key1.hashCode() == key2.hashCode()); in test_hashCode()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
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), cache.asMap().keySet()); [all …]
|
/external/dropbear/libtomcrypt/testprof/ |
D | dsa_test.c | 10 dsa_key key, key2; in dsa_test() local 49 DO(dsa_import(out2, x, &key2)); in dsa_test() 52 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat1, &key2)); in dsa_test() 54 dsa_free(&key2); in dsa_test() 60 DO(dsa_import(out2, x, &key2)); in dsa_test() 62 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat1, &key2)); in dsa_test() 64 dsa_free(&key2); in dsa_test()
|
/external/chromium/crypto/ |
D | symmetric_key_unittest.cc | 24 scoped_ptr<crypto::SymmetricKey> key2( in TEST() local 26 ASSERT_TRUE(NULL != key2.get()); in TEST() 28 EXPECT_TRUE(key2->GetRawKey(&raw_key2)); in TEST() 40 scoped_ptr<crypto::SymmetricKey> key2( in TEST() local 42 ASSERT_TRUE(NULL != key2.get()); in TEST() 45 EXPECT_TRUE(key2->GetRawKey(&raw_key2)); in TEST() 58 scoped_ptr<crypto::SymmetricKey> key2( in TEST() local 60 ASSERT_TRUE(NULL != key2.get()); in TEST() 63 EXPECT_TRUE(key2->GetRawKey(&raw_key2)); in TEST()
|
/external/chromium/net/base/ |
D | host_cache_unittest.cc | 281 HostCache::Key key2("foobar.com", ADDRESS_FAMILY_IPV4, 0); in TEST() local 296 EXPECT_TRUE(cache.Lookup(key2, base::TimeTicks()) == NULL); in TEST() 297 cache.Set(key2, OK, AddressList(), now); in TEST() 298 entry2 = cache.Lookup(key2, base::TimeTicks()); in TEST() 316 HostCache::Key key2("foobar.com", ADDRESS_FAMILY_IPV4, in TEST() local 335 EXPECT_TRUE(cache.Lookup(key2, base::TimeTicks()) == NULL); in TEST() 336 cache.Set(key2, OK, AddressList(), now); in TEST() 337 entry2 = cache.Lookup(key2, base::TimeTicks()); in TEST() 396 HostCache::Key key2; in TEST() member 459 const HostCache::Key& key2 = tests[i].key2; in TEST() local [all …]
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
D | EncodedKeySpec2Test.java | 62 private boolean isEqual(Key key1, Key key2) { in isEqual() argument 63 if (key1 instanceof DSAPublicKey && key2 instanceof DSAPublicKey) { in isEqual() 65 DSAPublicKey dsa2 = ((DSAPublicKey) key2); in isEqual() 72 && key2 instanceof DSAPrivateKey) { in isEqual() 74 DSAPrivateKey dsa2 = ((DSAPrivateKey) key2); in isEqual()
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/ |
D | DESede.java | 39 private int[] key2 = null; field in DESede 65 key2 = generateWorkingKey(!encrypting, key, 8); in init() 94 desFunc(key2, out, outOff, out, outOff); in transformBlock() 100 desFunc(key2, out, outOff, out, outOff); in transformBlock()
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/ |
D | DESedeEngine.java | 58 byte[] key2 = new byte[8]; in init() 59 System.arraycopy(keyMaster, 8, key2, 0, key2.length); in init() 60 workingKey2 = generateWorkingKey(!encrypting, key2); in init()
|
/external/icu4c/common/ |
D | uhash.h | 119 const UHashTok key2); 607 uhash_compareUChars(const UHashTok key1, const UHashTok key2); 617 uhash_compareChars(const UHashTok key1, const UHashTok key2); 627 uhash_compareIChars(const UHashTok key1, const UHashTok key2); 657 uhash_compareUnicodeString(const UHashTok key1, const UHashTok key2); 667 uhash_compareCaselessUnicodeString(const UHashTok key1, const UHashTok key2); 695 uhash_compareLong(const UHashTok key1, const UHashTok key2);
|
/external/clang/test/ARCMT/ |
D | objcmt-subscripting-literals.m.result | 90 dict = @{@"key1": @"value1", @"key2": @"value2"}; 95 @"value2", @"key2", 110 mdict[@"key"] = dict[@"key2"]; 111 [mdict setObject:dict[@"key2"] forKey: 115 @"key2" 132 mdict[dict[@"key2"]] = @"val";
|
D | objcmt-subscripting-literals.m | 90 dict = [NSDictionary dictionaryWithObjectsAndKeys: @"value1", @"key1", @"value2", @"key2", nil]; 95 @"value2", @"key2", 110 [mdict setObject:[dict objectForKey:@"key2"] forKey:@"key"]; 111 [mdict setObject:[dict objectForKey:@"key2"] forKey: 115 @"key2" 132 [mdict setObject:@"val" forKey:[dict objectForKey:@"key2"]];
|
/external/openssh/ |
D | roaming_client.c | 61 static u_int64_t key1, key2, oldkey1, oldkey2; variable 74 key2 = oldkey2 = packet_get_int64(); in roaming_reply() 103 key2 = oldkey2; in roaming_auth_required() 121 oldkey2 = key2; in roaming_auth_required() 123 calculate_new_key(&key2, cookie, chall); in roaming_auth_required()
|
/external/icu4c/test/intltest/ |
D | uvectest.cpp | 70 UVectorTest_compareInt32(UHashTok key1, UHashTok key2) { in UVectorTest_compareInt32() argument 71 if (key1.integer > key2.integer) { in UVectorTest_compareInt32() 74 else if (key1.integer < key2.integer) { in UVectorTest_compareInt32() 82 UVectorTest_compareCstrings(const UHashTok key1, const UHashTok key2) { in UVectorTest_compareCstrings() argument 83 return !strcmp((const char *)key1.pointer, (const char *)key2.pointer); in UVectorTest_compareCstrings()
|
/external/chromium/chrome/browser/rlz/ |
D | rlz_unittest.cc | 45 RegKey key2; in TEST() local 46 EXPECT_EQ(ERROR_SUCCESS, key2.Open(HKEY_CURRENT_USER, kKeyName, KEY_READ)); in TEST() 48 EXPECT_EQ(ERROR_SUCCESS, key2.ReadValueDW(kEvent2, &recorded_value)); in TEST()
|
/external/v8/src/ |
D | profile-generator.h | 81 INLINE(static bool StringsMatch(void* key1, void* key2)) { in INLINE() argument 83 reinterpret_cast<char*>(key2)) == 0; in INLINE() 335 INLINE(static bool UidsMatch(void* key1, void* key2)) { in INLINE() argument 336 return key1 == key2; in INLINE() 730 static bool AddressesMatch(void* key1, void* key2) { in AddressesMatch() argument 731 return key1 == key2; in AddressesMatch() 771 INLINE(static bool HeapSnapshotsMatch(void* key1, void* key2)) { in INLINE() argument 772 return key1 == key2; in INLINE() 841 static bool HeapThingsMatch(HeapThing key1, HeapThing key2) { in HeapThingsMatch() argument 842 return key1 == key2; in HeapThingsMatch() [all …]
|
/external/llvm/test/YAMLParser/ |
D | spec-10-11.data | 5 ? explicit key2 : , # Explicit empty 8 simple key2 : , # Explicit empty
|
D | spec-10-10.data | 5 ? explicit key2 : , # Explicit empty 8 simple key2 : , # Explicit empty
|
/external/mesa3d/src/mesa/program/ |
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/libvpx/examples/includes/geshi/contrib/ |
D | langcheck.php | 481 foreach($language_data['KEYWORDS'] as $key2 => $keywords2) { 482 if($key2 <= $key) { 509 … if(isset($language_data['PARSER_CONTROL']['KEYWORDS'][$key2]['DISALLOWED_BEFORE'])) { 510 … $g2_pre = $language_data['PARSER_CONTROL']['KEYWORDS'][$key2]['DISALLOWED_BEFORE']; 512 … if(isset($language_data['PARSER_CONTROL']['KEYWORDS'][$key2]['DISALLOWED_AFTER'])) { 513 … $g2_post = $language_data['PARSER_CONTROL']['KEYWORDS'][$key2]['DISALLOWED_AFTER']; 520 …icate keyword '$kw' in \$language_data['KEYWORDS'][$key] and \$language_data['KEYWORDS'][$key2]!");
|
/external/libsepol/src/ |
D | symtab.c | 31 hashtab_key_t key2) in symcmp() argument 36 keyp2 = (char *)key2; in symcmp()
|
/external/chromium/net/data/cache_tests/dirty_entry5/ |
D | contents.txt | 143 std::string key2("The Second key"); 149 ASSERT_EQ(net::OK, CreateEntry(key2, &entry)); 161 ASSERT_EQ(net::OK, OpenEntry(key2, &entry)); <--- 1st crash. 162 ASSERT_NE(net::OK, OpenEntry(key2, &entry)); <--- 2nd crash. *
|