Class Ntt
java.lang.Object
org.bouncycastle.pqc.crypto.mlkem.Ntt
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic shortfactorQMulMont(short a, short b) static short[]invNtt(short[] inp) static short[]ntt(short[] inp)
-
Field Details
-
nttZetas
public static final short[] nttZetas -
nttZetasInv
public static final short[] nttZetasInv
-
-
Constructor Details
-
Ntt
Ntt()
-
-
Method Details
-
ntt
public static short[] ntt(short[] inp) -
invNtt
public static short[] invNtt(short[] inp) -
factorQMulMont
public static short factorQMulMont(short a, short b) -
baseMult
public static void baseMult(Poly outPoly, int outIndex, short a0, short a1, short b0, short b1, short zeta)
-