Mont256 (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.math.raw

## Class Mont256

- java.lang.Object
- - org.bouncycastle.math.raw.Mont256

-     public abstract class Mont256
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Mont256()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static int` | `inverse32(int x)`
    `static void` | `multAdd(int[] x, int[] y, int[] z, int[] m, int mInv32)`
    `static void` | `multAddXF(int[] x, int[] y, int[] z, int[] m)`
    `static void` | `reduce(int[] z, int[] m, int mInv32)`
    `static void` | `reduceXF(int[] z, int[] m)`

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

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

- - ### Constructor Detail

    - #### Mont256

          public Mont256()

  - ### Method Detail

    - #### inverse32

          public static int inverse32(int x)

    - #### multAdd

          public static void multAdd(int[] x,
                                     int[] y,
                                     int[] z,
                                     int[] m,
                                     int mInv32)

    - #### multAddXF

          public static void multAddXF(int[] x,
                                       int[] y,
                                       int[] z,
                                       int[] m)

    - #### reduce

          public static void reduce(int[] z,
                                    int[] m,
                                    int mInv32)

    - #### reduceXF

          public static void reduceXF(int[] z,
                                      int[] m)