Trait rsa_cortex_m4::padding::EncryptionPadding [−][src]
Padding usable for encryption and decryption.
Padding usable for encryption and decryption.
fn pad(msg: &[u8], rng: impl CryptoRng + RngCore) -> Result<Long<D>>
[src]fn unpad(padded: &Long<D>) -> Result<Unpadded<D>>
[src]impl<H: Digest, const D: usize> EncryptionPadding<D> for Oaep<H>
[src]fn pad(msg: &[u8], rng: impl CryptoRng + RngCore) -> Result<Long<D>>
[src]fn unpad(padded: &Long<D>) -> Result<Unpadded<D>>
[src]impl<H: Digest, const D: usize> EncryptionPadding<D> for Pkcs1<H>
[src]