commit | 409766d2183f78fa152e1555eb1197778b6278a1 | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@chromium.org> | Fri Jun 20 12:00:00 2014 -0700 |
committer | Adam Langley <agl@chromium.org> | Fri Jun 20 13:17:35 2014 -0700 |
tree | 810fc1f311517554aa220e84856f64abe7c896b5 | |
parent | 88dfe26ff8f2fac0c615f9f36070a3b11954ce52 [diff] |
Add function to recover RSA CRT params. Some RSA private keys are specified with only n, e and d. Although we can use these keys directly, it's nice to have a uniform representation that includes the precomputed CRT values. This change adds a function that can recover the primes from a minimal private key of that form.