From 1c0c9cbf71df38ff373208ed9e425ea723b348e5 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Thu, 2 Oct 2025 20:46:06 +0100 Subject: [PATCH] Remove legacy Crc64Context structure for improved code clarity --- include/aaruformat/context.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/aaruformat/context.h b/include/aaruformat/context.h index 0ce0db2..1aea459 100644 --- a/include/aaruformat/context.h +++ b/include/aaruformat/context.h @@ -72,18 +72,6 @@ #define SHA256_DIGEST_LENGTH 32 #endif -/** \struct Crc64Context - * \brief Internal (legacy) CRC64 computation context (superseded by crt \ref crc64_ctx usage). - * - * Kept for compatibility with earlier code paths; new code should prefer the opaque crc64_ctx API. - */ -typedef struct Crc64Context -{ - uint64_t finalSeed; ///< Final CRC value (post processing) or running seed. - uint64_t table[256]; ///< Precomputed 256-entry lookup table for the ECMA polynomial. - uint64_t hashInt; ///< Intermediate accumulator. -} Crc64Context; - /** \struct CdEccContext * \brief Lookup tables and state for Compact Disc EDC/ECC (P/Q) regeneration / verification. *