Searched refs:key2 (Results 1 - 25 of 109) sorted by relevance

12345

/external/openssl/crypto/des/
H A Ddes3s.cpp39 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 Dstr2key.c102 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 Dread2pwd.c129 int DES_read_2passwords(DES_cblock *key1, DES_cblock *key2, const char *prompt, argument
136 DES_string_to_2keys(buf,key1,key2);
H A Ddes_old.c233 int _ossl_old_des_read_2passwords(_ossl_old_des_cblock *key1, _ossl_old_des_cblock *key2, argument
236 return DES_read_2passwords(key1, key2, prompt, verify);
258 void _ossl_old_des_string_to_2keys(char *str,_ossl_old_des_cblock *key1,_ossl_old_des_cblock *key2) argument
260 DES_string_to_2keys(str, key1, key2);
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/
H A DKeyPairTest.java77 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 DCollationKeyTest.java34 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 DRuleBasedCollatorTest.java108 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 Ddsa_test.c10 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/icu4c/common/
H A Duelement.h72 * @param key2 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);
83 * @param key2 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);
H A Dunistr_case.cpp169 uhash_compareCaselessUnicodeString(const UElement key1, const UElement key2) { argument
172 const UnicodeString *str2 = (const UnicodeString*) key2.pointer;
H A Duhash.h576 * @param key2 The string for comparison
577 * @return true if key1 and key2 are equal, return false otherwise.
580 uhash_compareUChars(const UHashTok key1, const UHashTok key2);
586 * @param key2 The string for comparison
587 * @return true if key1 and key2 are equal, return false otherwise.
590 uhash_compareChars(const UHashTok key1, const UHashTok key2);
596 * @param key2 The string for comparison
597 * @return true if key1 and key2 are equal, return false otherwise.
600 uhash_compareIChars(const UHashTok key1, const UHashTok key2);
639 * @return true if key1 and key2 ar
[all...]
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/
H A DDESede.java39 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 DEncodedKeySpec2Test.java62 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 Dsymmetric_key_unittest.cc24 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 DCacheReferencesTest.java93 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/libsepol/src/
H A Dsymtab.c31 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 DDESedeEngine.java61 byte[] key2 = new byte[8];
62 System.arraycopy(keyMaster, 8, key2, 0, key2.length);
63 workingKey2 = generateWorkingKey(!encrypting, key2);
/external/openfst/src/include/fst/extensions/far/
H A Dequal.h61 const string key2 = reader2->GetKey(); local
62 if (!end_key.empty() && end_key < key1 && end_key < key2) {
67 if (key1 != key2) {
69 << key1 << "\" <> \"" << key2 << "\"."; local
/external/chromium/chrome/browser/rlz/
H A Drlz_unittest.cc45 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/chromium/net/base/
H A Dhost_cache_unittest.cc281 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::__anon2935
459 const HostCache::Key& key2 = tests[i].key2; local
[all...]
/external/libsepol/include/sepol/policydb/
H A Dhashtab.h38 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 Duvectest.cpp70 UVectorTest_compareInt32(UElement key1, UElement key2) { argument
71 if (key1.integer > key2.integer) {
74 else if (key1.integer < key2.integer) {
82 UVectorTest_compareCstrings(const UElement key1, const UElement key2) { argument
83 return !strcmp((const char *)key1.pointer, (const char *)key2.pointer);
164 static UBool U_CALLCONV neverTRUE(const UElement /*key1*/, const UElement /*key2*/) {
/external/openssh/
H A Droaming_client.c61 static u_int64_t key1, key2, oldkey1, oldkey2; variable
74 key2 = oldkey2 = packet_get_int64();
103 key2 = oldkey2;
121 oldkey2 = key2;
123 calculate_new_key(&key2, cookie, chall);
/external/v8/src/
H A Dprofile-generator.h81 INLINE(static bool StringsMatch(void* key1, void* key2)) { argument
83 reinterpret_cast<char*>(key2)) == 0;
335 INLINE(static bool UidsMatch(void* key1, void* key2)) { argument
336 return key1 == key2;
730 static bool AddressesMatch(void* key1, void* key2) { argument
731 return key1 == key2;
771 INLINE(static bool HeapSnapshotsMatch(void* key1, void* key2)) { argument
772 return key1 == key2;
841 static bool HeapThingsMatch(HeapThing key1, HeapThing key2) { argument
842 return key1 == key2;
1046 RetainedInfosMatch(void* key1, void* key2) argument
1051 INLINE(static bool StringsMatch(void* key1, void* key2)) argument
1125 INLINE(static bool ObjectsMatch(void* key1, void* key2)) argument
[all...]
/external/srec/portable/include/
H A Dphashtable.h80 * key2 and non-zero otherwise. The hash function and the comparison function
85 typedef int (*PHashCompFunction)(const LCHAR *key1, const LCHAR *key2);

Completed in 770 milliseconds

12345