From c35d8ecfd441d21cdea620d15f55f6e2c0b7f5d4 Mon Sep 17 00:00:00 2001 From: jsteube Date: Thu, 17 Nov 2022 11:31:35 +0000 Subject: [PATCH] Update hash category for hash-mode 170xx --- src/modules/module_17010.c | 2 +- src/modules/module_17020.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/module_17010.c b/src/modules/module_17010.c index 1af405223..ede464576 100644 --- a/src/modules/module_17010.c +++ b/src/modules/module_17010.c @@ -16,7 +16,7 @@ static const u32 DGST_POS1 = 1; static const u32 DGST_POS2 = 2; static const u32 DGST_POS3 = 3; static const u32 DGST_SIZE = DGST_SIZE_4_4; -static const u32 HASH_CATEGORY = HASH_CATEGORY_RAW_HASH; +static const u32 HASH_CATEGORY = HASH_CATEGORY_PRIVATE_KEY; static const char *HASH_NAME = "GPG (AES-128/AES-256 (SHA-1($pass)))"; static const u64 KERN_TYPE = 17010; static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE; diff --git a/src/modules/module_17020.c b/src/modules/module_17020.c index 05bcccbcf..4ce8e21ea 100644 --- a/src/modules/module_17020.c +++ b/src/modules/module_17020.c @@ -16,7 +16,7 @@ static const u32 DGST_POS1 = 1; static const u32 DGST_POS2 = 2; static const u32 DGST_POS3 = 3; static const u32 DGST_SIZE = DGST_SIZE_4_4; -static const u32 HASH_CATEGORY = HASH_CATEGORY_RAW_HASH; +static const u32 HASH_CATEGORY = HASH_CATEGORY_PRIVATE_KEY; static const char *HASH_NAME = "GPG (AES-128/AES-256 (SHA-512($pass)))"; static const u64 KERN_TYPE = 17020; static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE;