Top Fields Constructors Methods
org.bouncycastle.pqc.crypto.crystals.dilithium

pack-priv Class PolyVecL

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private int
private int
private DilithiumEngine
private int
private int
pack-priv Poly[]

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public void
public boolean
checkNorm(int bound)

public void
public void
expandMatrix(byte[] rho, int i)

public Poly
public void
public void
public void
public void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
public String
public void
uniformEta(byte[] seed, short nonce)

public void
uniformGamma1(byte[] seed, short nonce)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

dilithiumKback to summary
private int dilithiumK
dilithiumLback to summary
private int dilithiumL
engineback to summary
private DilithiumEngine engine
modeback to summary
private int mode
polyVecBytesback to summary
private int polyVecBytes
vecback to summary
pack-priv Poly[] vec

Constructor Detail

PolyVecLback to summary
public PolyVecL(DilithiumEngine engine)
PolyVecLback to summary
public PolyVecL() throws Exception

Method Detail

addPolyVecLback to summary
public void addPolyVecL(PolyVecL v)
checkNormback to summary
public boolean checkNorm(int bound)
copyPolyVecLback to summary
public void copyPolyVecL(PolyVecL outPoly)
expandMatrixback to summary
public void expandMatrix(byte[] rho, int i)
getVectorIndexback to summary
public Poly getVectorIndex(int i)
invNttToMontback to summary
public void invNttToMont()
pointwisePolyMontgomeryback to summary
public void pointwisePolyMontgomery(Poly a, PolyVecL v)
polyVecNttback to summary
public void polyVecNtt()
reduceback to summary
public void reduce()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override
toStringback to summary
public String toString(String name)
uniformEtaback to summary
public void uniformEta(byte[] seed, short nonce)
uniformGamma1back to summary
public void uniformGamma1(byte[] seed, short nonce)