Home
last modified time | relevance | path

Searched refs:decrypted (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/default/tests/
DAesCtrDecryptorUnittest.cpp47 const uint8_t* decrypted, in attemptDecryptExpectingSuccess() argument
56 EXPECT_EQ(0, memcmp(outputBuffer, decrypted, totalSize)); in attemptDecryptExpectingSuccess()
147 uint8_t decrypted[kTotalSize] = { in TEST_F() local
162 attemptDecryptExpectingSuccess<kTotalSize>(key, iv, encrypted, decrypted, in TEST_F()
192 uint8_t decrypted[kTotalSize] = { in TEST_F() local
208 attemptDecryptExpectingSuccess<kTotalSize>(key, iv, encrypted, decrypted, in TEST_F()
238 uint8_t decrypted[kTotalSize] = { in TEST_F() local
254 attemptDecryptExpectingSuccess<kTotalSize>(key, iv, encrypted, decrypted, in TEST_F()
287 uint8_t decrypted[kTotalSize] = { in TEST_F() local
303 attemptDecryptExpectingSuccess<kTotalSize>(key, iv, encrypted, decrypted, in TEST_F()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DSecureBoxTest.java211 byte[] decrypted = in encryptThenDecrypt_nullPublicPrivateKeys()
214 assertThat(decrypted).isEqualTo(TEST_PAYLOAD); in encryptThenDecrypt_nullPublicPrivateKeys()
222 byte[] decrypted = in encryptThenDecrypt_nullSharedSecret()
224 assertThat(decrypted).isEqualTo(TEST_PAYLOAD); in encryptThenDecrypt_nullSharedSecret()
232 byte[] decrypted = in encryptThenDecrypt_nullHeader()
234 assertThat(decrypted).isEqualTo(TEST_PAYLOAD); in encryptThenDecrypt_nullHeader()
242 byte[] decrypted = in encryptThenDecrypt_nullPayload()
248 assertThat(decrypted.length).isEqualTo(0); in encryptThenDecrypt_nullPayload()
DKeySyncUtilsTest.java259 byte[] decrypted = KeySyncUtils.decryptRecoveryClaimResponse( in decryptRecoveryClaimResponse_decryptsAValidResponse()
262 assertArrayEquals(recoveryKey, decrypted); in decryptRecoveryClaimResponse_decryptsAValidResponse()
298 byte[] decrypted = SecureBox.decrypt( in encryptRecoveryClaim_encryptsLockScreenAndKeyClaimant()
303 assertArrayEquals(KeySyncUtils.concat(LOCK_SCREEN_HASH_1, keyClaimant), decrypted); in encryptRecoveryClaim_encryptsLockScreenAndKeyClaimant() local
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/
DChunkEncryptorTest.java154 byte[] decrypted = cipher.doFinal(chunk.encryptedBytes()); in encrypt_decryptedResultCorrespondsToPlaintext()
155 assertThat(decrypted).isEqualTo(PLAINTEXT_BYTES); in encrypt_decryptedResultCorrespondsToPlaintext()
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.h377 bool copyDecryptedContent(const sp<IMemory> &decrypted, size_t length);
DCodec2Buffer.cpp795 const sp<IMemory> &decrypted, size_t length) { in copyDecryptedContent() argument
803 memcpy(view.data(), decrypted->pointer(), length); in copyDecryptedContent()