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:
Fred Gylys-Colwell
2021-08-05 03:13:50 +00:00
parent 9ed08c10b8
commit 8aeb9e81a0
2 changed files with 1120 additions and 35 deletions

File diff suppressed because it is too large Load Diff