Commit Graph

60 Commits

Author SHA1 Message Date
Fred Gylys-Colwell
4b95763c6a Unit tests and reference code for v15
This CL updates the unit tests and reference code to support OEMCrypto
API v15.
2018-11-14 17:19:35 -08:00
Fred Gylys-Colwell
70e67379ec OEMCrypto v15 API
This CL adds pdf documents for the v15 API.
2018-10-16 16:12:24 -07:00
Fred Gylys-Colwell
1655d891de Updates to ref code and unit tests
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.
2018-09-19 20:32:32 -07:00
Fred Gylys-Colwell
61f02edda4 Refactor
This renames the "mock" code to "reference" because that's really what
it is.  Also, some code has been moved from the CDM repo to a common
utility directory so that it can be included here, and the oemcrypto
unit tests can now be built without having access to a current CDM
repo.

There are no functionality changes in this CL.
2018-05-10 15:28:20 -07:00
Fred Gylys-Colwell
16d9abca4c Update copyright notice and fix entitlement key sizes
This change updates the copyright notice to make it more clear that
the code is distribued under the Widevine Master License Agreement.

It also updates the unit tests and sample code to correct the useage
of AES 256.  AES 256 is used to decrypt entitled content keys, but it
is not used to decrypt key control blocks.
2018-04-18 11:43:47 -07:00
Fred Gylys-Colwell
44e206898d Update entitlement unit tests
This patch updates the entitlement keys in the sample code and in the
unit tests to use AES 256.
2018-02-02 15:37:05 -08:00
Fred Gylys-Colwell
7b71a449d0 OEMCrypto v14 Docs
This has the released version of the OEMCrypto API v14 documentation.

This patch also includes sample code and unit tests.
2018-01-23 09:29:28 -08:00
Fred Gylys-Colwell
b124164fb8 Added .gitignore file. 2017-12-05 17:11:42 -08:00
Fred Gylys-Colwell
81c64b3b78 Initial draft of OEMCrypto v14 Delta doc. 2017-12-05 16:51:20 -08:00
Fred Gylys-Colwell
7e06afc472 Initial Checkin on master branch 2017-12-05 14:14:25 -08:00