mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-21 23:46:27 -05:00
Use primitive generator 3 for AES Cauchy mode
This commit is contained in:
parent
f855bf4d82
commit
b5d507fbe9
21 changed files with 7444 additions and 5791 deletions
|
|
@ -30,9 +30,9 @@ static __always_inline uint8_t inv(uint8_t v)
|
|||
}
|
||||
|
||||
/*
|
||||
* GF 2^a.
|
||||
* GF generator^a for the active Cauchy matrix.
|
||||
*/
|
||||
static __always_inline uint8_t pow2(int v)
|
||||
static __always_inline uint8_t powgen(int v)
|
||||
{
|
||||
BUG_ON(v < 0 || v > 254); /* invalid exponent */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue