org.bouncycastle.pqc.crypto.mlkem

## Class Ntt

- java.lang.Object
- - org.bouncycastle.pqc.crypto.mlkem.Ntt

-     class Ntt
      extends Object

  Number Theoretic Transform (NTT) implementation for ML-KEM operations. Provides efficient polynomial multiplication using number theoretic transforms.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static short[]` | `nttZetas`
    `static short[]` | `nttZetasInv`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Ntt()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `baseMult(Poly outPoly, int outIndex, short a0, short a1, short b0, short b1, short zeta)`
    `static short` | `factorQMulMont(short a, short b)`
    `static short[]` | `invNtt(short[] inp)`
    `static short[]` | `ntt(short[] inp)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### nttZetas

          public static final short[] nttZetas

    - #### nttZetasInv

          public static final short[] nttZetasInv

  - ### Constructor Detail

    - #### Ntt

          Ntt()

  - ### Method Detail

    - #### baseMult

          public static void baseMult(Poly outPoly,
                                      int outIndex,
                                      short a0,
                                      short a1,
                                      short b0,
                                      short b1,
                                      short zeta)

    - #### factorQMulMont

          public static short factorQMulMont(short a,
                                             short b)

    - #### invNtt

          public static short[] invNtt(short[] inp)

    - #### ntt

          public static short[] ntt(short[] inp)