HomeSort by relevance Sort by last modified time
    Searched refs:key1 (Results 1 - 25 of 83) sorted by null

1 2 3 4

  /external/openssl/crypto/des/
des3s.cpp 39 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,key3)
    [all...]
str2key.c 102 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2)
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)[7] ^= 0xF0
    [all...]
read2pwd.c 129 int DES_read_2passwords(DES_cblock *key1, DES_cblock *key2, const char *prompt,
136 DES_string_to_2keys(buf,key1,key2);
des_old.c 233 int _ossl_old_des_read_2passwords(_ossl_old_des_cblock *key1, _ossl_old_des_cblock *key2,
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)
260 DES_string_to_2keys(str, key1, key2);
  /libcore/luni/src/main/java/org/apache/harmony/luni/util/
TwoKeyHashMap.java 124 * @param key1
128 public V remove(Object key1, Object key2) {
129 Entry<E, K, V> e = removeEntry(key1, key2);
136 * @param key1
141 public V put(E key1, K key2, V value) {
142 if (key1 == null && key2 == null) {
156 int hash = key1.hashCode() + key2.hashCode();
161 if (hash == e.hash && key1.equals(e.getKey1())
170 arr[index] = createEntry(hash, key1, key2, value, arr[index]);
217 * Returns true if this map contains a mapping for {@code key1} and {@code key2}
291 E key1; field in class:TwoKeyHashMap.Entry
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
Contacts_SettingsTest.java 100 String key1 = "key 1"; local
104 Settings.setSetting(mContentResolver, "account", key1, value1);
106 assertEquals(value1, Settings.getSetting(mContentResolver, "account", key1));
110 Settings.setSetting(mContentResolver, "account", key1, value2);
111 assertEquals(value2, Settings.getSetting(mContentResolver, "account", key1));
  /external/chromium/third_party/icu/source/common/
uhash_us.cpp 37 uhash_compareUnicodeString(const UHashTok key1, const UHashTok key2) {
39 const UnicodeString *str1 = (const UnicodeString*) key1.pointer;
uhash.h 114 * @param key1 A key stored in a hashtable
118 typedef UBool U_CALLCONV UKeyComparator(const UHashTok key1,
598 * @param key1 The string for comparison
600 * @return true if key1 and key2 are equal, return false otherwise.
603 uhash_compareUChars(const UHashTok key1, const UHashTok key2);
608 * @param key1 The string for comparison
610 * @return true if key1 and key2 are equal, return false otherwise.
613 uhash_compareChars(const UHashTok key1, const UHashTok key2);
618 * @param key1 The string for comparison
620 * @return true if key1 and key2 are equal, return false otherwise
    [all...]
  /external/icu4c/common/
uhash_us.cpp 37 uhash_compareUnicodeString(const UHashTok key1, const UHashTok key2) {
39 const UnicodeString *str1 = (const UnicodeString*) key1.pointer;
uhash.h 114 * @param key1 A key stored in a hashtable
118 typedef UBool U_CALLCONV UKeyComparator(const UHashTok key1,
598 * @param key1 The string for comparison
600 * @return true if key1 and key2 are equal, return false otherwise.
603 uhash_compareUChars(const UHashTok key1, const UHashTok key2);
608 * @param key1 The string for comparison
610 * @return true if key1 and key2 are equal, return false otherwise.
613 uhash_compareChars(const UHashTok key1, const UHashTok key2);
618 * @param key1 The string for comparison
620 * @return true if key1 and key2 are equal, return false otherwise
    [all...]
  /dalvik/vm/
AtomicCache.c 86 void dvmUpdateAtomicCache(u4 key1, u4 key2, u4 value, AtomicCacheEntry* pEntry,
127 if (pEntry->key1 == 0)
143 android_atomic_release_store(key1, (int32_t*) &pEntry->key1);
AtomicCache.h 17 * Mutex-free cache for key1+key2=value.
35 u4 key1; member in struct:AtomicCacheEntry
107 if (pEntry->key1 == (u4)(_key1) && pEntry->key2 == (u4)(_key2)) { \
161 void dvmUpdateAtomicCache(u4 key1, u4 key2, u4 value, AtomicCacheEntry* pEntry,
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/
DESedeEngine.java 54 byte[] key1 = new byte[8];
55 System.arraycopy(keyMaster, 0, key1, 0, key1.length);
56 workingKey1 = generateWorkingKey(encrypting, key1);
  /libcore/luni/src/test/java/tests/security/spec/
EncodedKeySpec2Test.java 75 private boolean isEqual(Key key1, Key key2) {
76 if (key1 instanceof DSAPublicKey && key2 instanceof DSAPublicKey) {
77 DSAPublicKey dsa1 = ((DSAPublicKey) key1);
84 } else if (key1 instanceof DSAPrivateKey
86 DSAPrivateKey dsa1 = ((DSAPrivateKey) key1);
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/
X509NameElementList.java 21 private DERObjectIdentifier key1; field in class:X509NameElementList
90 key1 = key;
150 case 1: return key1;
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DESedeKeySpecTest.java 148 byte[] key1 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3,
151 ks = new DESedeKeySpec(key1, 2);
158 + "as specified in a constructor.", key1, res);
160 System.arraycopy(key1, 2, exp, 0, 24);
  /external/v8/src/
data-flow.h 72 static bool VarMatch(void* key1, void* key2) { return key1 == key2; }
  /libcore/luni/src/test/java/libcore/java/text/
OldCollationKeyTest.java 31 CollationKey key1 = collator.getCollationKey("abc"); local
32 byte[] bytes = key1.toByteArray();
  /build/tools/signapk/test/
run 25 cert := out/key1.pem
  /external/chromium/net/base/
host_cache_unittest.cc 279 HostCache::Key key1("foobar.com", ADDRESS_FAMILY_UNSPECIFIED);
282 const HostCache::Entry* entry1 = NULL; // Entry for key1
288 EXPECT_TRUE(cache.Lookup(key1, base::TimeTicks()) == NULL);
289 cache.Set(key1, OK, AddressList(), now);
290 entry1 = cache.Lookup(key1, base::TimeTicks());
346 HostCache::Key key1; member in struct:net::__anon2365
350 // -1 means key1 is less than key2
351 // 0 means key1 equals key2
352 // 1 means key1 is greater than key2
390 const HostCache::Key& key1 = tests[i].key1 local
    [all...]
  /external/chromium/third_party/icu/source/test/intltest/
uvectest.cpp 70 UVectorTest_compareInt32(UHashTok key1, UHashTok key2) {
71 if (key1.integer > key2.integer) {
74 else if (key1.integer < key2.integer) {
82 UVectorTest_compareCstrings(const UHashTok key1, const UHashTok key2) {
83 return !strcmp((const char *)key1.pointer, (const char *)key2.pointer);
164 static UBool U_CALLCONV neverTRUE(const UHashTok /*key1*/, const UHashTok /*key2*/) {
  /external/icu4c/test/intltest/
uvectest.cpp 70 UVectorTest_compareInt32(UHashTok key1, UHashTok key2) {
71 if (key1.integer > key2.integer) {
74 else if (key1.integer < key2.integer) {
82 UVectorTest_compareCstrings(const UHashTok key1, const UHashTok key2) {
83 return !strcmp((const char *)key1.pointer, (const char *)key2.pointer);
164 static UBool U_CALLCONV neverTRUE(const UHashTok /*key1*/, const UHashTok /*key2*/) {
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/
OrderedTable.java 25 private DERObjectIdentifier key1; field in class:OrderedTable
82 key1 = key;
194 case 1: return key1;
  /external/chromium/net/disk_cache/
entry_unittest.cc 428 std::string key1("the first key");
430 ASSERT_TRUE(cache_->CreateEntry(key1, &entry1));
431 EXPECT_EQ(key1, entry1->GetKey()) << "short key";
441 key1 = key_buffer;
442 ASSERT_TRUE(cache_->CreateEntry(key1, &entry1));
443 EXPECT_TRUE(key1 == entry1->GetKey()) << "1000 bytes key";
448 key1 = key_buffer;
449 ASSERT_TRUE(cache_->CreateEntry(key1, &entry1));
450 EXPECT_TRUE(key1 == entry1->GetKey()) << "medium size key";
456 key1 = key_buffer
    [all...]
  /external/srec/portable/include/
phashtable.h 79 * Signature for comparison functions. Must return 0 if key1 is identical to
85 typedef int (*PHashCompFunction)(const LCHAR *key1, const LCHAR *key2);

Completed in 377 milliseconds

1 2 3 4