lllv_core/
lib.rs

1#![forbid(unsafe_code)]
2#![cfg_attr(not(feature = "std"), no_std)]
3
4#[cfg(not(feature = "std"))]
5extern crate alloc;
6
7mod capsule;
8mod crypto;
9mod errors;
10mod header;
11mod manifest;
12mod version;
13
14pub use capsule::Capsule;
15pub use crypto::{decrypt_chacha20poly1305, encrypt_chacha20poly1305};
16pub use errors::LllvError;
17pub use header::{CapsuleFlags, CapsuleHeader};
18pub use manifest::{seal_manifest, CapsuleManifest};
19pub use version::{CAP_MAGIC, CAP_VER, HEADER_LEN};
20
21#[cfg_attr(docsrs, doc = include_str!("../README.md"))]
22const _: &str = "";