1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
//! Cryptography primitives and operations for aries-askar.
#![no_std]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![deny(missing_docs, missing_debug_implementations, rust_2018_idioms)]
#[cfg(feature = "alloc")]
extern crate alloc;
#[cfg(any(test, feature = "std"))]
#[macro_use]
extern crate std;
#[cfg(test)]
#[macro_use]
extern crate hex_literal;
#[macro_use]
mod error;
pub use self::error::{Error, ErrorKind};
// re-export
pub use aead::generic_array;
pub mod alg;
pub mod buffer;
pub mod encrypt;
pub mod jwk;
pub mod kdf;
pub mod random;
pub mod sign;
pub mod repr;