/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
D | DESedeKeyGenerator.java | 46 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()
|
D | DESKeyGenerator.java | 36 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/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/generators/ |
D | DESedeKeyGenerator.java | 50 byte[] newKey = new byte[strength]; in generateKey() 55 random.nextBytes(newKey); in generateKey() 57 DESedeParameters.setOddParity(newKey); in generateKey() 59 …nt < MAX_IT && (DESedeParameters.isWeakKey(newKey, 0, newKey.length) || !DESedeParameters.isRealED… in generateKey() 61 …if (DESedeParameters.isWeakKey(newKey, 0, newKey.length) || !DESedeParameters.isRealEDEKey(newKey,… in generateKey() 66 return newKey; in generateKey()
|
D | DESKeyGenerator.java | 40 byte[] newKey = new byte[DESParameters.DES_KEY_LENGTH]; in generateKey() 44 random.nextBytes(newKey); in generateKey() 46 DESParameters.setOddParity(newKey); in generateKey() 48 while (DESParameters.isWeakKey(newKey, 0)); in generateKey() 50 return newKey; in generateKey()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/generators/ |
D | DESedeKeyGenerator.java | 50 byte[] newKey = new byte[strength]; in generateKey() 55 random.nextBytes(newKey); in generateKey() 57 DESedeParameters.setOddParity(newKey); in generateKey() 59 …nt < MAX_IT && (DESedeParameters.isWeakKey(newKey, 0, newKey.length) || !DESedeParameters.isRealED… in generateKey() 61 …if (DESedeParameters.isWeakKey(newKey, 0, newKey.length) || !DESedeParameters.isRealEDEKey(newKey,… in generateKey() 66 return newKey; in generateKey()
|
D | DESKeyGenerator.java | 40 byte[] newKey = new byte[DESParameters.DES_KEY_LENGTH]; in generateKey() 44 random.nextBytes(newKey); in generateKey() 46 DESParameters.setOddParity(newKey); in generateKey() 48 while (DESParameters.isWeakKey(newKey, 0)); in generateKey() 50 return newKey; in generateKey()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
D | DESEngine.java | 312 int[] newKey = new int[32]; in generateWorkingKey() local 337 newKey[m] = newKey[n] = 0; in generateWorkingKey() 369 newKey[m] |= bigbyte[j]; in generateWorkingKey() 374 newKey[n] |= bigbyte[j]; in generateWorkingKey() 386 i1 = newKey[i]; in generateWorkingKey() 387 i2 = newKey[i + 1]; in generateWorkingKey() 389 newKey[i] = ((i1 & 0x00fc0000) << 6) | ((i1 & 0x00000fc0) << 10) in generateWorkingKey() 392 newKey[i + 1] = ((i1 & 0x0003f000) << 12) | ((i1 & 0x0000003f) << 16) in generateWorkingKey() 396 return newKey; in generateWorkingKey()
|
D | RC2Engine.java | 102 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/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/engines/ |
D | DESEngine.java | 314 int[] newKey = new int[32]; in generateWorkingKey() local 339 newKey[m] = newKey[n] = 0; in generateWorkingKey() 371 newKey[m] |= bigbyte[j]; in generateWorkingKey() 376 newKey[n] |= bigbyte[j]; in generateWorkingKey() 388 i1 = newKey[i]; in generateWorkingKey() 389 i2 = newKey[i + 1]; in generateWorkingKey() 391 newKey[i] = ((i1 & 0x00fc0000) << 6) | ((i1 & 0x00000fc0) << 10) in generateWorkingKey() 394 newKey[i + 1] = ((i1 & 0x0003f000) << 12) | ((i1 & 0x0000003f) << 16) in generateWorkingKey() 398 return newKey; in generateWorkingKey()
|
D | RC2Engine.java | 104 int[] newKey = new int[64]; in generateWorkingKey() local 106 for (int i = 0; i != newKey.length; i++) in generateWorkingKey() 108 newKey[i] = (xKey[2 * i] + (xKey[2 * i + 1] << 8)); in generateWorkingKey() 111 return newKey; in generateWorkingKey()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/ |
D | DESEngine.java | 314 int[] newKey = new int[32]; in generateWorkingKey() local 339 newKey[m] = newKey[n] = 0; in generateWorkingKey() 371 newKey[m] |= bigbyte[j]; in generateWorkingKey() 376 newKey[n] |= bigbyte[j]; in generateWorkingKey() 388 i1 = newKey[i]; in generateWorkingKey() 389 i2 = newKey[i + 1]; in generateWorkingKey() 391 newKey[i] = ((i1 & 0x00fc0000) << 6) | ((i1 & 0x00000fc0) << 10) in generateWorkingKey() 394 newKey[i + 1] = ((i1 & 0x0003f000) << 12) | ((i1 & 0x0000003f) << 16) in generateWorkingKey() 398 return newKey; in generateWorkingKey()
|
D | RC2Engine.java | 104 int[] newKey = new int[64]; in generateWorkingKey() local 106 for (int i = 0; i != newKey.length; i++) in generateWorkingKey() 108 newKey[i] = (xKey[2 * i] + (xKey[2 * i + 1] << 8)); in generateWorkingKey() 111 return newKey; in generateWorkingKey()
|
/external/python/cpython2/PC/os2vacpp/ |
D | getpathp.c | 150 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/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/ |
D | AeadCipherTest.java | 44 private Key newKey() { in newKey() method in AeadCipherTest 75 c.init(Cipher.ENCRYPT_MODE, newKey()); in testUpdateAAD_AfterInit() 83 c.init(Cipher.ENCRYPT_MODE, newKey()); in testUpdateAAD_AfterUpdate() 95 Key key = newKey(); in testUpdateAAD_Twice() 119 Key key = newKey(); in testUpdateAAD_ByteBuffer() 155 Key key = newKey(); in testUpdateAAD_ByteBuffer_MultipleUpdates() 198 Key key = newKey(); in testUpdateAAD_ByteBuffer_MixedCalls() 240 Key key = newKey(); in testUpdateAAD_ByteBuffer_Unequal() 278 Key key = newKey(); in testReuse() 279 Key key2 = newKey(); in testReuse()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/ |
D | AeadCipherTest.java | 48 private Key newKey() { in newKey() method in AeadCipherTest 79 c.init(Cipher.ENCRYPT_MODE, newKey()); in testUpdateAAD_AfterInit() 87 c.init(Cipher.ENCRYPT_MODE, newKey()); in testUpdateAAD_AfterUpdate() 99 Key key = newKey(); in testUpdateAAD_Twice() 123 Key key = newKey(); in testUpdateAAD_ByteBuffer() 159 Key key = newKey(); in testUpdateAAD_ByteBuffer_MultipleUpdates() 202 Key key = newKey(); in testUpdateAAD_ByteBuffer_MixedCalls() 244 Key key = newKey(); in testUpdateAAD_ByteBuffer_Unequal() 282 Key key = newKey(); in testReuse() 283 Key key2 = newKey(); in testReuse()
|
/external/guava/android/guava-tests/test/com/google/common/cache/ |
D | PopulatedCachesTest.java | 90 Object newKey = new Object(); in testPut_populated() local 91 assertNull(cache.asMap().put(newKey, entry.getValue())); in testPut_populated() 94 assertEquals(entry.getValue(), cache.getUnchecked(newKey)); in testPut_populated() 96 warmed.add(entryOf(newKey, entry.getValue())); in testPut_populated() 111 Object newKey = new Object(); in testPutIfAbsent_populated() local 112 assertNull(cache.asMap().putIfAbsent(newKey, entry.getValue())); in testPutIfAbsent_populated() 115 assertEquals(entry.getValue(), cache.getUnchecked(newKey)); in testPutIfAbsent_populated() 117 warmed.add(entryOf(newKey, entry.getValue())); in testPutIfAbsent_populated() 128 Object newKey = new Object(); in testPutAll_populated() local 130 cache.asMap().putAll(ImmutableMap.of(newKey, newValue)); in testPutAll_populated() [all …]
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | PopulatedCachesTest.java | 90 Object newKey = new Object(); in testPut_populated() local 91 assertNull(cache.asMap().put(newKey, entry.getValue())); in testPut_populated() 94 assertEquals(entry.getValue(), cache.getUnchecked(newKey)); in testPut_populated() 96 warmed.add(entryOf(newKey, entry.getValue())); in testPut_populated() 111 Object newKey = new Object(); in testPutIfAbsent_populated() local 112 assertNull(cache.asMap().putIfAbsent(newKey, entry.getValue())); in testPutIfAbsent_populated() 115 assertEquals(entry.getValue(), cache.getUnchecked(newKey)); in testPutIfAbsent_populated() 117 warmed.add(entryOf(newKey, entry.getValue())); in testPutIfAbsent_populated() 128 Object newKey = new Object(); in testPutAll_populated() local 130 cache.asMap().putAll(ImmutableMap.of(newKey, newValue)); in testPutAll_populated() [all …]
|
/external/python/cpython2/PC/ |
D | getpathp.c | 226 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/guice/extensions/dagger-adapter/src/com/google/inject/daggeradapter/ |
D | DaggerMethodScanner.java | 86 Key<T> newKey = Key.get(key.getTypeLiteral(), UniqueAnnotations.create()); in processSetBinding() local 87 setBinder.addBinding().to(newKey); in processSetBinding() 88 return newKey; in processSetBinding()
|
/external/icu/icu4c/source/i18n/ |
D | tznames.cpp | 158 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()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
D | OutputPropertiesFactory.java | 461 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/python/cpython3/PC/ |
D | getpathp.c | 341 HKEY newKey = 0; in getpythonregpath() local 377 &newKey); in getpythonregpath() 382 rc = RegQueryInfoKeyW(newKey, NULL, NULL, NULL, &numKeys, NULL, NULL, in getpythonregpath() 403 DWORD rc = RegEnumKeyExW(newKey, index, keyBuf, &reqdSize, in getpythonregpath() 409 rc=RegOpenKeyExW(newKey, in getpythonregpath() 466 rc = RegQueryValueExW(newKey, NULL, 0, NULL, in getpythonregpath() 483 if (newKey) { in getpythonregpath() 484 RegCloseKey(newKey); in getpythonregpath()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/ |
D | DownloadRequest.java | 138 StreamKey newKey = newRequest.streamKeys.get(i); in copyWithMergedRequest() local 139 if (!mergedKeys.contains(newKey)) { in copyWithMergedRequest() 140 mergedKeys.add(newKey); in copyWithMergedRequest()
|
/external/llvm-project/mlir/lib/Transforms/Utils/ |
D | FoldUtils.cpp | 268 auto newKey = std::make_tuple(newDialect, value, type); in tryGetOrCreateConstant() local 272 if (auto *existingOp = uniquedConstants.lookup(newKey)) { in tryGetOrCreateConstant() 280 auto newIt = uniquedConstants.insert({newKey, constInst}); in tryGetOrCreateConstant()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLSignature.java | 196 private void initInternal(OpenSSLKey newKey, boolean signing) throws InvalidKeyException { in initInternal() argument 197 checkEngineType(newKey); in initInternal() 198 key = newKey; in initInternal()
|