crypto namespace
Classes
- class CryptoControlCommands
- Control adapter for device identity and trusted-key management.
- struct DeviceKeyPair
- Device identity key pair used for control-interface signatures.
- class DeviceKeyStore
- Persistent device key store.
- class DeviceRandomSource
- Platform device random source backed by HAL entropy implementation.
- class Ed25519
- Ed25519 helper facade over Monocypher.
- class IBootstrapService
- Bootstrap-mode state published to crypto control commands.
- class IKeyService
- Crypto-backed key service used by control interface.
- class IRandomSource
- Entropy source abstraction used for key generation.
- class KeyringStore
- Persistent keyring store backed by config filesystem backend.
- class KeyService
- Default key service implementation used by control interface.
- struct TrustedKeyRecord
Enums
Typedefs
- using Ed25519PublicKey = std::array<uint8_t, kEd25519PublicKeySize>
- using Ed25519SecretKey = std::array<uint8_t, kEd25519SecretKeySize>
- using Ed25519Seed = std::array<uint8_t, kEd25519SeedSize>
- using Ed25519Signature = std::array<uint8_t, kEd25519SignatureSize>
- using KeyId = std::array<uint8_t, kKeyIdSize>
Functions
- auto has_flag(const KeyFlags value, const KeyFlags flag) -> bool constexpr
- auto operator&(const KeyFlags lhs, const KeyFlags rhs) -> KeyFlags constexpr
- auto operator&=(KeyFlags& lhs, const KeyFlags rhs) -> KeyFlags& constexpr
- auto operator|(const KeyFlags lhs, const KeyFlags rhs) -> KeyFlags constexpr
- auto operator|=(KeyFlags& lhs, const KeyFlags rhs) -> KeyFlags& constexpr
- auto operator~(const KeyFlags value) -> KeyFlags constexpr
Variables
- size_t kEd25519PublicKeySize constexpr
- Ed25519 public key size in bytes.
- size_t kEd25519SecretKeySize constexpr
- Ed25519 expanded secret key size in bytes.
- size_t kEd25519SeedSize constexpr
- Ed25519 seed size in bytes.
- size_t kEd25519SignatureSize constexpr
- Ed25519 detached signature size in bytes.
- size_t kKeyIdSize constexpr
- BLAKE2b-128 key fingerprint size in bytes.
Enum documentation
enum class prf:: crypto:: KeyFlags: uint32_t
#include <crypto/types.hpp>
Bitmask flags attached to one stored public key entry.
Typedef documentation
using prf:: crypto:: Ed25519PublicKey = std::array<uint8_t, kEd25519PublicKeySize>
#include <crypto/types.hpp>
using prf:: crypto:: Ed25519SecretKey = std::array<uint8_t, kEd25519SecretKeySize>
#include <crypto/types.hpp>
using prf:: crypto:: Ed25519Seed = std::array<uint8_t, kEd25519SeedSize>
#include <crypto/types.hpp>
using prf:: crypto:: Ed25519Signature = std::array<uint8_t, kEd25519SignatureSize>
#include <crypto/types.hpp>
using prf:: crypto:: KeyId = std::array<uint8_t, kKeyIdSize>
#include <crypto/types.hpp>
Function documentation
bool prf:: crypto:: has_flag(const KeyFlags value,
const KeyFlags flag) constexpr
#include <crypto/types.hpp>
KeyFlags prf:: crypto:: operator&(const KeyFlags lhs,
const KeyFlags rhs) constexpr
#include <crypto/types.hpp>
KeyFlags& prf:: crypto:: operator&=(KeyFlags& lhs,
const KeyFlags rhs) constexpr
#include <crypto/types.hpp>
KeyFlags prf:: crypto:: operator|(const KeyFlags lhs,
const KeyFlags rhs) constexpr
#include <crypto/types.hpp>
KeyFlags& prf:: crypto:: operator|=(KeyFlags& lhs,
const KeyFlags rhs) constexpr
#include <crypto/types.hpp>
KeyFlags prf:: crypto:: operator~(const KeyFlags value) constexpr
#include <crypto/types.hpp>
Variable documentation
size_t prf:: crypto:: kEd25519PublicKeySize constexpr
#include <crypto/types.hpp>
Ed25519 public key size in bytes.
size_t prf:: crypto:: kEd25519SecretKeySize constexpr
#include <crypto/types.hpp>
Ed25519 expanded secret key size in bytes.
size_t prf:: crypto:: kEd25519SeedSize constexpr
#include <crypto/types.hpp>
Ed25519 seed size in bytes.
size_t prf:: crypto:: kEd25519SignatureSize constexpr
#include <crypto/types.hpp>
Ed25519 detached signature size in bytes.
size_t prf:: crypto:: kKeyIdSize constexpr
#include <crypto/types.hpp>
BLAKE2b-128 key fingerprint size in bytes.