Package org.bouncycastle.pqc.crypto.ntru
Class NTRUSigningPrivateKeyParameters.Basis
- java.lang.Object
-
- org.bouncycastle.pqc.crypto.ntru.NTRUSigningPrivateKeyParameters.Basis
-
- Direct Known Subclasses:
NTRUSigningKeyPairGenerator.FGBasis
- Enclosing class:
- NTRUSigningPrivateKeyParameters
public static class NTRUSigningPrivateKeyParameters.Basis extends java.lang.Object
A NtruSign basis. Contains three polynomialsf, f', h
.
-
-
Field Summary
Fields Modifier and Type Field Description Polynomial
f
Polynomial
fPrime
IntegerPolynomial
h
-
Constructor Summary
Constructors Modifier Constructor Description protected
Basis(Polynomial f, Polynomial fPrime, IntegerPolynomial h, NTRUSigningKeyGenerationParameters params)
Constructs a new basis from polynomialsf, f', h
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-
-
-
Field Detail
-
f
public Polynomial f
-
fPrime
public Polynomial fPrime
-
h
public IntegerPolynomial h
-
-
Constructor Detail
-
Basis
protected Basis(Polynomial f, Polynomial fPrime, IntegerPolynomial h, NTRUSigningKeyGenerationParameters params)
Constructs a new basis from polynomialsf, f', h
.- Parameters:
f
-fPrime
-h
-params
- NtruSign parameters
-
-