Searched refs:decrypted (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/drm/mediadrm/plugins/clearkey/default/tests/ |
D | AesCtrDecryptorUnittest.cpp | 47 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/ |
D | SecureBoxTest.java | 207 byte[] decrypted = in encryptThenDecrypt_nullPublicPrivateKeys() 210 assertThat(decrypted).isEqualTo(TEST_PAYLOAD); in encryptThenDecrypt_nullPublicPrivateKeys() 218 byte[] decrypted = in encryptThenDecrypt_nullSharedSecret() 220 assertThat(decrypted).isEqualTo(TEST_PAYLOAD); in encryptThenDecrypt_nullSharedSecret() 228 byte[] decrypted = in encryptThenDecrypt_nullHeader() 230 assertThat(decrypted).isEqualTo(TEST_PAYLOAD); in encryptThenDecrypt_nullHeader() 238 byte[] decrypted = in encryptThenDecrypt_nullPayload() 244 assertThat(decrypted.length).isEqualTo(0); in encryptThenDecrypt_nullPayload()
|
D | KeySyncUtilsTest.java | 197 byte[] decrypted = KeySyncUtils.decryptRecoveryClaimResponse( in decryptRecoveryClaimResponse_decryptsAValidResponse() 200 assertArrayEquals(recoveryKey, decrypted); in decryptRecoveryClaimResponse_decryptsAValidResponse() 236 byte[] decrypted = SecureBox.decrypt( in encryptRecoveryClaim_encryptsLockScreenAndKeyClaimant() 241 assertArrayEquals(KeySyncUtils.concat(LOCK_SCREEN_HASH_1, keyClaimant), decrypted); in encryptRecoveryClaim_encryptsLockScreenAndKeyClaimant() local
|