Searched refs:decryptedData (Results 1 – 8 of 8) sorted by relevance
40 Data decryptedData = (Data) CryptUtils.decrypt(encryptedData); in testEncryptDecrypt() local41 assertEquals("TEST_STRING", decryptedData.mValue); in testEncryptDecrypt()
129 byte[] decryptedData = null; in decrypt()135 decryptedData = cipher.doFinal(encryptedData.getEncryptedData()); in decrypt()152 return decryptedData; in decrypt()
48 byte[] decryptedData = in test_decryption()51 assertThat(decryptedData).isEqualTo(DATA); in test_decryption()
88 byte[] decryptedData = atEncrData.getDecryptedData(KEY_ENCR, IV_BYTES); in testDecryptEncrData()89 assertArrayEquals(DECRYPTED_DATA, decryptedData); in testDecryptEncrData()
317 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() argument357 ByteBuffer secureDataByteBuffer = ByteBuffer.wrap(decryptedData); in getSecureAttributes()
389 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()
442 String decryptedData = tryCompute(encryptedData, false); in compareFileHash() local443 if (decryptedData == null) { in compareFileHash()448 return decryptedData.equals(mNameDecryptKey.get(prefixString)); in compareFileHash()
463 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()