@Private
public final class GF256
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static byte[] |
gfBase() |
|
static byte |
gfInv(byte a) |
|
static void |
gfInvertMatrix(byte[] inMatrix,
byte[] outMatrix,
int n) |
Invert a matrix assuming it's invertible.
|
static byte[] |
gfLogBase() |
|
static byte |
gfMul(byte a,
byte b) |
|
static byte[][] |
gfMulTab() |
Get the big GF multiply table so utilize it efficiently.
|
static void |
gfVectMulInit(byte c,
byte[] tbl,
int offset) |
Ported from Intel ISA-L library.
|
public static byte[] gfBase()
public static byte[] gfLogBase()
public static byte[][] gfMulTab()
public static byte gfMul(byte a,
byte b)
public static byte gfInv(byte a)
public static void gfInvertMatrix(byte[] inMatrix,
byte[] outMatrix,
int n)
inMatrix - inMatrix.outMatrix - outMatrix.n - npublic static void gfVectMulInit(byte c,
byte[] tbl,
int offset)
c - c.tbl - tbl.offset - offset.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.