Top Fields Constructors Methods
org.bouncycastle.pqc.legacy.crypto.rainbow

public Class RainbowParameters

extends Object
implements CipherParameters
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.CipherParameters
Imports
org.bouncycastle.crypto.CipherParameters

Field Summary

Modifier and TypeField and Description
private final int[]
DEFAULT_VI

DEFAULT PARAMS

private int[]

Constructor Summary

AccessConstructor and Description
public
RainbowParameters()

Default Constructor The elements of the array containing the number of Vinegar variables in each layer are set to the default values here.

public
RainbowParameters(int[]
The elements of the array containing the number of Vinegar variables per layer are set to the values of the input array.
vi
)

Constructor with parameters

Method Summary

Modifier and TypeMethod and Description
private void
public int

Returns:

the number of the polynomials
getDocLength
()

Getter for the number of all the polynomials in Rainbow

public int

Returns:

the number of layers
getNumOfLayers
()

Getter for the number of layers

public int[]

Returns:

the numbers of vinegars per layer
getVi
()

Getter for the array containing the number of Vinegar-variables per layer

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEFAULT_VIback to summary
private final int[] DEFAULT_VI

DEFAULT PARAMS

viback to summary
private int[] vi

Constructor Detail

RainbowParametersback to summary
public RainbowParameters()

Default Constructor The elements of the array containing the number of Vinegar variables in each layer are set to the default values here.

RainbowParametersback to summary
public RainbowParameters(int[] vi)

Constructor with parameters

Parameters
vi:int[]

The elements of the array containing the number of Vinegar variables per layer are set to the values of the input array.

Method Detail

checkParamsback to summary
private void checkParams()
getDocLengthback to summary
public int getDocLength()

Getter for the number of all the polynomials in Rainbow

Returns:int

the number of the polynomials

getNumOfLayersback to summary
public int getNumOfLayers()

Getter for the number of layers

Returns:int

the number of layers

getViback to summary
public int[] getVi()

Getter for the array containing the number of Vinegar-variables per layer

Returns:int[]

the numbers of vinegars per layer