Uses of Interface
org.bouncycastle.pqc.legacy.math.ntru.polynomial.TernaryPolynomial
Packages that use TernaryPolynomial
Package
Description
-
Uses of TernaryPolynomial in org.bouncycastle.pqc.legacy.crypto.ntru
Methods in org.bouncycastle.pqc.legacy.crypto.ntru with parameters of type TernaryPolynomialModifier and TypeMethodDescriptionprotected IntegerPolynomialNTRUEngine.encrypt(IntegerPolynomial m, TernaryPolynomial r, IntegerPolynomial pubKey) -
Uses of TernaryPolynomial in org.bouncycastle.pqc.legacy.math.ntru.polynomial
Classes in org.bouncycastle.pqc.legacy.math.ntru.polynomial that implement TernaryPolynomialModifier and TypeClassDescriptionclassATernaryPolynomialwith a "high" number of nonzero coefficients.classATernaryPolynomialwith a "low" number of nonzero coefficients.Methods in org.bouncycastle.pqc.legacy.math.ntru.polynomial with parameters of type TernaryPolynomialModifier and TypeMethodDescriptionLongPolynomial5.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.legacy.math.ntru.util
Methods in org.bouncycastle.pqc.legacy.math.ntru.util that return TernaryPolynomialModifier and TypeMethodDescriptionstatic TernaryPolynomialUtil.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.