Home
last modified time | relevance | path

Searched refs:encrypted (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/default/tests/
DAesCtrDecryptorUnittest.cpp46 const uint8_t* encrypted, in attemptDecryptExpectingSuccess() argument
52 ASSERT_EQ(android::OK, attemptDecrypt(key, iv, encrypted, outputBuffer, in attemptDecryptExpectingSuccess()
136 uint8_t encrypted[kTotalSize] = { in TEST_F() local
162 attemptDecryptExpectingSuccess<kTotalSize>(key, iv, encrypted, decrypted, in TEST_F()
181 uint8_t encrypted[kTotalSize] = { in TEST_F() local
208 attemptDecryptExpectingSuccess<kTotalSize>(key, iv, encrypted, decrypted, in TEST_F()
227 uint8_t encrypted[kTotalSize] = { in TEST_F() local
254 attemptDecryptExpectingSuccess<kTotalSize>(key, iv, encrypted, decrypted, in TEST_F()
273 uint8_t encrypted[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.java204 byte[] encrypted = in encryptThenDecrypt_nullPublicPrivateKeys()
209 /*ourPrivateKey=*/ null, TEST_SHARED_SECRET, TEST_HEADER, encrypted); in encryptThenDecrypt_nullPublicPrivateKeys()
215 byte[] encrypted = in encryptThenDecrypt_nullSharedSecret()
219 SecureBox.decrypt(THM_PRIVATE_KEY, /*sharedSecret=*/ null, TEST_HEADER, encrypted); in encryptThenDecrypt_nullSharedSecret()
225 byte[] encrypted = in encryptThenDecrypt_nullHeader()
229 SecureBox.decrypt(THM_PRIVATE_KEY, TEST_SHARED_SECRET, /*header=*/ null, encrypted); in encryptThenDecrypt_nullHeader()
235 byte[] encrypted = in encryptThenDecrypt_nullPayload()
243 /*encryptedPayload=*/ encrypted); in encryptThenDecrypt_nullPayload()
291 byte[] encrypted = in decrypt_badAuthenticationTag()
293 encrypted[encrypted.length - 1] ^= (byte) 1; in decrypt_badAuthenticationTag()
[all …]
DKeySyncUtilsTest.java165 byte[] encrypted = KeySyncUtils.locallyEncryptRecoveryKey( in decryptRecoveryKey_decryptsALocallyEncryptedKey()
168 byte[] keyMaterial = KeySyncUtils.decryptRecoveryKey(LOCK_SCREEN_HASH_1, encrypted); in decryptRecoveryKey_decryptsALocallyEncryptedKey()
176 byte[] encrypted = KeySyncUtils.locallyEncryptRecoveryKey(LOCK_SCREEN_HASH_1, recoveryKey); in decryptRecoveryKey_throwsIfCannotDecrypt()
179 KeySyncUtils.decryptRecoveryKey(LOCK_SCREEN_HASH_2, encrypted); in decryptRecoveryKey_throwsIfCannotDecrypt()
/frameworks/base/tests/LegacyRestoreTest/
DREADME1 The file "jbmr2-encrypted-settings-abcd.ab" in this directory is an encrypted
12 The file "kk-fixed-encrypted-settings-abcd.ab" is a similar encrypted "adb backup"
17 These archives can be used as an ongoing test to verify that historical encrypted
/frameworks/av/media/libstagefright/mpeg2ts/
DHlsSampleDecryptor.cpp119 uint8_t *encrypted = nalData + offset; in processNal() local
120 status_t ret = decryptBlock(encrypted, AES_BLOCK_SIZE, AESInitVec); in processNal()
181 uint8_t *encrypted = data + offset; in processAAC() local
182 status_t ret = decryptBlock(encrypted, encryptedBytes, AESInitVec); in processAAC()
237 uint8_t *encrypted = data + offset; in processAC3() local
238 status_t ret = decryptBlock(encrypted, encryptedBytes, AESInitVec); in processAC3()
/frameworks/base/cmds/bootanimation/
DFORMAT.md7 /system/media/bootanimation-encrypted.zip (if getprop("vold.decrypt") = '1')
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp597 bool encrypted = data[0] & 0x1; in setWebmBlockCryptoInfo() local
599 if (encrypted && mbuf->range_length() < 9) { in setWebmBlockCryptoInfo()
605 if (encrypted) { in setWebmBlockCryptoInfo()