Uses of Interface
org.bouncycastle.pqc.math.ntru.polynomial.TernaryPolynomial
-
Packages that use TernaryPolynomial Package Description org.bouncycastle.pqc.crypto.ntru org.bouncycastle.pqc.math.ntru.polynomial org.bouncycastle.pqc.math.ntru.util -
-
Uses of TernaryPolynomial in org.bouncycastle.pqc.crypto.ntru
Methods in org.bouncycastle.pqc.crypto.ntru with parameters of type TernaryPolynomial Modifier and Type Method Description protected IntegerPolynomial
NTRUEngine. encrypt(IntegerPolynomial m, TernaryPolynomial r, IntegerPolynomial pubKey)
-
Uses of TernaryPolynomial in org.bouncycastle.pqc.math.ntru.polynomial
Classes in org.bouncycastle.pqc.math.ntru.polynomial that implement TernaryPolynomial Modifier and Type Class Description class
DenseTernaryPolynomial
ATernaryPolynomial
with a "high" number of nonzero coefficients.class
SparseTernaryPolynomial
ATernaryPolynomial
with a "low" number of nonzero coefficients.Methods in org.bouncycastle.pqc.math.ntru.polynomial with parameters of type TernaryPolynomial Modifier and Type Method Description LongPolynomial5
LongPolynomial5. mult(TernaryPolynomial poly2)
Multiplies the polynomial with aTernaryPolynomial
, taking the indices mod N and the values mod 2048. -
Uses of TernaryPolynomial in org.bouncycastle.pqc.math.ntru.util
Methods in org.bouncycastle.pqc.math.ntru.util that return TernaryPolynomial Modifier and Type Method Description static TernaryPolynomial
Util. generateRandomTernary(int N, int numOnes, int numNegOnes, boolean sparse, SecureRandom random)
Generates a "sparse" or "dense" polynomial containing numOnes ints equal to 1, numNegOnes int equal to -1, and the rest equal to 0.
-