Searched defs:key2 (Results 1 - 25 of 61) sorted by relevance

123

/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/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
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 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 Ddes_opts.c423 static DES_cblock key2={0x34,0x56,0x78,0x9a,0xbc,0xde,0xf0,0x12}; local
446 DES_set_key_unchecked(&key2,&sch2);
H A Dspeed.c184 static DES_cblock key2={0x34,0x56,0x78,0x9a,0xbc,0xde,0xf0,0x12}; local
197 DES_set_key_unchecked(&key2,&sch2);
/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/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/icu4c/common/
H A Duhash_us.cpp37 uhash_compareUnicodeString(const UHashTok key1, const UHashTok key2) { argument
40 const UnicodeString *str2 = (const UnicodeString*) key2.pointer;
H A Dunistr_case.cpp235 uhash_compareCaselessUnicodeString(const UHashTok key1, const UHashTok key2) { argument
238 const UnicodeString *str2 = (const UnicodeString*) key2.pointer;
/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
H A Dhashtab.c39 const hashtab_key_t key2),
35 hashtab_create(unsigned int (*hash_value) (hashtab_t h, const hashtab_key_t key), int (*keycmp) (hashtab_t h, const hashtab_key_t key1, const hashtab_key_t key2), unsigned int size) argument
/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::__anon2797
459 const HostCache::Key& key2 = tests[i].key2; 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/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/openssl/crypto/aes/
H A Daes_ige.c215 const AES_KEY *key2, const unsigned char *ivec,
213 AES_bi_ige_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, const AES_KEY *key2, const unsigned char *ivec, const int enc) argument
/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
328 (key2.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/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/openssl/crypto/rsa/
H A Drsa_test.c82 static int key2(RSA *key, unsigned char *c) function
240 clen = key2(key, ctext_ex);
/external/v8/src/
H A Dinterface.cc35 static bool Match(void* key1, void* key2) { argument
37 String* name2 = *static_cast<String**>(key2);
/external/wpa_supplicant_6/wpa_supplicant/tests/
H A Dtest_sha1.c221 static u8 key2[] = variable
320 sha1_prf(key2, sizeof(key2), "prefix", data2, sizeof(data2),
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
H A DKnownHosts.java484 private boolean matchKeys(Object key1, Object key2) argument
486 if ((key1 instanceof RSAPublicKey) && (key2 instanceof RSAPublicKey))
489 RSAPublicKey remoteRSAKey = (RSAPublicKey) key2;
504 if ((key1 instanceof DSAPublicKey) && (key2 instanceof DSAPublicKey))
507 DSAPublicKey remoteDSAKey = (DSAPublicKey) key2;
/external/mesa3d/src/glsl/
H A Dglsl_types.cpp372 const glsl_type *const key2 = (glsl_type *) b; local
377 if (strcmp(key1->name, key2->name) != 0)
380 if (key1->length != key2->length)
384 if (key1->fields.structure[i].type != key2->fields.structure[i].type)
387 key2->fields.structure[i].name) != 0)
/external/openssl/crypto/modes/
H A Dmodes_lcl.h121 void *key1, *key2; member in struct:xts128_context

Completed in 780 milliseconds

123