From 5898ae9fa30ba5a34e4e1a5de31060e5e71f6ef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konrad=20Go=C5=82awski?= Date: Tue, 7 Jun 2022 23:18:27 +0200 Subject: [PATCH] Added legacy suffix to old TrueCrypt modules --- docs/changes.txt | 1 + src/modules/module_06211.c | 2 +- src/modules/module_06212.c | 2 +- src/modules/module_06213.c | 2 +- src/modules/module_06221.c | 2 +- src/modules/module_06222.c | 2 +- src/modules/module_06223.c | 2 +- src/modules/module_06231.c | 2 +- src/modules/module_06232.c | 2 +- src/modules/module_06233.c | 2 +- src/modules/module_06241.c | 2 +- src/modules/module_06242.c | 2 +- src/modules/module_06243.c | 2 +- 13 files changed, 13 insertions(+), 12 deletions(-) diff --git a/docs/changes.txt b/docs/changes.txt index 49c1d7baf..1c32c8551 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -111,6 +111,7 @@ - User Options: Add new module function module_hash_decode_postprocess() to override hash specific configurations from command line - User Options: Change --backend-info/-I option type, from bool to uint - Modules: New TrueCrypt modules (29311-29343) which do not use `module_hash_binary_parse` to get data from containers anymore (use new tool `tools/truecrypt2hashcat.py`). +- Modules: Added suffix *legacy* to old TrueCrypt modules (06211-06243). - Modules: New VeraCrypt modules (29411-29483) which do not use `module_hash_binary_parse` to get data from containers anymore (use new tool `tools/veracrypt2hashcat.py`). - Modules: Added suffix *legacy* to old VeraCrypt modules (13711-13783). - Terminal: Increased size of hash name column in `--help` and `--identify` options. diff --git a/src/modules/module_06211.c b/src/modules/module_06211.c index eabe0855a..08f3a617d 100644 --- a/src/modules/module_06211.c +++ b/src/modules/module_06211.c @@ -20,7 +20,7 @@ static const u32 DGST_POS2 = 2; static const u32 DGST_POS3 = 3; static const u32 DGST_SIZE = DGST_SIZE_4_32; static const u32 HASH_CATEGORY = HASH_CATEGORY_FDE; -static const char *HASH_NAME = "TrueCrypt RIPEMD160 + XTS 512 bit"; +static const char *HASH_NAME = "TrueCrypt RIPEMD160 + XTS 512 bit (legacy)"; static const u64 KERN_TYPE = 6211; static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE | OPTI_TYPE_SLOW_HASH_SIMD_LOOP; diff --git a/src/modules/module_06212.c b/src/modules/module_06212.c index 04e24cff2..34f365dfd 100644 --- a/src/modules/module_06212.c +++ b/src/modules/module_06212.c @@ -20,7 +20,7 @@ static const u32 DGST_POS2 = 2; static const u32 DGST_POS3 = 3; static const u32 DGST_SIZE = DGST_SIZE_4_32; static const u32 HASH_CATEGORY = HASH_CATEGORY_FDE; -static const char *HASH_NAME = "TrueCrypt RIPEMD160 + XTS 1024 bit"; +static const char *HASH_NAME = "TrueCrypt RIPEMD160 + XTS 1024 bit (legacy)"; static const u64 KERN_TYPE = 6212; static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE | OPTI_TYPE_SLOW_HASH_SIMD_LOOP; diff --git a/src/modules/module_06213.c b/src/modules/module_06213.c index d885a6ea4..762830595 100644 --- a/src/modules/module_06213.c +++ b/src/modules/module_06213.c @@ -20,7 +20,7 @@ static const u32 DGST_POS2 = 2; static const u32 DGST_POS3 = 3; static const u32 DGST_SIZE = DGST_SIZE_4_32; static const u32 HASH_CATEGORY = HASH_CATEGORY_FDE; -static const char *HASH_NAME = "TrueCrypt RIPEMD160 + XTS 1536 bit"; +static const char *HASH_NAME = "TrueCrypt RIPEMD160 + XTS 1536 bit (legacy)"; static const u64 KERN_TYPE = 6213; static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE | OPTI_TYPE_SLOW_HASH_SIMD_LOOP; diff --git a/src/modules/module_06221.c b/src/modules/module_06221.c index e65ce2a46..7d053ca40 100644 --- a/src/modules/module_06221.c +++ b/src/modules/module_06221.c @@ -20,7 +20,7 @@ static const u32 DGST_POS2 = 2; static const u32 DGST_POS3 = 3; static const u32 DGST_SIZE = DGST_SIZE_4_32; static const u32 HASH_CATEGORY = HASH_CATEGORY_FDE; -static const char *HASH_NAME = "TrueCrypt SHA512 + XTS 512 bit"; +static const char *HASH_NAME = "TrueCrypt SHA512 + XTS 512 bit (legacy)"; static const u64 KERN_TYPE = 6221; static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE | OPTI_TYPE_SLOW_HASH_SIMD_LOOP diff --git a/src/modules/module_06222.c b/src/modules/module_06222.c index b46cc7052..303599093 100644 --- a/src/modules/module_06222.c +++ b/src/modules/module_06222.c @@ -20,7 +20,7 @@ static const u32 DGST_POS2 = 2; static const u32 DGST_POS3 = 3; static const u32 DGST_SIZE = DGST_SIZE_4_32; static const u32 HASH_CATEGORY = HASH_CATEGORY_FDE; -static const char *HASH_NAME = "TrueCrypt SHA512 + XTS 1024 bit"; +static const char *HASH_NAME = "TrueCrypt SHA512 + XTS 1024 bit (legacy)"; static const u64 KERN_TYPE = 6222; static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE | OPTI_TYPE_SLOW_HASH_SIMD_LOOP diff --git a/src/modules/module_06223.c b/src/modules/module_06223.c index c2cffa387..492dbba44 100644 --- a/src/modules/module_06223.c +++ b/src/modules/module_06223.c @@ -20,7 +20,7 @@ static const u32 DGST_POS2 = 2; static const u32 DGST_POS3 = 3; static const u32 DGST_SIZE = DGST_SIZE_4_32; static const u32 HASH_CATEGORY = HASH_CATEGORY_FDE; -static const char *HASH_NAME = "TrueCrypt SHA512 + XTS 1536 bit"; +static const char *HASH_NAME = "TrueCrypt SHA512 + XTS 1536 bit (legacy)"; static const u64 KERN_TYPE = 6223; static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE | OPTI_TYPE_SLOW_HASH_SIMD_LOOP diff --git a/src/modules/module_06231.c b/src/modules/module_06231.c index cd1347e02..457e7694a 100644 --- a/src/modules/module_06231.c +++ b/src/modules/module_06231.c @@ -20,7 +20,7 @@ static const u32 DGST_POS2 = 2; static const u32 DGST_POS3 = 3; static const u32 DGST_SIZE = DGST_SIZE_4_32; static const u32 HASH_CATEGORY = HASH_CATEGORY_FDE; -static const char *HASH_NAME = "TrueCrypt Whirlpool + XTS 512 bit"; +static const char *HASH_NAME = "TrueCrypt Whirlpool + XTS 512 bit (legacy)"; static const u64 KERN_TYPE = 6231; static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE | OPTI_TYPE_SLOW_HASH_SIMD_LOOP; diff --git a/src/modules/module_06232.c b/src/modules/module_06232.c index 28e868821..d1ad5467d 100644 --- a/src/modules/module_06232.c +++ b/src/modules/module_06232.c @@ -20,7 +20,7 @@ static const u32 DGST_POS2 = 2; static const u32 DGST_POS3 = 3; static const u32 DGST_SIZE = DGST_SIZE_4_32; static const u32 HASH_CATEGORY = HASH_CATEGORY_FDE; -static const char *HASH_NAME = "TrueCrypt Whirlpool + XTS 1024 bit"; +static const char *HASH_NAME = "TrueCrypt Whirlpool + XTS 1024 bit (legacy)"; static const u64 KERN_TYPE = 6232; static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE | OPTI_TYPE_SLOW_HASH_SIMD_LOOP; diff --git a/src/modules/module_06233.c b/src/modules/module_06233.c index 5810f1b40..f832a6cec 100644 --- a/src/modules/module_06233.c +++ b/src/modules/module_06233.c @@ -20,7 +20,7 @@ static const u32 DGST_POS2 = 2; static const u32 DGST_POS3 = 3; static const u32 DGST_SIZE = DGST_SIZE_4_32; static const u32 HASH_CATEGORY = HASH_CATEGORY_FDE; -static const char *HASH_NAME = "TrueCrypt Whirlpool + XTS 1536 bit"; +static const char *HASH_NAME = "TrueCrypt Whirlpool + XTS 1536 bit (legacy)"; static const u64 KERN_TYPE = 6233; static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE | OPTI_TYPE_SLOW_HASH_SIMD_LOOP; diff --git a/src/modules/module_06241.c b/src/modules/module_06241.c index d3d1753e0..7929b8957 100644 --- a/src/modules/module_06241.c +++ b/src/modules/module_06241.c @@ -20,7 +20,7 @@ static const u32 DGST_POS2 = 2; static const u32 DGST_POS3 = 3; static const u32 DGST_SIZE = DGST_SIZE_4_32; static const u32 HASH_CATEGORY = HASH_CATEGORY_FDE; -static const char *HASH_NAME = "TrueCrypt RIPEMD160 + XTS 512 bit + boot-mode"; +static const char *HASH_NAME = "TrueCrypt RIPEMD160 + XTS 512 bit + boot-mode (legacy)"; static const u64 KERN_TYPE = 6211; static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE | OPTI_TYPE_SLOW_HASH_SIMD_LOOP; diff --git a/src/modules/module_06242.c b/src/modules/module_06242.c index 80e43fc01..977dcc745 100644 --- a/src/modules/module_06242.c +++ b/src/modules/module_06242.c @@ -20,7 +20,7 @@ static const u32 DGST_POS2 = 2; static const u32 DGST_POS3 = 3; static const u32 DGST_SIZE = DGST_SIZE_4_32; static const u32 HASH_CATEGORY = HASH_CATEGORY_FDE; -static const char *HASH_NAME = "TrueCrypt RIPEMD160 + XTS 1024 bit + boot-mode"; +static const char *HASH_NAME = "TrueCrypt RIPEMD160 + XTS 1024 bit + boot-mode (legacy)"; static const u64 KERN_TYPE = 6212; static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE | OPTI_TYPE_SLOW_HASH_SIMD_LOOP; diff --git a/src/modules/module_06243.c b/src/modules/module_06243.c index 9e5d048c5..f002c0286 100644 --- a/src/modules/module_06243.c +++ b/src/modules/module_06243.c @@ -20,7 +20,7 @@ static const u32 DGST_POS2 = 2; static const u32 DGST_POS3 = 3; static const u32 DGST_SIZE = DGST_SIZE_4_32; static const u32 HASH_CATEGORY = HASH_CATEGORY_FDE; -static const char *HASH_NAME = "TrueCrypt RIPEMD160 + XTS 1536 bit + boot-mode"; +static const char *HASH_NAME = "TrueCrypt RIPEMD160 + XTS 1536 bit + boot-mode (legacy)"; static const u64 KERN_TYPE = 6213; static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE | OPTI_TYPE_SLOW_HASH_SIMD_LOOP;