| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static int | |
| protected static void | |
| private static int | |
| private static int | |
| protected static void | |
| private static void | |
| private static void | |
| protected static void | |
| private static void | |
| protected static void | |
| protected static void | |
| protected static void | |
| protected static void | |
| protected static void | |
| protected static void | |
| protected static byte[] | |
| protected static int | |
| protected static int | |
| protected static void | |
| protected static void | |
| protected static void | |
| protected static void | |
| protected static int | |
| protected static void | |
| protected static void | |
| private static int[] | |
| protected static void | |
| protected static void | |
| private static int[] | |
| private static int | |
| protected static boolean | |
| pack-priv static long | |
| protected static void | |
| protected static void | |
| protected static void | |
| protected static void | |
| protected static void | |
| protected static void | |
| protected static void | |
| pack-priv static int | |
| pack-priv static int | |
| protected static void | |
| protected static void | |
| protected static void |
| Utils | back to summary |
|---|---|
| pack-priv Utils() | |
| bToUnsignedInt | back to summary |
|---|---|
| pack-priv static int bToUnsignedInt(byte b) | |
| checkForSmallPolynomial | back to summary |
|---|---|
| protected static void checkForSmallPolynomial(byte[] r, byte[] ev, int p, int w) | |
| checkLessThanZero | back to summary |
|---|---|
| private static int checkLessThanZero(int x) | |
| checkNotEqualToZero | back to summary |
|---|---|
| private static int checkNotEqualToZero(int x) | |
| cryptoSort | back to summary |
|---|---|
| protected static void cryptoSort(int[] L, int p) | |
| decode | back to summary |
|---|---|
| private static void decode(short[] out, byte[] S, short[] M, int len, int start, int sIndex) | |
| encode | back to summary |
|---|---|
| private static void encode(byte[] out, short[] R, short[] M, int len, int start) | |
| expand | back to summary |
|---|---|
| protected static void expand(int[] L, byte[] k) | |
| generateAES256CTRStream | back to summary |
|---|---|
| private static void generateAES256CTRStream(byte[] in, byte[] out, byte[] nonce, byte[] key) | |
| generatePolynomialInRQFromSeed | back to summary |
|---|---|
| protected static void generatePolynomialInRQFromSeed(short[] G, byte[] seed, int p, int q) | |
| getDecodedPolynomial | back to summary |
|---|---|
| protected static void getDecodedPolynomial(short[] h, byte[] enc, int p, int q) | |
| getDecodedSmallPolynomial | back to summary |
|---|---|
| protected static void getDecodedSmallPolynomial(byte[] sp, byte[] encSP, int p) | |
| getEncodedInputs | back to summary |
|---|---|
| protected static void getEncodedInputs(byte[] out, byte[] in) | |
| getEncodedPolynomial | back to summary |
|---|---|
| protected static void getEncodedPolynomial(byte[] enc, short[] h, int p, int q) | |
| getEncodedSmallPolynomial | back to summary |
|---|---|
| protected static void getEncodedSmallPolynomial(byte[] encSP, byte[] sp, int p) | |
| getHashWithPrefix | back to summary |
|---|---|
| protected static byte[] getHashWithPrefix(byte[] prefix, byte[] hashInput) | |
| getInverseInRQ | back to summary |
|---|---|
| protected static int getInverseInRQ(int x, int q) | |
| getModFreeze | back to summary |
|---|---|
| protected static int getModFreeze(int x, int n) | |
| getOneThirdInverseInRQ | back to summary |
|---|---|
| protected static void getOneThirdInverseInRQ(short[] finv3, byte[] f, int p, int q) | |
| getRandomInputs | back to summary |
|---|---|
| protected static void getRandomInputs(SecureRandom random, byte[] r) | |
| getRandomShortPolynomial | back to summary |
|---|---|
| protected static void getRandomShortPolynomial(SecureRandom random, byte[] f, int p, int w) | |
| getRandomSmallPolynomial | back to summary |
|---|---|
| protected static void getRandomSmallPolynomial(SecureRandom random, byte[] g) | |
| getRandomUnsignedInteger | back to summary |
|---|---|
| protected static int getRandomUnsignedInteger(SecureRandom random) | |
| getRoundedDecodedPolynomial | back to summary |
|---|---|
| protected static void getRoundedDecodedPolynomial(short[] h, byte[] enc, int p, int q) | |
| getRoundedEncodedPolynomial | back to summary |
|---|---|
| protected static void getRoundedEncodedPolynomial(byte[] out, short[] in, int p, int q) | |
| getSignedDivMod | back to summary |
|---|---|
| private static int[] getSignedDivMod(int x, int n) | |
| getTopDecodedPolynomial | back to summary |
|---|---|
| protected static void getTopDecodedPolynomial(byte[] out, byte[] in) | |
| getTopEncodedPolynomial | back to summary |
|---|---|
| protected static void getTopEncodedPolynomial(byte[] out, byte[] in) | |
| getUnsignedDivMod | back to summary |
|---|---|
| private static int[] getUnsignedDivMod(int dividend, int n) | |
| getUnsignedMod | back to summary |
|---|---|
| private static int getUnsignedMod(int x, int n) | |
| isInvertiblePolynomialInR3 | back to summary |
|---|---|
| protected static boolean isInvertiblePolynomialInR3(byte[] g, byte[] ginv, int p) | |
| iToUnsignedLong | back to summary |
|---|---|
| pack-priv static long iToUnsignedLong(int i) | |
| minmax | back to summary |
|---|---|
| protected static void minmax(int[] L, int x, int y) | |
| multiplicationInR3 | back to summary |
|---|---|
| protected static void multiplicationInR3(byte[] h, byte[] finv3, byte[] g, int p) | |
| multiplicationInRQ | back to summary |
|---|---|
| protected static void multiplicationInRQ(short[] h, short[] finv3, byte[] g, int p, int q) | |
| right | back to summary |
|---|---|
| protected static void right(byte[] out, short[] aB, byte[] T, int q, int w, int tau2, int tau3) | |
| roundPolynomial | back to summary |
|---|---|
| protected static void roundPolynomial(short[] out, short[] in) | |
| scalarMultiplicationInRQ | back to summary |
|---|---|
| protected static void scalarMultiplicationInRQ(short[] out, short[] in, int scalar, int q) | |
| sortGenerateShortPolynomial | back to summary |
|---|---|
| protected static void sortGenerateShortPolynomial(byte[] f, int[] L, int p, int w) | |
| sToUnsignedInt | back to summary |
|---|---|
| pack-priv static int sToUnsignedInt(short s) | |
| toIntExact | back to summary |
|---|---|
| pack-priv static int toIntExact(long l) | |
| top | back to summary |
|---|---|
| protected static void top(byte[] out, short[] bA, byte[] r, int q, int tau0, int tau1) | |
| transformRQToR3 | back to summary |
|---|---|
| protected static void transformRQToR3(byte[] out, short[] in) | |
| updateDiffMask | back to summary |
|---|---|
| protected static void updateDiffMask(byte[] encR, byte[] rho, int mask) | |