Class SNTRUPrimeParameters
java.lang.Object
org.bouncycastle.pqc.crypto.ntruprime.SNTRUPrimeParameters
- All Implemented Interfaces:
CipherParameters, KEMParameters
StreamLined NTRU Prime Parameter Specs
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SNTRUPrimeParametersstatic final SNTRUPrimeParametersstatic final SNTRUPrimeParametersstatic final SNTRUPrimeParametersstatic final SNTRUPrimeParametersstatic final SNTRUPrimeParameters -
Method Summary
Modifier and TypeMethodDescriptionintReturn the size in bytes of an encapsulation produced for this parameter set, so that the encapsulating side - which holds only a public key and no extractor - reads it from the same place SNTRUPrimeKEMExtractor does.getName()intgetP()intintintgetQ()intintintintgetW()
-
Field Details
-
sntrup653
-
sntrup761
-
sntrup857
-
sntrup953
-
sntrup1013
-
sntrup1277
-
-
Method Details
-
getName
-
getP
public int getP() -
getQ
public int getQ() -
getW
public int getW() -
getPublicKeyBytes
public int getPublicKeyBytes() -
getPrivateKeyBytes
public int getPrivateKeyBytes() -
getRqPolynomialBytes
public int getRqPolynomialBytes() -
getRoundedPolynomialBytes
public int getRoundedPolynomialBytes() -
getSessionKeySize
public int getSessionKeySize() -
getEncapsulationLength
public int getEncapsulationLength()Return the size in bytes of an encapsulation produced for this parameter set, so that the encapsulating side - which holds only a public key and no extractor - reads it from the same place SNTRUPrimeKEMExtractor does.
-