mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-03 05:10:16 -05:00
Implement G23 Extended Cauchy construction for AES RAID mode
This commit is contained in:
parent
b5d7474c3b
commit
1b5c926936
22 changed files with 10924 additions and 6047 deletions
10
raid/gf.h
10
raid/gf.h
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue