Expand description
Block Cipher “Magma”
Implemented and tested according to specifications:
- RFC 8891 a.k.a GOST R 34.12-2015
- RFC 5830 a.k.a GOST 28147-89
- Block Cipher Modes: GOST R 34.13-2015
- ECB - Electronic Codebook Mode
- CTR - Counter Encryption Mode
- CTR-ACPKM - Counter Encryption Mode as per RFC8645, P 1323565.1.017— 2018
- OFB - Output Feedback Mode
- CBC - Cipher Block Chaining Mode
- CFB - Cipher Feedback Mode
- MAC - Message Authentication Code Generation Mode
Re-exports§
pub use crate::core::magma::Magma;
pub use crate::core::constants;
pub use stream::magma_stream::MagmaStream;
pub use stream::cipher_operation::CipherOperation;
pub use stream::cipher_mode::CipherMode;
pub use stream::cipher_mode::ecb;
pub use stream::cipher_mode::ctr;
pub use stream::cipher_mode::ctr_acpkm;
pub use stream::cipher_mode::ofb;
pub use stream::cipher_mode::cbc;
pub use stream::cipher_mode::cfb;
pub use stream::cipher_mode::mac;