Update OEMCryptoCENC.h header to obfuscate missing functions
This CL adds AllocateSecureBuffer and FreeSecureBuffer to the list of function names that are obfuscated. It also corrects some spelling and formatting in OEMCrypto headers. This is still version 16.4. Merge from Widevine repo of http://go/wvgerrit/115803 http://go/wvgerrit/111104 http://go/wvgerrit/108703 http://go/wvgerrit/108703 Bug: 139814713 Bug: 141202789 bug: 168634557 bug: 168635928 bug: 168637230 bug: 168639188 Change-Id: I6f06549b2cf104c6751b2947964569e974fcdcd2
This commit is contained in:
@@ -96,7 +96,6 @@ namespace wvoec3 {
|
||||
#define Level3_AllocateSecureBuffer _lcc111
|
||||
#define Level3_FreeSecureBuffer _lcc112
|
||||
#else
|
||||
#define Level3_IsInApp _oecc00
|
||||
#define Level3_Initialize _oecc01
|
||||
#define Level3_Terminate _oecc02
|
||||
#define Level3_InstallKeyboxOrOEMCert _oecc03
|
||||
@@ -173,11 +172,11 @@ namespace wvoec3 {
|
||||
// of the two functions below. This is to be fixed when
|
||||
// OEMCrypto_AllocateSecureBuffer and OEMCrypto_FreeSecureBuffer are added to
|
||||
// OEMCryptoCENC.h
|
||||
#define Level3_AllocateSecureBuffer OEMCrypto_AllocateSecureBuffer
|
||||
#define Level3_FreeSecureBuffer OEMCrypto_FreeSecureBuffer
|
||||
#define Level3_AllocateSecureBuffer OEMCrypto_AllocateSecureBuffer
|
||||
#define Level3_FreeSecureBuffer OEMCrypto_FreeSecureBuffer
|
||||
#endif
|
||||
|
||||
#define Level3_GetInitializationState _oecl3o01
|
||||
#define Level3_GetInitializationState _oecl3o01
|
||||
// clang-format on
|
||||
|
||||
extern "C" {
|
||||
|
||||
Reference in New Issue
Block a user