8aeb9e81a0c904e4c9e34bb756fec95b75a10fab
There have been some failures with various RSA private keys. We add them to the unit tests to make sure that OEMCrypto is able to load these types of keys: * Shorter than normal private exponents. This seems to occur occasionally even with Euler totients. But it occurs more with Carmichael totients. * 0-leading-byte private exponents. This also occurs naturally for both Euler and Carmichael totients. * Carmichael vs Euler totients. I think we may already have tests for this. But just in case. Bug: 190450051
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