Add extra RSA private keys to unit tests
Merge from Widevine repo of http://go/wvgerrit/128047 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 Test: ran unit tests on bonito (and they passed!) Change-Id: Id64ec738479eb8a0f77e253bace319cebe918d3f
This commit is contained in:
1054
libwvdrmengine/oemcrypto/test/oec_extra_test_keys.h
Normal file
1054
libwvdrmengine/oemcrypto/test/oec_extra_test_keys.h
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user