Home
last modified time | relevance | path

Searched refs:encrypted (Results 1 – 8 of 8) 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.java208 byte[] encrypted = in encryptThenDecrypt_nullPublicPrivateKeys()
213 /*ourPrivateKey=*/ null, TEST_SHARED_SECRET, TEST_HEADER, encrypted); in encryptThenDecrypt_nullPublicPrivateKeys()
219 byte[] encrypted = in encryptThenDecrypt_nullSharedSecret()
223 SecureBox.decrypt(THM_PRIVATE_KEY, /*sharedSecret=*/ null, TEST_HEADER, encrypted); in encryptThenDecrypt_nullSharedSecret()
229 byte[] encrypted = in encryptThenDecrypt_nullHeader()
233 SecureBox.decrypt(THM_PRIVATE_KEY, TEST_SHARED_SECRET, /*header=*/ null, encrypted); in encryptThenDecrypt_nullHeader()
239 byte[] encrypted = in encryptThenDecrypt_nullPayload()
247 /*encryptedPayload=*/ encrypted); in encryptThenDecrypt_nullPayload()
295 byte[] encrypted = in decrypt_badAuthenticationTag()
297 encrypted[encrypted.length - 1] ^= (byte) 1; in decrypt_badAuthenticationTag()
[all …]
DKeySyncUtilsTest.java227 byte[] encrypted = KeySyncUtils.locallyEncryptRecoveryKey( in decryptRecoveryKey_decryptsALocallyEncryptedKey()
230 byte[] keyMaterial = KeySyncUtils.decryptRecoveryKey(LOCK_SCREEN_HASH_1, encrypted); in decryptRecoveryKey_decryptsALocallyEncryptedKey()
238 byte[] encrypted = KeySyncUtils.locallyEncryptRecoveryKey(LOCK_SCREEN_HASH_1, recoveryKey); in decryptRecoveryKey_throwsIfCannotDecrypt()
241 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()
186 uint8_t *encrypted = data + offset; in processAAC() local
187 status_t ret = decryptBlock(encrypted, encryptedBytes, AESInitVec); in processAAC()
242 uint8_t *encrypted = data + offset; in processAC3() local
243 status_t ret = decryptBlock(encrypted, encryptedBytes, AESInitVec); in processAC3()
/frameworks/base/core/proto/android/server/
Dbackup_chunks_metadata.proto22 // Cipher type with which the chunks are encrypted. For now we only support AES/GCM/NoPadding, but
38 // The chunk ordering contains a list of the start position of each chunk in the encrypted file,
43 // The chunk ordering does not contain any start positions, and instead each encrypted chunk in
54 // Number of bytes in encrypted chunk
68 // Cipher algorithm with which the chunks are encrypted.
87 // information about which parts of the backup are changing over time.) This proto is encrypted
113 // data structure is only ever uploaded to the server encrypted with a key unknown to the server.
116 // Cipher algorithm with which the chunk listing and chunks are encrypted.
/frameworks/base/cmds/bootanimation/
DFORMAT.md7 /system/media/bootanimation-encrypted.zip (if getprop("vold.decrypt") = '1')
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp653 bool encrypted = data[0] & 0x1; in setWebmBlockCryptoInfo() local
655 if (encrypted && mbuf->range_length() < 9) { in setWebmBlockCryptoInfo()
661 if (encrypted) { in setWebmBlockCryptoInfo()