Re-exports§
pub use kdf::derive_key;
Modules§
Structs§
- Luks2Af
- Luks2
Config - Luks2
Header - Luks2
Metadata - Luks2
U64 - A 64-bit unsigned integer that is represented as a decimal string in JSON.
- Luks
Uuid - A LUKS device UUID.
Enums§
- Luks2
AfType - Luks2
Area - Luks2
Area Encryption - Luks2
Digest - Luks2
Kdf - Luks2
KeySize - Luks2
Keyslot - Luks2
Keyslot Priority - The priority of a LUKS2 keyslot.
- Luks2
Reencrypt Direction - Luks2
Reencrypt Mode - Luks2
Segment - Luks2
Segment Size - Luks2
Token - Luks
Error - Luks
Header
Constants§
- HASH_
SHA256 - SHA-256 hash algorithm identifier.
- HASH_
SHA512 - SHA-512 hash algorithm identifier.
- LUKS1_
AF_ STRIPES - The number of anti-forensic stripes used by the LUKS1 AF feature.
- LUKS2_
BINARY_ HEADER_ SIZE - The size of the LUKS2 binary header area in bytes.
- LUKS2_
CHECKSUM_ ALG_ SIZE - Size of the LUKS2 checksum algorithm field in bytes.
- LUKS2_
CHECKSUM_ OFFSET - The offset in bytes where the LUKS2 checksum field begins.
- LUKS2_
CHECKSUM_ SIZE - Size of the LUKS2 checksum field in bytes.
- LUKS2_
LABEL_ SIZE - Size of the LUKS2 label field in bytes.
- LUKS2_
SALT_ SIZE - Size of the LUKS2 salt field in bytes.
- LUKS2_
SUBSYSTEM_ SIZE - Size of the LUKS2 subsystem field in bytes.
- LUKS2_
UUID_ SIZE - Size of the LUKS2 uuid field in bytes.
- LUKS_
MAGIC - The magic signature for LUKS devices: “LUKS\xBA\xBE”.
- LUKS_
MAGIC_ SIZE - Size of the LUKS magic signature in bytes.
- LUKS_
VERSION_ SIZE - Size of the LUKS version field in bytes.
- SECTOR_
SIZE - The standard sector size in bytes.
- SHA256_
DIGEST_ SIZE - The size of a SHA-256 digest in bytes.
- SHA512_
DIGEST_ SIZE - The size of a SHA-512 digest in bytes.