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

@ -29,16 +29,6 @@ static __always_inline uint8_t inv(uint8_t v)
return raid_gfinv[v];
}
/*
* GF generator^a for the active Cauchy matrix.
*/
static __always_inline uint8_t powgen(int v)
{
BUG_ON(v < 0 || v > 254); /* invalid exponent */
return raid_gfexp[v];
}
/*
* Gets the multiplication table for a specified value.
*/