mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Integritysetup manual correction (key size).
Also mention key size in header struct doc.
This commit is contained in:
committed by
Milan Broz
parent
4a4faa5d46
commit
956ea10f56
@@ -454,15 +454,15 @@ struct crypt_params_integrity {
|
||||
uint32_t sector_size; /**< sector size in bytes */
|
||||
uint32_t buffer_sectors; /**< number of sectors in one buffer */
|
||||
const char *integrity; /**< integrity algorithm, NULL for LUKS2 */
|
||||
uint32_t integrity_key_size; /**< integrity key size, info only, 0 for LUKS2 */
|
||||
uint32_t integrity_key_size; /**< integrity key size in bytes, info only, 0 for LUKS2 */
|
||||
|
||||
const char *journal_integrity; /**< journal integrity algorithm */
|
||||
const char *journal_integrity_key; /**< journal integrity key, only for crypt_load */
|
||||
uint32_t journal_integrity_key_size; /**< journal integrity key size, only for crypt_load */
|
||||
uint32_t journal_integrity_key_size; /**< journal integrity key size in bytes, only for crypt_load */
|
||||
|
||||
const char *journal_crypt; /**< journal encryption algorithm */
|
||||
const char *journal_crypt_key; /**< journal crypt key, only for crypt_load */
|
||||
uint32_t journal_crypt_key_size; /**< journal crypt key size, only for crypt_load */
|
||||
uint32_t journal_crypt_key_size; /**< journal crypt key size in bytes, only for crypt_load */
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -106,7 +106,7 @@ The integrity algorithm can be CRC (crc32c/crc32) or hash function (sha1, sha256
|
||||
|
||||
For HMAC (hmac-sha256) you have also to specify an integrity key and its size.
|
||||
.TP
|
||||
.B "\-\-integrity\-key\-size BITS"
|
||||
.B "\-\-integrity\-key\-size BYTES"
|
||||
The size of the data integrity key.
|
||||
.TP
|
||||
.B "\-\-integrity\-key\-file FILE"
|
||||
@@ -131,7 +131,7 @@ these options are internally used in authenticated disk encryption with \fBcrypt
|
||||
Integrity algorithm for journal area.
|
||||
See \-\-integrity option for detailed specification.
|
||||
.TP
|
||||
.B "\-\-journal\-integrity\-key\-size BITS"
|
||||
.B "\-\-journal\-integrity\-key\-size BYTES"
|
||||
The size of the journal integrity key.
|
||||
.TP
|
||||
.B "\-\-journal\-integrity\-key\-file FILE"
|
||||
@@ -142,7 +142,7 @@ Encryption algorithm for journal data area.
|
||||
You can use a block cipher here such as cbc(aes) or
|
||||
a stream cipher, for example, chacha20 or ctr(aes).
|
||||
.TP
|
||||
.B "\-\-journal\-crypt\-key\-size BITS"
|
||||
.B "\-\-journal\-crypt\-key\-size BYTES"
|
||||
The size of the journal encryption key.
|
||||
.TP
|
||||
.B "\-\-journal\-crypt\-key\-file FILE"
|
||||
|
||||
Reference in New Issue
Block a user