package
0.12.0
Repository: https://github.com/scionproto/scion.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

DeriveKey derives the following key given an input and a higher-level key, as stated in https://docs.scion.org/en/latest/cryptography/drkey.html#prf-derivation-specification The input buffer is overwritten.
DeriveSV constructs a valid SV.
NewEpoch constructs an Epoch from its uint32 encoded begin and end parts.
No description provided by the author
SerializeHostHostInput serializes the input for deriving a HostHost key, as explained in https://docs.scion.org/en/latest/cryptography/drkey.html#level-derivation.

# Constants

Key types.
Key types.
DRKey protocol types.
Key types.
Key types.
DRKey protocol types.

# Variables

No description provided by the author
No description provided by the author

# Structs

ASHostKey represents a ASHost key.
ASHostMeta represents the associated information for the ASHost key.
Epoch represents a validity period.
HostASKey represents a Host-AS key.
HostASMeta represents the associated information for the HostAS key.
HostHostKey represents a Host-Host DRKey.
HostHostMeta represents the associated information for the HostHostMeta key.
Level1Key represents a level 1 DRKey.
/ Level1Meta contains metadata to obtain a Level1 key.
SecretValue represents a DRKey secret value.
SecretValueMeta represents the information about a DRKey secret value.

# Interfaces

Level1DB is the drkey database interface for level 1.
Level2DB is the drkey database interface for end-host keys.
SecretValueDB is the database for Secret Values.

# Type aliases

Key represents a raw binary key.
keyType represents the different types of keys (host->AS, AS->host, host->host).
Protocol is the 2-byte size protocol identifier.