package
2.0.3
Repository: https://github.com/siderolabs/go-blockdevice.git
Documentation: pkg.go.dev

# Functions

New creates new LUKS2 encryption provider.
ParseCipherKind converts cipher string into cipher type.
ValidatePerfOption checks that specified string is a valid perf option.
WithBlockSize sets block size.
WithIterTime sets iter-time parameter.
WithKeySize sets generated key size.
WithPBKDFForceIterations sets pbkdf-force-iterations parameter.
WithPBKDFMemory sets pbkdf-memory parameter.
WithPerfOptions enables encryption perf options.

# Constants

AESXTSPlain64Cipher represents aes-xts-plain64 encryption cipher.
AESXTSPlain64CipherString string representation of aes-xts-plain64 cipher.
PerfNoReadWorkqueue sets --perf-no_read_workqueue.
PerfNoWriteWorkqueue sets --perf-no_write_workqueue.
PerfSameCPUCrypt sets --perf-same_cpu_crypt.
XChaCha12Cipher represents xchacha12 encryption cipher.
XChaCha12String string representation of xchacha12 cipher.
XChaCha20Cipher represents xchacha20 encryption cipher.
XChaCha20String string representation of xchacha20 cipher.

# Structs

LUKS implements LUKS2 encryption provider.
Token defines LUKS2 token.

# Type aliases

Cipher LUKS2 cipher type.
Option represents luks configuration callback.