Use primitive generator 3 for AES Cauchy mode
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run

This commit is contained in:
Andrea Mazzoleni 2026-08-19 01:36:18 +02:00
parent 15831064a1
commit 46f84be082
21 changed files with 6947 additions and 5682 deletions

View file

@ -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 */