Skip to main content

Module shell

Module shell 

Source
Expand description

Fused shell primitives and whole-monolith protect/open flows for Voided v3.

Structs§

FusedShellEnvelope
Serialized fused shell envelope.
FusedShellInfo
Lightweight fused shell metadata available without a key.
FusedShellOptions
Fused shell primitive options.
ProtectOptions
Protect/open pipeline options.
ProtectResult
Result of a protect or repack operation.
ProtectedArtifactInfo
Keyless metadata for a Voided v3 monolith protected artifact.

Enums§

FusedPreset
Stable fused preset ids.

Constants§

DEFAULT_CHUNK_SIZE
Default fused shell chunk size in bytes.
FUSED_SHELL_MAGIC
Fused shell envelope magic bytes.
FUSED_SHELL_VERSION
Fused shell envelope version.
PROTECTED_ARTIFACT_MAGIC
Protected artifact magic bytes.
PROTECTED_ARTIFACT_VERSION
Protected artifact version.
SHELL_NONCE_SIZE
Shell nonce size in bytes.
SHELL_TAG_SIZE
Truncated outer shell tag size in bytes.

Functions§

compute_shell_tag
Compute a truncated outer tag for shell payloads.
derive_chunk_seed
Derive a per-chunk shell seed from the shell key, nonce, chunk index, and purpose.
derive_domain_bytes
Derive arbitrary bytes for a shell-related domain.
derive_domain_key
Derive a 256-bit domain key for shell-related operations.
fuse
Apply the fused shell primitive to arbitrary bytes.
fuse_bytes
Serialize a fused shell envelope directly.
inspect_artifact
Inspect a current Voided v3 artifact without decrypting it.
inspect_fused
Inspect a serialized fused shell envelope without a key.
inspect_rotation_artifact
Inspect either the current v3 artifact or an explicit legacy VOF2 rotation artifact.
open
Open a serialized Voided v3 whole-monolith artifact.
open_rotation_artifact
Open either the current v3 artifact or an explicit legacy VOF2 rotation artifact.
protect
Run the Voided v3 whole-monolith full flow.
repack_artifact
Repack a current v3 monolith artifact under a new full-flow configuration.
unfuse
Invert the fused shell primitive.
unfuse_bytes
Parse and invert a serialized fused shell envelope.
verify_shell_tag
Verify a truncated shell tag in constant time.