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
40
41
42
//! Safe public API over the Phase 3 CGv2 envelope protocol.
//!
//! This module exposes the small safe surface from the redesign plan:
//! typed `Encryptor` / `Decryptor` entry points with staged builders and no
//! manual nonce handling in the default flow.
//!
//! It additionally exposes the HPKE-style (RFC 9180) single-shot [`seal`] /
//! [`open`] functions (see [`hpke`]), which mirror `SealBase` / `OpenBase` over
//! the same envelope path while binding caller-supplied `info` and `aad`.
use crate;
pub use ;
pub use ;
// HPKE-style single-shot entry points. `src/lib.rs` is owned by another agent;
// once it adds `pub use api::{seal as hpke_seal, open as hpke_open};` these
// become crate-root accessible. Until then they are reachable as
// `crypt_guard::api::{seal, open}` and `crypt_guard::api::hpke::{seal, open}`.
pub use ;
/// Marker trait for algorithms allowed in the safe default API.
///
/// Only authenticated AEAD markers are supported here. Non-AEAD and legacy cipher
/// markers remain available through the lower-level APIs.