Add extra RSA private keys to unit tests
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 commit is contained in:
1054
oemcrypto/test/oec_extra_test_keys.h
Normal file
1054
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