Home
last modified time | relevance | path

Searched refs:decrypted (Results 1 – 7 of 7) 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/libs/securebox/tests/src/com/android/security/
DSecureBoxTest.java213 byte[] decrypted = in encryptThenDecrypt_nullPublicPrivateKeys()
216 assertThat(decrypted).isEqualTo(TEST_PAYLOAD); in encryptThenDecrypt_nullPublicPrivateKeys()
224 byte[] decrypted = in encryptThenDecrypt_nullSharedSecret()
226 assertThat(decrypted).isEqualTo(TEST_PAYLOAD); in encryptThenDecrypt_nullSharedSecret()
234 byte[] decrypted = in encryptThenDecrypt_nullHeader()
236 assertThat(decrypted).isEqualTo(TEST_PAYLOAD); in encryptThenDecrypt_nullHeader()
244 byte[] decrypted = in encryptThenDecrypt_nullPayload()
250 assertThat(decrypted.length).isEqualTo(0); in encryptThenDecrypt_nullPayload()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DRebootEscrowDataTest.java111 byte [] decrypted = AesEncryptionUtil.decrypt(mKeyStoreEncryptionKey, encrypted); in aesEncryptedBlob_loopback_success()
113 assertThat(decrypted, is(testSp)); in aesEncryptedBlob_loopback_success()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncUtilsTest.java251 byte[] decrypted = KeySyncUtils.decryptRecoveryClaimResponse( in decryptRecoveryClaimResponse_decryptsAValidResponse()
254 assertArrayEquals(recoveryKey, decrypted); in decryptRecoveryClaimResponse_decryptsAValidResponse()
290 byte[] decrypted = SecureBox.decrypt( in encryptRecoveryClaim_encryptsLockScreenAndKeyClaimant()
295 assertArrayEquals(ArrayUtils.concat(LOCK_SCREEN_HASH_1, keyClaimant), decrypted); in encryptRecoveryClaim_encryptsLockScreenAndKeyClaimant() local
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.h368 bool copyDecryptedContent(const sp<IMemory> &decrypted, size_t length);
391 bool copyDecryptedContent(const sp<IMemory> &decrypted, size_t length);
DCodec2Buffer.cpp1026 const sp<IMemory> &decrypted, size_t length) { in copyDecryptedContent() argument
1034 memcpy(view.data(), decrypted->unsecurePointer(), length); in copyDecryptedContent()
1059 const sp<IMemory> &decrypted, size_t length) { in copyDecryptedContent() argument
1068 memcpy(mView.data(), decrypted->unsecurePointer(), length); in copyDecryptedContent()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java1839 final byte[] decrypted = SyntheticPasswordCrypto.decrypt(sp.deriveMetricsKey(), in getPasswordMetrics()
1841 if (decrypted == null) { in getPasswordMetrics()
1845 return VersionedPasswordMetrics.deserialize(decrypted).getMetrics(); in getPasswordMetrics()