Add New Parameters to CreateUsageTableHeader
Merge from Widevine repo of http://go/wvgerrit/23166 This changes OEMCrypto_CreateUsageTableHeader so that the new header is passed back in a buffer to the cdm layer. I hacked out the haystack call and just stubbed out the mock call. This should still build and run with previous liblevel3.a builds. I also removed from the header some function names that are no longer part of OEMCrypto v13. bug:31458046 Change-Id: Ie490c482fe2457076f9026369f4b4b9491a4eb81
This commit is contained in:
@@ -68,9 +68,6 @@ namespace wvoec3 {
|
||||
#define Level3_LoadSRM _lcc55
|
||||
#define Level3_LoadKeys _lcc56
|
||||
#define Level3_RemoveSRM _lcc57
|
||||
#define Level3_SupportsDecryptHash _lcc58
|
||||
#define Level3_SetDecryptHash _lcc59
|
||||
#define Level3_VerifyDecryptHash _lcc60
|
||||
#define Level3_CreateUsageTableHeader _lcc61
|
||||
#define Level3_LoadUsageTableHeader _lcc62
|
||||
#define Level3_CreateNewUsageEntry _lcc63
|
||||
@@ -254,6 +251,7 @@ OEMCryptoResult Level3_SetDecryptHash(OEMCrypto_SESSION session,
|
||||
size_t hash_length);
|
||||
OEMCryptoResult Level3_VerifyDecryptHash(OEMCrypto_SESSION session,
|
||||
uint64_t* failure_data);
|
||||
// TODO(fredgc): add stub for level3.
|
||||
OEMCryptoResult Level3_CreateUsageTableHeader();
|
||||
OEMCryptoResult Level3_LoadUsageTableHeader(const uint8_t* buffer,
|
||||
size_t buffer_length);
|
||||
|
||||
Reference in New Issue
Block a user