v14
This CL updates has several changes. The document WidevineModularDRMSecurityIntegrationGuideforCENC_v14.pdf had an incorrect definition of the PST_Report structure. The header file had the correct definition. This has been updated and the version number of the document was rolled to 14.1 The unit tests TwoHundredEntries has been modifed to make sure that if the usage table is full, then OEMCrypto will return the error OEMCrypto_ERROR_INSUFFICIENT_RESOURCES. This is important for the CDM layer to correctly delete old licenses and secure stops when this happens. Several other unit tests covering corner cases have been added. The reference code has been cleaned up a bit. Some logging that might be dangerous has been removed.
This is the OEMCrypto git repository. It is visible to Widevine partners, and contains documentation for OEMCrypto, as well as unit tests and reference code. Several versions of OEMCrypto are available on different branches. This is the only file on the master branch. Please use the git checkout command to work with the correct version of OEMCrypto, for example, to see version 14, use the command "git checkout origin/v14". Use "git branch -a" to see a list of all branches. Contact your Widevine TAM if you are unsure which branch you should use. The latest branch might have documentation without complete unit tests or sample code.
Description