Versions in this module Expand all Collapse all v0 v0.1.0 Nov 12, 2022 v0.0.1 Nov 10, 2022 Changes in this version + const AnySlot + func AddKey(devicePath string, existingKey, key []byte, options *AddKeyOptions) error + func KillSlot(devicePath string, slot int, key []byte) error + func SetSlotPriority(devicePath string, slot int, priority SlotPriority) error + type AddKeyOptions struct + KDFOptions KDFOptions + Slot int + type KDFOptions struct + ForceIterations int + MemoryKiB int + Parallel int + TargetDuration time.Duration + type SlotPriority int + const SlotPriorityHigh + const SlotPriorityIgnore + const SlotPriorityNormal + func (p SlotPriority) String() string