Implement G23 Extended Cauchy construction for AES RAID mode

This commit is contained in:
Andrea Mazzoleni 2026-08-21 19:40:48 +02:00
parent b5d7474c3b
commit 1b5c926936
22 changed files with 10924 additions and 6047 deletions

View file

@ -41,7 +41,7 @@ int raid_test_gfaffine(void);
/**
* Tests the Galois field and Cauchy matrix properties.
*
* Verifies the expected polynomial and primitive generator and basic
* Verifies the expected polynomial and matrix construction and basic
* properties of the Extended Cauchy matrix for the specified RAID mode.
*
* Returns 0 on success.
@ -60,6 +60,14 @@ int raid_test_poly(unsigned mode);
*/
int raid_test_rec(unsigned mode, int nd, size_t size);
/**
* Tests AES P/Q double-disk recovery for failures within one G23 coset,
* across a G23 boundary, and across multiple cosets.
*
* Returns 0 on success.
*/
int raid_test_rec2_g23(size_t size);
/**
* Tests recovering functions on the tail data disks.
*