Allow Version 8 OEMCrypto to be linked with CDM
This is a copy of the Widevine CDM change: https://widevine-internal-review.googlesource.com/#/c/9337/ This CL provides some shim code that allows the Eureka version 8 oemcrypto library to be linked and run with CDM. As part of this change, obfuscated names in OEMCryptoCENC.h have been changed. Change-Id: I18a1f91f0dfde0006591f800f8f8a034f32d9004
This commit is contained in:
@@ -250,12 +250,12 @@ typedef enum RSA_Padding_Scheme {
|
||||
#define OEMCrypto_GenerateDerivedKeys _oecc12
|
||||
#define OEMCrypto_GenerateSignature _oecc13
|
||||
#define OEMCrypto_GenerateNonce _oecc14
|
||||
#define OEMCrypto_LoadKeys _oecc15
|
||||
#define OEMCrypto_LoadKeys_V8 _oecc15
|
||||
#define OEMCrypto_RefreshKeys _oecc16
|
||||
#define OEMCrypto_SelectKey _oecc17
|
||||
#define OEMCrypto_RewrapDeviceRSAKey _oecc18
|
||||
#define OEMCrypto_LoadDeviceRSAKey _oecc19
|
||||
#define OEMCrypto_GenerateRSASignature _oecc20
|
||||
#define OEMCrypto_GenerateRSASignature_V8 _oecc20
|
||||
#define OEMCrypto_DeriveKeysFromSessionKey _oecc21
|
||||
#define OEMCrypto_APIVersion _oecc22
|
||||
#define OEMCrypto_SecurityLevel _oecc23
|
||||
@@ -270,6 +270,8 @@ typedef enum RSA_Padding_Scheme {
|
||||
#define OEMCrypto_ReportUsage _oecc32
|
||||
#define OEMCrypto_DeleteUsageEntry _oecc33
|
||||
#define OEMCrypto_DeleteUsageTable _oecc34
|
||||
#define OEMCrypto_LoadKeys _oecc35
|
||||
#define OEMCrypto_GenerateRSASignature _oecc36
|
||||
|
||||
/*
|
||||
* OEMCrypto_Initialize
|
||||
|
||||
Reference in New Issue
Block a user