Add -m 18300 and -m 18100 module

This commit is contained in:
jsteube
2019-01-26 21:50:32 +01:00
parent 91f6d7c32e
commit 68736ff7a1
4 changed files with 497 additions and 287 deletions
-6
View File
@@ -881,8 +881,6 @@ typedef enum kern_type
KERN_TYPE_JWT_HS512 = 16513,
KERN_TYPE_ELECTRUM_WALLET13 = 16600,
KERN_TYPE_ANSIBLE_VAULT = 16900,
KERN_TYPE_TOTP_HMACSHA1 = 18100,
KERN_TYPE_APFS = 18300,
} kern_type_t;
@@ -1104,8 +1102,6 @@ int jwt_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_bu
int electrum_wallet13_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig);
int filevault2_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig);
int ansible_vault_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig);
int totp_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig);
int apfs_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig);
/**
@@ -1125,8 +1121,6 @@ typedef struct tc
} tc_t;
static const u32 KERN_TYPE_TOTP_HMACSHA1 = 18100;
static const u32 KERN_TYPE_LUKS_SHA1_AES = 14611;
static const u32 KERN_TYPE_LUKS_SHA1_SERPENT = 14612;
static const u32 KERN_TYPE_LUKS_SHA1_TWOFISH = 14613;