Clean OEMCrypto unit tests
Merge from Widevine repo of http://go/wvgerrit/79243 Modify failures for LoadKeyWithSuspiciousIV and SelectKeyNotThereAPI15 This turns on some unit tests that were disabled for Q release. Merge from Widevine repo of http://go/wvgerrit/77948 Mod Mock: Dump entitlement keys - this allows some logging when running in a test environment. Merge from Widevine repo of http://go/wvgerrit/75763 Refactor OEMCrypto Decrypt Tests This CL refactors the oemcyrpto decryption tests. A bunch of boiler plate code was moved to a common test setup. Also, buffer handling was streamlined so that it will be easier to use these test with secure output buffers. Bug: 131281966 Bug: 129432708 Test: unit tests Change-Id: Iebf62611a16e0a4def9c4daed1c6cdf12686ba74
This commit is contained in:
@@ -128,7 +128,7 @@ class SessionContext {
|
||||
const OEMCrypto_KeyObject* key_array, OEMCrypto_Substring pst,
|
||||
OEMCrypto_Substring srm_restriction_data,
|
||||
OEMCrypto_LicenseType license_type);
|
||||
OEMCryptoResult LoadEntitledContentKeys(
|
||||
virtual OEMCryptoResult LoadEntitledContentKeys(
|
||||
const uint8_t* message, size_t message_length, size_t num_keys,
|
||||
const OEMCrypto_EntitledContentKeyObject* key_array);
|
||||
virtual OEMCryptoResult InstallKey(
|
||||
|
||||
Reference in New Issue
Block a user