/packages/modules/Virtualization/libs/devicemapper/src/ |
D | crypt.rs | 81 cipher: CipherType, field 93 cipher: CipherType::AES256HCTR2, in default() 113 pub fn cipher(&mut self, cipher: CipherType) -> &mut Self { in cipher() method 114 self.cipher = cipher; in cipher() 156 self.cipher.validata_key_size(self.key.unwrap().len()), in build() 157 format!("Invalid key size for cipher:{}", self.cipher.get_kernel_crypto_name()) in build() 167 write!(&mut body, "{} ", self.cipher.get_kernel_crypto_name())?; in build()
|
D | lib.rs | 245 cipher: CipherType, field 251 cipher: CipherType::AES256XTS, 256 cipher: CipherType::AES256HCTR2, 344 .cipher(keyset.cipher) in mapping_again_keeps_data() 387 .cipher(keyset.cipher) in data_inaccessible_with_diff_key() 393 .cipher(keyset.cipher) in data_inaccessible_with_diff_key()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | PacketUtils.java | 360 public final EspCipher cipher; field in PacketUtils.EspHeader 389 EspCipher cipher, in EspHeader() argument 395 this.cipher = cipher; in EspHeader() 398 if (cipher instanceof EspCipherNull && auth instanceof EspAuthNull) { in EspHeader() 402 if (cipher instanceof EspAeadCipher && !(auth instanceof EspAuthNull)) { in EspHeader() 422 cipher instanceof EspAeadCipher ? ((EspAeadCipher) cipher).icvLen : auth.icvLen; in length() 424 payload.length, cipher.ivLen, cipher.blockSize, icvLen * 8); in length() 439 espPayloadBuffer.put(cipher.getCipherText(nextHeader, payload, spi, seqNum)); in addPacketBytes() 607 final Cipher cipher = Cipher.getInstance(algoName); in getCipherText() local 608 cipher.init(Cipher.ENCRYPT_MODE, secretKeySpec, ivParameterSpec); in getCipherText() [all …]
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/encryption/ |
D | CryptorMicImp.java | 140 Cipher cipher; in encrypt() local 142 cipher = Cipher.getInstance(CIPHER_ALGORITHM); in encrypt() 161 cipher.init(Cipher.ENCRYPT_MODE, secretKey, new IvParameterSpec(iv)); in encrypt() 168 return cipher.doFinal(input); in encrypt() 182 Cipher cipher; in decrypt() local 184 cipher = Cipher.getInstance(CIPHER_ALGORITHM); in decrypt() 198 cipher.init(Cipher.DECRYPT_MODE, secretKey, new IvParameterSpec(iv)); in decrypt() 205 return cipher.doFinal(encryptedData); in decrypt()
|
/packages/modules/adb/pairing_auth/tests/ |
D | aes_128_gcm_test.cpp | 28 std::unique_ptr<Aes128Gcm> cipher; in TEST() local 29 ASSERT_DEATH({ cipher.reset(new Aes128Gcm(nullptr, 42)); }, ""); in TEST() 34 std::unique_ptr<Aes128Gcm> cipher; in TEST() local 35 ASSERT_DEATH({ cipher.reset(new Aes128Gcm(material, 0)); }, ""); in TEST()
|
/packages/modules/Virtualization/microdroid_manager/src/ |
D | instance.rs | 145 let cipher = Cipher::aes_256_gcm(); in read_microdroid_data() localVariable 146 let key = dice.get_sealing_key(INSTANCE_KEY_IDENTIFIER, cipher.key_len())?; in read_microdroid_data() 147 let plaintext = decrypt_aead(cipher, &key, Some(&nonce), &header, &data, &tag)?; in read_microdroid_data() 191 let cipher = Cipher::aes_256_gcm(); in write_microdroid_data() localVariable 192 let key = dice.get_sealing_key(INSTANCE_KEY_IDENTIFIER, cipher.key_len())?; in write_microdroid_data() 194 let ciphertext = encrypt_aead(cipher, &key, Some(&nonce), &header, &data, &mut tag)?; in write_microdroid_data()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/util/ |
D | CryptUtils.java | 65 Cipher cipher = Cipher.getInstance(TRANSFORMATION); in encrypt() local 66 cipher.init(Cipher.ENCRYPT_MODE, getSecretKey()); in encrypt() 68 SealedObject sealedData = new SealedObject(data, cipher); in encrypt()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | WifiConfigStoreEncryptionUtil.java | 131 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in decrypt() local 134 cipher.init(Cipher.DECRYPT_MODE, mSecretKeyReference, spec); in decrypt() 135 decryptedData = cipher.doFinal(encryptedData.getEncryptedData()); in decrypt()
|
D | InformationElementUtil.java | 2073 private static @Cipher int parseWpaCipher(int cipher) { in parseWpaCipher() argument 2074 switch (cipher) { in parseWpaCipher() 2083 + Integer.toHexString(cipher)); in parseWpaCipher() 2088 private static @Cipher int parseRsnCipher(int cipher) { in parseRsnCipher() argument 2089 switch (cipher) { in parseRsnCipher() 2110 + Integer.toHexString(cipher)); in parseRsnCipher() 2424 private String cipherToString(@Cipher int cipher) { in cipherToString() argument 2425 switch (cipher) { in cipherToString()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/bluetoothKeystore/ |
D | BluetoothKeystoreService.java | 593 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in encrypt() local 597 cipher.init(Cipher.ENCRYPT_MODE, secretKeyReference); in encrypt() 601 ByteString.copyFrom(cipher.doFinal(data.getBytes()))) in encrypt() 602 .setInitVector(ByteString.copyFrom(cipher.getIV())) in encrypt() 647 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in decrypt() local 653 cipher.init(Cipher.DECRYPT_MODE, secretKeyReference, spec); in decrypt() 654 decryptedDataBytes = cipher.doFinal(protobuf.getEncryptedData().toByteArray()); in decrypt()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarServiceUtils.java | 857 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in encryptData() local 858 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in encryptData() 859 return new EncryptedData(cipher.doFinal(data), cipher.getIV()); in encryptData() 880 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in decryptData() local 882 cipher.init(Cipher.DECRYPT_MODE, secretKey, spec); in decryptData() 883 return cipher.doFinal(data.getEncryptedData()); in decryptData()
|
/packages/modules/Bluetooth/system/tools/irk-calculator/src/ |
D | main.rs | 1 use aes::cipher::{generic_array::GenericArray, BlockEncrypt, KeyInit}; 27 let cipher = Aes128::new(&GenericArray::from(key_reversed)); localVariable 30 cipher.encrypt_block(&mut block);
|
/packages/services/Car/service/src/com/android/car/bluetooth/ |
D | FastPairGattServer.java | 624 Cipher cipher = Cipher.getInstance("AES/ECB/NoPadding"); in encrypt() local 625 cipher.init(Cipher.ENCRYPT_MODE, secretKeySpec); in encrypt() 626 return cipher.doFinal(data); in encrypt() 646 Cipher cipher = Cipher.getInstance("AES/ECB/NoPadding"); in decrypt() local 647 cipher.init(Cipher.DECRYPT_MODE, secretKeySpec); in decrypt() 648 return cipher.doFinal(encryptedData); in decrypt()
|
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | PacketUtils.java | 400 Cipher cipher = Cipher.getInstance(AES_CBC); in getCiphertext() local 401 cipher.init(Cipher.ENCRYPT_MODE, secretKeySpec, ivParameterSpec); in getCiphertext() 402 byte[] encrypted = cipher.doFinal(getByteArrayFromBuffer(paddedPayload)); in getCiphertext()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | FastPairGattServerTest.java | 466 Cipher cipher = Cipher.getInstance("AES/ECB/NoPadding"); in encrypt() local 467 cipher.init(Cipher.ENCRYPT_MODE, key); in encrypt() 468 return cipher.doFinal(payload); in encrypt() 477 Cipher cipher = Cipher.getInstance("AES/ECB/NoPadding"); in decrypt() local 478 cipher.init(Cipher.DECRYPT_MODE, key); in decrypt() 479 return cipher.doFinal(encrypted); in decrypt()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppUtils.java | 392 Cipher cipher = Cipher.getInstance(AES_CBC_PKCS7_PADDING); in isUnlockedWithinSeconds() local 393 cipher.init(Cipher.ENCRYPT_MODE, generateSecretKey(keyStoreAlias, seconds)); in isUnlockedWithinSeconds() 394 cipher.doFinal(); in isUnlockedWithinSeconds()
|
/packages/modules/Virtualization/encryptedstore/ |
D | README.md | 13 derived from the VM secret and AES256 cipher with HCTR2 mode. The Block level encryption ensures
|
/packages/modules/Virtualization/encryptedstore/src/ |
D | main.rs | 119 .cipher(CipherType::AES256HCTR2) in enable_crypt()
|
/packages/modules/AdServices/adservices/libraries/cobalt/proto/ |
D | encrypted_message.proto | 49 // Hybrid cipher compatible with Tink hybrid encryption/decryption
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiCarrierInfoManagerTest.java | 736 Cipher cipher = mock(Cipher.class); in getEncryptedIdentity_WithRfc4648() local 752 lenient().when(Cipher.getInstance(anyString())).thenReturn(cipher); in getEncryptedIdentity_WithRfc4648() 753 when(cipher.doFinal(any(byte[].class))).thenReturn(permanentIdentity.getBytes()); in getEncryptedIdentity_WithRfc4648() 803 Cipher cipher = mock(Cipher.class); in getEncryptedIdentityFailed() local 810 lenient().when(Cipher.getInstance(anyString())).thenReturn(cipher); in getEncryptedIdentityFailed() 811 when(cipher.doFinal(any(byte[].class))).thenThrow(BadPaddingException.class); in getEncryptedIdentityFailed()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiCarrierInfoManager.java | 1103 Cipher cipher = Cipher.getInstance(IMSI_CIPHER_TRANSFORMATION); in encryptDataUsingPublicKey() local 1104 cipher.init(Cipher.ENCRYPT_MODE, key); in encryptDataUsingPublicKey() 1105 byte[] encryptedBytes = cipher.doFinal(data); in encryptDataUsingPublicKey()
|
/packages/modules/RemoteKeyProvisioning/app/tests/unit/ |
D | tink-android-1.5.0.jar | com/google/crypto/tink/subtle/prf/StreamingPrf.class
StreamingPrf.java
package ... |
/packages/apps/Car/DebuggingRestrictionController/libs/ |
D | httpclient-4.5.12.jar | META-INF/MANIFEST.MF
META-INF/
org/
org/apache/
org/ ... |
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_GB_wordlist.combined.gz |
|
D | en_US_wordlist.combined.gz |
|