<PackageReference Include="BouncyCastle.Cryptography" Version="2.6.2" />

GF

interface GF
ushort GFFrac(ushort den, ushort num)

ushort GFInv(ushort input)

ushort GFIsZero(ushort a)

ushort GFMul(ushort left, ushort right)

uint GFMulExt(ushort left, ushort right)

void GFMulPoly(int length, int[] poly, ushort[] output, ushort[] left, ushort[] right, uint[] temp)

ushort GFReduce(uint input)

ushort GFSq(ushort input)

uint GFSqExt(ushort input)

void GFSqrPoly(int length, int[] poly, ushort[] output, ushort[] input, uint[] temp)