Home
last modified time | relevance | path

Searched refs:newKey (Results 1 – 25 of 27) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DDESedeKeyGenerator.java46 byte[] newKey = new byte[strength]; in generateKey()
51 random.nextBytes(newKey); in generateKey()
53 DESedeParameters.setOddParity(newKey); in generateKey()
55 …nt < MAX_IT && (DESedeParameters.isWeakKey(newKey, 0, newKey.length) || !DESedeParameters.isRealED… in generateKey()
57 …if (DESedeParameters.isWeakKey(newKey, 0, newKey.length) || !DESedeParameters.isRealEDEKey(newKey,… in generateKey()
62 return newKey; in generateKey()
DDESKeyGenerator.java36 byte[] newKey = new byte[DESParameters.DES_KEY_LENGTH]; in generateKey()
40 random.nextBytes(newKey); in generateKey()
42 DESParameters.setOddParity(newKey); in generateKey()
44 while (DESParameters.isWeakKey(newKey, 0)); in generateKey()
46 return newKey; in generateKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DDESEngine.java311 int[] newKey = new int[32]; in generateWorkingKey() local
336 newKey[m] = newKey[n] = 0; in generateWorkingKey()
368 newKey[m] |= bigbyte[j]; in generateWorkingKey()
373 newKey[n] |= bigbyte[j]; in generateWorkingKey()
385 i1 = newKey[i]; in generateWorkingKey()
386 i2 = newKey[i + 1]; in generateWorkingKey()
388 newKey[i] = ((i1 & 0x00fc0000) << 6) | ((i1 & 0x00000fc0) << 10) in generateWorkingKey()
391 newKey[i + 1] = ((i1 & 0x0003f000) << 12) | ((i1 & 0x0000003f) << 16) in generateWorkingKey()
395 return newKey; in generateWorkingKey()
DRC2Engine.java102 int[] newKey = new int[64]; in generateWorkingKey() local
104 for (int i = 0; i != newKey.length; i++) in generateWorkingKey()
106 newKey[i] = (xKey[2 * i] + (xKey[2 * i + 1] << 8)); in generateWorkingKey()
109 return newKey; in generateWorkingKey()
/external/python/cpython2/PC/os2vacpp/
Dgetpathp.c150 HKEY newKey = 0; in getpythonregpath() local
174 &newKey); in getpythonregpath()
176 RegQueryInfoKey(newKey, NULL, NULL, NULL, NULL, NULL, NULL, in getpythonregpath()
193 DWORD rc = RegEnumKey(newKey, in getpythonregpath()
196 rc = RegQueryValue(newKey, keyBuf, NULL, &reqdSize); in getpythonregpath()
209 DWORD rc = RegEnumKey(newKey, in getpythonregpath()
212 rc = RegQueryValue(newKey, in getpythonregpath()
227 rc = RegQueryValue(newKey, "", dataBuf+off, &dataSize); in getpythonregpath()
238 if (newKey) in getpythonregpath()
239 RegCloseKey(newKey); in getpythonregpath()
/external/guava/guava-tests/test/com/google/common/cache/
DPopulatedCachesTest.java92 Object newKey = new Object(); in testPut_populated() local
93 assertNull(cache.asMap().put(newKey, entry.getValue())); in testPut_populated()
96 assertEquals(entry.getValue(), cache.getUnchecked(newKey)); in testPut_populated()
98 warmed.add(entryOf(newKey, entry.getValue())); in testPut_populated()
113 Object newKey = new Object(); in testPutIfAbsent_populated() local
114 assertNull(cache.asMap().putIfAbsent(newKey, entry.getValue())); in testPutIfAbsent_populated()
117 assertEquals(entry.getValue(), cache.getUnchecked(newKey)); in testPutIfAbsent_populated()
119 warmed.add(entryOf(newKey, entry.getValue())); in testPutIfAbsent_populated()
130 Object newKey = new Object(); in testPutAll_populated() local
132 cache.asMap().putAll(ImmutableMap.of(newKey, newValue)); in testPutAll_populated()
[all …]
/external/guice/extensions/dagger-adapter/src/com/google/inject/daggeradapter/
DDaggerMethodScanner.java69 Key<T> newKey = Key.get(key.getTypeLiteral(), UniqueAnnotations.create()); in processSetBinding() local
70 setBinder.addBinding().to(newKey); in processSetBinding()
71 return newKey; in processSetBinding()
/external/python/cpython2/PC/
Dgetpathp.c226 HKEY newKey = 0; in getpythonregpath() local
259 &newKey); in getpythonregpath()
262 rc = RegQueryInfoKey(newKey, NULL, NULL, NULL, &numKeys, NULL, NULL, in getpythonregpath()
278 DWORD rc = RegEnumKeyEx(newKey, index, keyBuf, &reqdSize, in getpythonregpath()
282 rc=RegOpenKeyEx(newKey, in getpythonregpath()
335 rc = RegQueryValueEx(newKey, NULL, 0, NULL, in getpythonregpath()
361 if (newKey) in getpythonregpath()
362 RegCloseKey(newKey); in getpythonregpath()
/external/icu/icu4c/source/i18n/
Dtznames.cpp158 char *newKey = NULL; in TimeZoneNamesDelegate() local
165 newKey = (char *)uprv_malloc(uprv_strlen(key) + 1); in TimeZoneNamesDelegate()
166 if (newKey == NULL) { in TimeZoneNamesDelegate()
169 uprv_strcpy(newKey, key); in TimeZoneNamesDelegate()
181 uhash_put(gTimeZoneNamesCache, newKey, cacheEntry, &status); in TimeZoneNamesDelegate()
188 if (newKey != NULL) { in TimeZoneNamesDelegate()
189 uprv_free(newKey); in TimeZoneNamesDelegate()
Dtzgnames.cpp1223 char *newKey = NULL; in createInstance() local
1230 newKey = (char *)uprv_malloc(uprv_strlen(key) + 1); in createInstance()
1231 if (newKey == NULL) { in createInstance()
1234 uprv_strcpy(newKey, key); in createInstance()
1246 uhash_put(gTZGNCoreCache, newKey, cacheEntry, &status); in createInstance()
1253 if (newKey != NULL) { in createInstance()
1254 uprv_free(newKey); in createInstance()
Dtznames_impl.cpp1451 char* newKey = (char*) uprv_malloc(len); in createKey() local
1452 if (newKey == NULL) { in createKey()
1456 uprv_memcpy(newKey, key, len); in createKey()
1457 newKey[len-1] = '\0'; in createKey()
1458 return (void*) newKey; in createKey()
1536 void* newKey = createKey(key, status); in consumeNamesTable() local
1542 uhash_put(keyToLoader, newKey, loader, &status); in consumeNamesTable()
2254 void* newKey = (void*) ZoneMeta::findMetaZoneID(mzID); in getMetaZoneNames() local
2255 if (newKey != NULL) { in getMetaZoneNames()
2256 uhash_put(gTZDBNamesMap, newKey, cacheVal, &status); in getMetaZoneNames()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DOutputPropertiesFactory.java461 String newKey = fixupPropertyString(key, true); in loadPropertiesFile() local
465 newValue = System.getProperty(newKey); in loadPropertiesFile()
476 if (key != newKey || value != newValue) in loadPropertiesFile()
479 props.put(newKey, newValue); in loadPropertiesFile()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLSignature.java196 private void initInternal(OpenSSLKey newKey, boolean signing) throws InvalidKeyException { in initInternal() argument
197 checkEngineType(newKey); in initInternal()
198 key = newKey; in initInternal()
/external/skia/src/gpu/
DGrResourceCache.h415 void changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) { in changeUniqueKey() argument
416 fCache->changeUniqueKey(resource, newKey); in changeUniqueKey()
DGrResourceCache.cpp291 void GrResourceCache::changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) { in changeUniqueKey() argument
296 if (newKey.isValid()) { in changeUniqueKey()
310 if (GrGpuResource* old = fUniqueHash.find(newKey)) { in changeUniqueKey()
321 SkASSERT(nullptr == fUniqueHash.find(newKey)); in changeUniqueKey()
322 resource->cacheAccess().setUniqueKey(newKey); in changeUniqueKey()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationDummyTest.java332 CollationKey newKey = newCollation.getCollationKey(source[3]); in TestSurrogates() local
333 int keyResult = enKey.compareTo(newKey); in TestSurrogates()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationDummyTest.java333 CollationKey newKey = newCollation.getCollationKey(source[3]); in TestSurrogates() local
334 int keyResult = enKey.compareTo(newKey); in TestSurrogates()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DACBTree.h33 + (ACBKey *)newKey;
DAMutableDictionary.m103 //ACBKey *akey = [ACBKey newKey:aKey];
DACBTree.m23 + (ACBKey *)newKey
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTimeZoneNamesImpl.java371 UResource.Key newKey = createKey(key); in consumeNamesTable() local
372 keyToLoader.put(newKey, loader); in consumeNamesTable()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTimeZoneNamesImpl.java369 UResource.Key newKey = createKey(key); in consumeNamesTable() local
370 keyToLoader.put(newKey, loader); in consumeNamesTable()
/external/sqlite/dist/
Dsqlite3.h7393 unsigned oldKey, unsigned newKey);
7414 void (*xRekey)(sqlite3_pcache*, void*, unsigned oldKey, unsigned newKey);
/external/sqlite/dist/orig/
Dsqlite3.h7393 unsigned oldKey, unsigned newKey);
7414 void (*xRekey)(sqlite3_pcache*, void*, unsigned oldKey, unsigned newKey);
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java189 return newKey(); in test_SSLSocket_getSupportedCipherSuites_connect()
195 return newKey(); in test_SSLSocket_getSupportedCipherSuites_connect()
198 private SecretKey newKey() { in test_SSLSocket_getSupportedCipherSuites_connect()

12