mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-06-15 00:56:07 -05:00
Add alignment constants for derived key and KEY_INFO buffers to ensure SIMD compatibility. (#1526)
This commit is contained in:
committed by
GitHub
parent
5eb358ca18
commit
0478be3626
@@ -35,6 +35,12 @@ extern "C" {
|
||||
// specifies the minimum program version required to decrypt the system partition/drive
|
||||
#define TC_SYSENC_KEYSCOPE_MIN_REQ_PROG_VERSION 0x010b
|
||||
|
||||
// Required 16-byte alignment for derived key buffers to ensure optimal performance and compatibility with SIMD instructions.
|
||||
#define TC_DERIVED_KEY_BUFFER_ALIGNMENT 16
|
||||
|
||||
// Required 16-byte alignment for KEY_INFO buffer to ensure optimal performance and compatibility with SIMD instructions.
|
||||
#define TC_KEY_INFO_BUFFER_ALIGNMENT 16
|
||||
|
||||
// Current volume format version (created by TrueCrypt 6.0+)
|
||||
#define TC_VOLUME_FORMAT_VERSION 2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user