logo
This is supported on crate feature expose-internals only.
Expand description

Internal raw RSA functions.

Functions

Returns the blinded c, along with the unblinding factor.

Performs raw RSA decryption with no padding, resulting in a plaintext BigUint. Peforms RSA blinding if an Rng is passed.

Performs RSA decryption, resulting in a plaintext BigUint. Peforms RSA blinding if an Rng is passed. This will also check for errors in the CRT computation.

Raw RSA encryption of m with the public key. No padding is performed.

Returns a new vector of the given length, with 0s left padded.

Given an m and and unblinding factor, unblind the m.