Searched defs:key1 (Results 1 - 25 of 45) sorted by relevance

12

/external/openssl/crypto/des/
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 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 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 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/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/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/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 Dunistr_case.cpp235 uhash_compareCaselessUnicodeString(const UHashTok key1, const UHashTok key2) { argument
237 const UnicodeString *str1 = (const UnicodeString*) key1.pointer;
H A Duhash.c917 const UHashTok key1 = elem1->key; local
923 const UHashElement* elem2 = _uhash_find(hash2, key1, hash2->keyHasher(key1));
937 uhash_compareUChars(const UHashTok key1, const UHashTok key2) { argument
938 const UChar *p1 = (const UChar*) key1.pointer;
954 uhash_compareChars(const UHashTok key1, const UHashTok key2) { argument
955 const char *p1 = (const char*) key1.pointer;
971 uhash_compareIChars(const UHashTok key1, const UHashTok key2) { argument
972 const char *p1 = (const char*) key1.pointer;
997 uhash_compareLong(const UHashTok key1, cons argument
[all...]
/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/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/srtp/crypto/test/
H A Dauth_driver.c62 /* key1 is for TAG_WORDS = 2 */
64 const uint16_t key1[47] = { variable
139 status = auth_init(a, (uint8_t *)key1);
/external/icu4c/test/cintltst/
H A Dchashtst.c28 static UBool U_EXPORT2 U_CALLCONV isEqualChars(const UHashTok key1, const UHashTok key2);
326 static UBool U_EXPORT2 U_CALLCONV isEqualChars(const UHashTok key1, const UHashTok key2) { argument
327 return (UBool)((key1.pointer != NULL) &&
329 (uprv_strcmp((const char*)key1.pointer, (const char*)key2.pointer) == 0));
/external/mesa3d/src/mesa/program/
H A Dhash_table.c187 hash_table_pointer_compare(const void *key1, const void *key2) argument
189 return key1 == key2 ? 0 : 1;
/external/openssl/crypto/rsa/
H A Drsa_test.c33 static int key1(RSA *key, unsigned char *c) function
237 clen = key1(key, ctext_ex);
/external/wpa_supplicant/tests/
H A Dtest_sha1.c187 static u8 key1[] = "Jefe"; variable
292 sha1_prf(key1, sizeof(key1) - 1, "prefix", data1, sizeof(data1) - 1,
/external/wpa_supplicant_6/wpa_supplicant/tests/
H A Dtest_sha1.c206 static u8 key1[] = "Jefe"; variable
311 sha1_prf(key1, sizeof(key1) - 1, "prefix", data1, sizeof(data1) - 1,
/external/clang/test/CodeGen/
H A D2008-03-24-BitField-And-Alloca.c60 unsigned int key1; member in struct:_Key::__anon3283
/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/v8/src/
H A Dserialize.h79 static bool Match(void* key1, void* key2) { return key1 == key2; } argument
383 RLYSTC bool SerializationMatchFun(void* key1, void* key2) {
384 return key1 == key2;
H A Dcompilation-cache.cc460 static bool SourceHashCompare(void* key1, void* key2) { argument
461 return key1 == key2;
/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/chromium/net/websockets/
H A Dwebsocket_handshake_handler.cc226 std::string key1; local
239 "sec-websocket-key1")) {
241 key1 = iter.values();
262 GetKeyNumber(key1, challenge);
/external/chromium/chrome/browser/chromeos/input_method/
H A Dinput_method_util.cc290 const string16 key1 = local
294 return l10n_util::StringComparator<string16>(collator_)(key1, key2);
/external/chromium/net/server/
H A Dhttp_server.cc77 std::string key1 = GetHeaderValue(request, "Sec-WebSocket-Key1");
80 uint32 fp1 = WebSocketKeyFingerprint(key1);
392 std::string key1 = GetHeaderValue(request, "Sec-WebSocket-Key1"); local
402 if (!key1.empty() && !key2.empty()) {

Completed in 864 milliseconds

12