rsa_heapless 0.2.0

Pure Rust RSA implementation - heapless fork
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! RSA-related trait definitions.

mod encryption;
pub(crate) mod keys;
pub(crate) mod modular;
mod padding;

pub use encryption::{Decryptor, EncryptingKeypair, RandomizedDecryptor, RandomizedEncryptor};
#[cfg(not(feature = "private-key"))]
pub use keys::PublicKeyParts;
#[cfg(feature = "private-key")]
pub use keys::{PrivateKeyParts, PublicKeyParts};
pub use modular::{FixedWidthUnsignedInt, IntegerResize, NonZero, Odd, UnsignedModularInt};
pub use padding::{PaddingScheme, SignatureScheme};