Dirkjan Ochtman 0f5cfd56fd Use rsa::PositiveInteger for public key parts in verification.
Moves the conversion from untrusted::Input (via slice) to BIGNUM from C to
Rust using the PositiveInteger struct we already use for signing. Adds a
check to error out when encountering a number that starts with zero.

I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2016-09-10 19:11:43 -10:00
..