/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
H A D | WifiConfigStoreEncryptionUtil.java | 85 EncryptedData encryptedData = null; in encrypt() local 91 encryptedData = new EncryptedData(cipher.doFinal(data), cipher.getIV()); in encrypt() 109 return encryptedData; in encrypt() 118 public @Nullable byte[] decrypt(@NonNull EncryptedData encryptedData) { in decrypt() argument 122 GCMParameterSpec spec = new GCMParameterSpec(GCM_TAG_LENGTH, encryptedData.getIv()); in decrypt() 126 decryptedData = cipher.doFinal(encryptedData.getEncryptedData()); in decrypt()
|
H A D | EncryptedData.java | 31 public EncryptedData(byte[] encryptedData, byte[] iv) { in EncryptedData() argument 32 Preconditions.checkNotNull(encryptedData); in EncryptedData() 34 mEncryptedData = encryptedData; in EncryptedData()
|
H A D | XmlUtil.java | 413 EncryptedData encryptedData = null; in writePreSharedKeyToXml() local 417 if (encryptedData == null) { in writePreSharedKeyToXml() 423 if (encryptedData != null) { in writePreSharedKeyToXml() 859 EncryptedData encryptedData = in parseFromXml() local 1287 EncryptedData encryptedData = null; in writePasswordToXml() local 1291 if (encryptedData == null) { in writePasswordToXml() 1297 if (encryptedData != null) { in writePasswordToXml() 1490 EncryptedData encryptedData = in parseFromXml() local 1546 byte[] encryptedData = null; in parseFromXml() 1558 encryptedData = (byte[]) value; in parseFromXml() [all …]
|
/aosp12/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/ |
H A D | CipherConverter.java | 69 public CipherWrapper<String> decrypt(@NonNull byte[] encryptedData) { in decrypt() argument 70 if (encryptedData.length == 0) { in decrypt() 79 ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(encryptedData); in decrypt() 86 byte[] encryptedPhoneNumber = new byte[encryptedData.length - ivLength - 1]; in decrypt()
|
/aosp12/hardware/interfaces/identity/aidl/vts/ |
H A D | UpdateCredentialTests.cpp | 105 vector<uint8_t> encryptedData; in provisionData() local 108 ASSERT_TRUE(wc->addEntryValue(tstrLastName, &encryptedData).isOk()); in provisionData() 187 vector<uint8_t> encryptedData; in TEST_P() local 190 ASSERT_TRUE(wc->addEntryValue(tstrLastName, &encryptedData).isOk()); in TEST_P()
|
H A D | TestCredentialTests.cpp | 104 vector<uint8_t> encryptedData; in TEST_P() local 107 ASSERT_TRUE(wc->addEntryValue(tstrLastName, &encryptedData).isOk()); in TEST_P() 186 support::decryptAes128Gcm(storageKey, encryptedData, additionalData); in TEST_P()
|
H A D | ProveOwnershipTests.cpp | 106 vector<uint8_t> encryptedData; in provisionData() local 107 ASSERT_TRUE(wc->addEntryValue({9}, &encryptedData).isOk()); in provisionData()
|
H A D | DeleteCredentialTests.cpp | 106 vector<uint8_t> encryptedData; in provisionData() local 107 ASSERT_TRUE(wc->addEntryValue({9}, &encryptedData).isOk()); in provisionData()
|
H A D | AuthenticationKeyTests.cpp | 108 vector<uint8_t> encryptedData; in TEST_P() local 111 ASSERT_TRUE(wc->addEntryValue(tstrLastName, &encryptedData).isOk()); in TEST_P()
|
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
H A D | IkeEncryptedPayloadBody.java | 277 byte[] encryptedData, in normalModeDecrypt() argument 282 byte[] paddedPlaintext = decryptCipher.decrypt(encryptedData, decryptionKey, iv); in normalModeDecrypt() 324 byte[] encryptedData, in combinedModeDecrypt() argument 331 ByteBuffer.allocate(encryptedData.length + checksum.length); in combinedModeDecrypt() 332 dataWithChecksumBuffer.put(encryptedData); in combinedModeDecrypt()
|
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/ |
H A D | IkeNormalModeCipher.java | 127 public byte[] decrypt(byte[] encryptedData, byte[] keyBytes, byte[] ivBytes) in decrypt() argument 129 return doCipherAction(encryptedData, keyBytes, ivBytes, Cipher.DECRYPT_MODE); in decrypt()
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
H A D | XmlUtilTest.java | 126 EncryptedData encryptedData = new EncryptedData(new byte[0], new byte[0]); in testPskWifiConfigurationSerializeDeserializeWithEncryption() local 128 .thenReturn(encryptedData); in testPskWifiConfigurationSerializeDeserializeWithEncryption() 129 when(mWifiConfigStoreEncryptionUtil.decrypt(encryptedData)) in testPskWifiConfigurationSerializeDeserializeWithEncryption() 427 EncryptedData encryptedData = new EncryptedData(new byte[0], new byte[0]); in testWifiEnterpriseConfigSerializeDeserializeWithEncryption() local 429 .thenReturn(encryptedData); in testWifiEnterpriseConfigSerializeDeserializeWithEncryption() 430 when(mWifiConfigStoreEncryptionUtil.decrypt(encryptedData)) in testWifiEnterpriseConfigSerializeDeserializeWithEncryption()
|
/aosp12/hardware/interfaces/identity/aidl/default/libeic/ |
H A D | EicOps.h | 169 size_t additionalAuthenticationDataSize, uint8_t* encryptedData); 177 const uint8_t* encryptedData, size_t encryptedDataSize,
|
/aosp12/hardware/interfaces/identity/aidl/default/ |
H A D | EicOpsImpl.cc | 126 size_t additionalAuthenticationDataSize, uint8_t* encryptedData) { in eicOpsEncryptAes128Gcm() argument 154 memcpy(encryptedData, cppEncryptedData.value().data(), cppEncryptedData.value().size()); in eicOpsEncryptAes128Gcm() 164 const uint8_t* encryptedData, size_t encryptedDataSize, in eicOpsDecryptAes128Gcm() argument 174 memcpy(encryptedDataVec.data(), encryptedData, encryptedDataSize); in eicOpsDecryptAes128Gcm()
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiConfigStoreTest.java | 872 byte[] encryptedData = new byte[0]; in testReadVersion2StoreFile() 875 random.nextBytes(encryptedData); in testReadVersion2StoreFile() 902 HexEncoding.encodeToString(encryptedData), in testReadVersion2StoreFile() 907 HexEncoding.encodeToString(encryptedData), in testReadVersion2StoreFile()
|
/aosp12/hardware/interfaces/identity/support/src/ |
H A D | IdentityCredentialSupport.cpp | 183 const vector<uint8_t>& encryptedData, in decryptAes128Gcm() argument 185 int cipherTextSize = int(encryptedData.size()) - kAesGcmIvSize - kAesGcmTagSize; in decryptAes128Gcm() 190 unsigned char* nonce = (unsigned char*)encryptedData.data(); in decryptAes128Gcm() 277 vector<uint8_t> encryptedData; in encryptAes128Gcm() local 278 encryptedData.resize(data.size() + kAesGcmIvSize + kAesGcmTagSize); in encryptAes128Gcm() 279 unsigned char* noncePtr = (unsigned char*)encryptedData.data(); in encryptAes128Gcm() 348 return encryptedData; in encryptAes128Gcm()
|
/aosp12/hardware/interfaces/identity/support/include/android/hardware/identity/support/ |
H A D | IdentityCredentialSupport.h | 104 const vector<uint8_t>& encryptedData,
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/bluetoothKeystore/ |
H A D | BluetoothKeystoreService.java | 553 String encryptedData = mNameEncryptKey.get(prefixString); in compareFileHash() local 554 String decryptedData = tryCompute(encryptedData, false); in compareFileHash()
|
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/aosp12/art/build/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o-low-priority.txt | 10817 Ljavax/crypto/EncryptedPrivateKeyInfo;->encryptedData:[B
|