[lib] Fix data size mismatch.

This commit is contained in:
2025-08-01 02:48:16 +01:00
parent af6e384678
commit 2811f41734
5 changed files with 17 additions and 17 deletions

View File

@@ -34,6 +34,19 @@
#define SHA256_DIGEST_LENGTH 32
#endif
typedef struct Crc64Context {
uint64_t finalSeed;
uint64_t table[256];
uint64_t hashInt;
} Crc64Context;
typedef struct CdEccContext {
bool initedEdc;
uint8_t *eccBTable;
uint8_t *eccFTable;
uint32_t *edcTable;
} CdEccContext;
typedef struct Checksums
{
bool hasMd5;
@@ -117,17 +130,4 @@ typedef struct DumpExtent
#pragma pack(pop)
typedef struct Crc64Context {
uint64_t finalSeed;
uint64_t table[256];
uint64_t hashInt;
} Crc64Context;
typedef struct CdEccContext {
bool initedEdc;
uint8_t *eccBTable;
uint8_t *eccFTable;
uint32_t *edcTable;
} CdEccContext;
#endif // LIBAARUFORMAT_CONTEXT_H