De-TrueCrypt'ization: Phase 1.

This commit is contained in:
OBattler
2026-01-18 07:53:50 +01:00
parent 246b16e098
commit 38b6712eca
24 changed files with 164 additions and 1330 deletions

View File

@@ -1,8 +1,9 @@
#ifndef MDS_H
#define MDS_H
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "defines.h"
@@ -20,8 +21,6 @@ typedef struct Decoder_t
int ctr;
} Decoder;
enum TRACK_TYPE
{
TRK_T_MAINTENANCE = 0,
@@ -140,7 +139,7 @@ typedef struct __attribute__((packed))
// decode.c
void DecryptBlock(u8 *buf, TC_LARGEST_COMPILER_UINT len, u32 secSz, u64 secN, u8 flags, PCRYPTO_INFO cryptoInfo);
void DecryptBlock(u8 *buf, uint64_t len, u32 secSz, u64 secN, u8 flags, PCRYPTO_INFO cryptoInfo);
int decode1(u8 *data, const char *pass, PCRYPTO_INFO *ci);