Skip to main content

reallyme_crypto/operations/
family.rs

1// SPDX-FileCopyrightText: Copyright © 2026 ReallyMe LLC. All rights reserved
2//
3// SPDX-License-Identifier: Apache-2.0
4
5/// Operation families that will each receive one semantic implementation path.
6#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
7#[non_exhaustive]
8pub enum OperationFamily {
9    /// Hash digest operations.
10    Hash,
11    /// Constant-time comparison operations.
12    ConstantTime,
13    /// Message authentication code operations.
14    Mac,
15    /// Authenticated encryption operations.
16    Aead,
17    /// AES Key Wrap operations.
18    KeyWrap,
19    /// Key derivation operations.
20    Kdf,
21    /// Signature key management, signing, and verification operations.
22    Signature,
23    /// Raw key-agreement operations.
24    KeyAgreement,
25    /// Key encapsulation operations.
26    Kem,
27    /// HPKE seal/open protocol operations.
28    Hpke,
29    /// Hardware-backed platform-key lifecycle and use operations.
30    PlatformKey,
31}