RustCrypto / RSA

RSA implementation in pure Rust
Apache License 2.0
550 stars 153 forks source link

Adds `RsaPrivateKey::from_primes` and `RsaPrivateKey::from_p_q` methods #386

Closed baloo closed 11 months ago

baloo commented 11 months ago

This is used on Yubico HSM for import/export under wrap as well as when importing a key unsealed.

tarcieri commented 11 months ago

Couple nits but otherwise this looks fine to me