Searched refs:key1 (Results 1 - 25 of 77) sorted by relevance

1234

/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,key
[all...]
H A Dstr2key.c102 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) argument
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)[
[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.java76 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
[all...]
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
H A DCollationKeyTest.java33 CollationKey key1 = collator.getCollationKey("abc");
35 assertEquals("Should be equal", 0, key1.compareTo(key2));
46 CollationKey key1 = collator.getCollationKey("abc");
48 assertEquals("Should be equal", 0, key1.compareTo(key2));
57 CollationKey key1 = collator.getCollationKey("abc");
59 assertTrue("Should be equal", key1.equals(key2));
80 CollationKey key1 = collator.getCollationKey("abc");
82 assertTrue("Should be equal", key1.hashCode() == key2.hashCode());
93 CollationKey key1 = collator.getCollationKey("abc");
94 byte[] bytes = key1
[all...]
/external/chromium/chrome/browser/rlz/
H A Drlz_unittest.cc36 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/mesa3d/src/mesa/program/
H A Dhash_table.h37 typedef int (*hash_compare_func_t)(const void *key1, const void *key2);
145 hash_table_pointer_compare(const void *key1, const void *key2);
H A Dhash_table.c187 hash_table_pointer_compare(const void *key1, const void *key2) argument
189 return key1 == key2 ? 0 : 1;
/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) {
64 DSAPublicKey dsa1 = ((DSAPublicKey) key1);
71 } else if (key1 instanceof DSAPrivateKey
73 DSAPrivateKey dsa1 = ((DSAPrivateKey) key1);
/external/icu4c/common/
H A Duhash_us.cpp37 uhash_compareUnicodeString(const UHashTok key1, const UHashTok key2) { argument
39 const UnicodeString *str1 = (const UnicodeString*) key1.pointer;
H A Duhash.h114 * @param key1 A key stored in a hashtable
118 typedef UBool U_CALLCONV UKeyComparator(const UHashTok key1,
599 * @param key1 The string for comparison
601 * @return true if key1 and key2 are equal, return false otherwise.
604 uhash_compareUChars(const UHashTok key1, const UHashTok key2);
609 * @param key1 The string for comparison
611 * @return true if key1 and key2 are equal, return false otherwise.
614 uhash_compareChars(const UHashTok key1, const UHashTok key2);
619 * @param key1 The string for comparison
621 * @return true if key1 an
[all...]
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/
H A DDESedeEngine.java54 byte[] key1 = new byte[8];
55 System.arraycopy(keyMaster, 0, key1, 0, key1.length);
56 workingKey1 = generateWorkingKey(encrypting, key1);
/external/chromium/crypto/
H A Dsymmetric_key_unittest.cc34 scoped_ptr<crypto::SymmetricKey> key1(
36 ASSERT_TRUE(NULL != key1.get());
38 EXPECT_TRUE(key1->GetRawKey(&raw_key1));
51 scoped_ptr<crypto::SymmetricKey> key1(
54 ASSERT_TRUE(NULL != key1.get());
56 EXPECT_TRUE(key1->GetRawKey(&raw_key1));
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
H A DDESedeKeySpecTest.java121 byte[] key1 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3,
124 ks = new DESedeKeySpec(key1, 2);
131 + "as specified in a constructor.", key1, res);
133 System.arraycopy(key1, 2, exp, 0, 24);
H A DDESKeySpecTest.java177 byte[] key1 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0};
179 ks = new DESKeySpec(key1, 2);
186 + "as specified in a constructor.", key1, res);
188 System.arraycopy(key1, 2, exp, 0, 8);
/external/chromium/net/base/
H A Dhost_cache_unittest.cc280 HostCache::Key key1("foobar.com", ADDRESS_FAMILY_UNSPECIFIED, 0);
283 const HostCache::Entry* entry1 = NULL; // Entry for key1
289 EXPECT_TRUE(cache.Lookup(key1, base::TimeTicks()) == NULL);
290 cache.Set(key1, OK, AddressList(), now);
291 entry1 = cache.Lookup(key1, base::TimeTicks());
315 HostCache::Key key1("foobar.com", ADDRESS_FAMILY_IPV4, 0);
321 const HostCache::Entry* entry1 = NULL; // Entry for key1
328 EXPECT_TRUE(cache.Lookup(key1, base::TimeTicks()) == NULL);
329 cache.Set(key1, OK, AddressList(), now);
330 entry1 = cache.Lookup(key1, bas
395 HostCache::Key key1; member in struct:net::__anon2075
458 const HostCache::Key& key1 = tests[i].key1; local
[all...]
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DExemptionMechanismTest.java125 Key key1 = new MyExemptionMechanismSpi().new tmpKey("Proba",
127 assertFalse(em.isCryptoAllowed(key1));
129 em.init(key1);
/external/webkit/Source/WebCore/platform/graphics/wince/
H A DSharedBitmap.h99 HDC getDC(unsigned* key1) { return s_dcProvider->getDC(this, key1); } argument
100 void releaseDC(HDC hdc, unsigned key1) { s_dcProvider->releaseDC(this, hdc, key1); } argument
/external/icu4c/test/intltest/
H A Duvectest.cpp70 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*/) {
/external/mesa3d/src/glsl/
H A Dglsl_types.cpp371 const glsl_type *const key1 = (glsl_type *) a; local
377 if (strcmp(key1->name, key2->name) != 0)
380 if (key1->length != key2->length)
383 for (unsigned i = 0; i < key1->length; i++) {
384 if (key1->fields.structure[i].type != key2->fields.structure[i].type)
386 if (strcmp(key1->fields.structure[i].name,
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
H A DKeyStore_Impl1Test.java494 Key key1 = ((KeyStore.PrivateKeyEntry) en).getPrivateKey();
495 if (!key.getAlgorithm().equals(key1.getAlgorithm()) ||
496 !key.getFormat().equals(key1.getFormat())) {
500 byte[] enc1 = key1.getEncoded();
511 key1 = privKey;
512 if (!key.getAlgorithm().equals(key1.getAlgorithm()) ||
513 !key.getFormat().equals(key1.getFormat())) {
517 enc1 = key1.getEncoded();
604 Key key1;
606 key1
[all...]
/external/clang/test/CodeGen/
H A D2008-03-24-BitField-And-Alloca.c60 unsigned int key1; member in struct:_Key::__anon3283
/external/srec/portable/include/
H A Dphashtable.h79 * Signature for comparison functions. Must return 0 if key1 is identical to
85 typedef int (*PHashCompFunction)(const LCHAR *key1, const LCHAR *key2);
/external/v8/src/
H A Dhashmap.h49 typedef bool (*MatchFun) (void* key1, void* key2);

Completed in 532 milliseconds

1234