Commit Graph

378 Commits

Author SHA1 Message Date
3d19a59bbd Enhance documentation in close.c for checksum and tracks block writing, alignment strategy, deduplication cleanup, feature flags, index CRC, error propagation, and resource ownership 2025-10-03 14:21:04 +01:00
ad200c1537 Implement tracks block writing in close.c with alignment and index management 2025-10-03 13:44:59 +01:00
7d7a546ede Enhance aaruf_set_tracks function to manage data tracks with memory allocation and error handling 2025-10-03 13:39:57 +01:00
c049185185 Add function to set tracks for AaruFormat image context with validation and memory management 2025-10-03 13:32:55 +01:00
32dd752519 Add function to set tracks for AaruFormat image context with validation and memory management 2025-10-03 13:29:46 +01:00
c0934b339d Update documentation for aaruf_get_tracks function with conceptual usage example 2025-10-03 13:29:25 +01:00
5d91319070 Add function to retrieve track descriptors from AaruFormat image 2025-10-03 13:10:02 +01:00
506b153930 Add support for on-the-fly BLAKE3 checksum calculation 2025-10-03 04:01:30 +01:00
5a8a8c630f Add BLAKE3 cryptographic hash function integration 2025-10-03 03:46:55 +01:00
6ebf65d36d Add on-the-fly SpamSum calculation support 2025-10-03 03:45:20 +01:00
79ac2e380c Add SHA-256 checksum calculation support 2025-10-03 02:03:39 +01:00
1e569c68a1 Add SHA-1 checksum calculation support 2025-10-03 01:49:44 +01:00
59addd3efc Implement on-the-fly MD5 checksum calculation 2025-10-03 00:57:14 +01:00
9e128a0ab8 Add rewind tracking to aaruformatContext and initialize in create.c 2025-10-03 00:17:16 +01:00
ba853e23b6 Add checksum writing functionality to close.c 2025-10-02 23:59:10 +01:00
8f6c600c32 Enhance MD5 implementation with performance optimizations and intrinsics support 2025-10-02 23:34:33 +01:00
a9d4448c46 Update CMakeLists.txt to include OpenSSL include directories and check for SHA256_Init function 2025-10-02 22:17:44 +01:00
b83cf6e762 Update CMakeLists.txt to use PRIVATE visibility for linked libraries 2025-10-02 22:17:25 +01:00
ddce275655 Update CMakeLists.txt to include additional directories for dependencies 2025-10-02 22:16:58 +01:00
e77cce7a7f Update CMakeLists.txt to require CMake version 3.13 and set policy for compatibility 2025-10-02 22:16:27 +01:00
8f9abf7288 Add MD5 implementation and integrate with existing codebase 2025-10-02 22:16:02 +01:00
1c0c9cbf71 Remove legacy Crc64Context structure for improved code clarity 2025-10-02 20:46:06 +01:00
86348f85a9 Remove unused CRC64 constants from consts.h 2025-10-02 20:45:47 +01:00
87db877873 Implement bounds checking for sector addresses in read/write functions 2025-10-02 17:29:13 +01:00
a8f39093bb Add support for negative sector addresses in read/write functions 2025-10-02 17:07:17 +01:00
5c7610c1c0 Use heuristics to setup table shift. 2025-10-02 04:40:16 +01:00
05491bd935 Fix overflow detection when setting single level DDT v2. 2025-10-02 04:38:09 +01:00
d92b4b2987 Fix setting single level DDT v2. 2025-10-02 04:37:32 +01:00
fe57dc726f Add missing log.h include for logging functionality in crc64_vmull.c 2025-10-02 03:44:00 +01:00
41aee42c53 Enhance documentation for various structures with detailed descriptions and formatting improvements 2025-10-01 05:35:39 +01:00
1f91ad1e08 Enhance documentation for enums with detailed descriptions and formatting improvements 2025-10-01 03:08:21 +01:00
641cb9824b Refactor include guards for consistency across header files 2025-10-01 02:55:59 +01:00
4403cf267f Refactor variable declarations and expressions for improved readability and consistency across multiple source files 2025-10-01 02:54:51 +01:00
a1b3b5db92 Refactor variable declarations for improved clarity and consistency in multiple source files 2025-10-01 02:39:37 +01:00
a7434322ea Add const qualifiers to function parameters and local variables for improved type safety 2025-10-01 02:34:42 +01:00
f1811e6b3c Refactor variable declarations for improved scope and clarity in multiple source files 2025-10-01 01:32:30 +01:00
bf24a8da3a Reorder include statements for consistency in main.c and usage.c 2025-10-01 01:24:07 +01:00
15ec8c6584 Fix variable naming for header write operation in close.c 2025-10-01 01:23:57 +01:00
c653aca52c Initialize DDT header using aggregate initialization for clarity 2025-10-01 00:53:10 +01:00
8542d18ef1 Refactor test fixture classes to use non-const pointers and modern C++ initialization 2025-10-01 00:52:46 +01:00
75c7ebfefd Enhance DDT entry functions to support existing entries and improve deduplication logic 2025-09-30 20:45:30 +01:00
43c06775f0 Update return types in DDT functions to improve error handling 2025-09-30 20:10:55 +01:00
f6ed0f1856 Add hash map implementation for sector deduplication 2025-09-30 20:10:40 +01:00
88816c37fd Add xxHash submodule and CMake integration for fast hashing 2025-09-30 20:04:45 +01:00
f34215f33c Enable readability check for braces around statements in .clang-tidy 2025-09-30 18:49:58 +01:00
d0f7bd7127 Fix error codes in errors.h to use parentheses for consistency 2025-09-30 18:48:49 +01:00
495a5bc55a Add error code for DDT entry setting failure and update related functions to return status 2025-09-30 18:47:38 +01:00
ae402f2fd1 Add OpenSSL and LibreSSL support for tests using crypto functions 2025-09-30 16:16:53 +01:00
d5d2bb100f Enhance documentation for various functions 2025-09-30 16:03:34 +01:00
bebdbee136 Refactor variable names for consistency in read.c 2025-09-30 15:21:53 +01:00