Home
last modified time | relevance | path

Searched refs:decryptedData (Results 1 – 8 of 8) sorted by relevance

/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/util/
DCryptUtilsTest.java40 Data decryptedData = (Data) CryptUtils.decrypt(encryptedData); in testEncryptDecrypt() local
41 assertEquals("TEST_STRING", decryptedData.mValue); in testEncryptDecrypt()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWifiConfigStoreEncryptionUtil.java129 byte[] decryptedData = null; in decrypt()
135 decryptedData = cipher.doFinal(encryptedData.getEncryptedData()); in decrypt()
152 return decryptedData; in decrypt()
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/util/encryption/
DCryptorMicImpTest.java48 byte[] decryptedData = in test_decryption()
51 assertThat(decryptedData).isEqualTo(DATA); in test_decryption()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/
DAtEncrDataTest.java88 byte[] decryptedData = atEncrData.getDecryptedData(KEY_ENCR, IV_BYTES); in testDecryptEncrData()
89 assertArrayEquals(DECRYPTED_DATA, decryptedData); in testDecryptEncrData()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapSimAkaMethodStateMachine.java317 byte[] decryptedData; in retrieveSecuredAttributes()
319 decryptedData = atEncrData.getDecryptedData(mKEncr, atIv.iv); in retrieveSecuredAttributes()
327 securedAttributes = getSecureAttributes(tag, decryptedData); in retrieveSecuredAttributes()
355 byte[] decryptedData) in getSecureAttributes() argument
357 ByteBuffer secureDataByteBuffer = ByteBuffer.wrap(decryptedData); in getSecureAttributes()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarServiceUtilsTest.java389 byte[] decryptedData = CarServiceUtils.decryptData(data, KEY_ALIAS_CAR_SERVICE_UTILS_TEST); in testEncryptDecryptData()
391 expectWithMessage("Expected decrypted data").that(decryptedData).isNotNull(); in testEncryptDecryptData()
392 expectWithMessage("Decrypted text").that(decryptedData).isEqualTo(inputBytes); in testEncryptDecryptData()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/bluetoothKeystore/
DBluetoothKeystoreService.java442 String decryptedData = tryCompute(encryptedData, false); in compareFileHash() local
443 if (decryptedData == null) { in compareFileHash()
448 return decryptedData.equals(mNameDecryptKey.get(prefixString)); in compareFileHash()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessageTest.java463 byte[] decryptedData = in testParsingErrorInEncryptedMessage()
465 decryptedData[FIRST_PAYLOAD_LENGTH_OFFSET] = (byte) 0; in testParsingErrorInEncryptedMessage()
466 decryptedData[FIRST_PAYLOAD_LENGTH_OFFSET + 1] = (byte) 0; in testParsingErrorInEncryptedMessage()
467 doReturn(decryptedData).when(mMockCipher).decrypt(any(), any(), any()); in testParsingErrorInEncryptedMessage()