|
Bouncy Castle Cryptography Library 1.79 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.pqc.math.ntru.Polynomial | +--org.bouncycastle.pqc.math.ntru.HRSSPolynomial
Fields inherited from class org.bouncycastle.pqc.math.ntru.Polynomial |
coeffs, params |
Constructor Summary | |
HRSSPolynomial(NTRUHRSSParameterSet params)
|
Method Summary | |
void |
lift(Polynomial a)
|
void |
sqFromBytes(byte[] a)
Unpack a Sq polynomial |
byte[] |
sqToBytes(int len)
Pack Sq polynomial as a byte array |
Methods inherited from class org.bouncycastle.pqc.math.ntru.Polynomial |
mod3PhiN, modQPhiN, r2Inv, rqInv, rqMul, rqSumZeroFromBytes, rqSumZeroToBytes, rqToS3, s3FromBytes, s3Inv, s3Mul, s3ToBytes, sqMul, trinaryZqToZ3, z3ToZq |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HRSSPolynomial(NTRUHRSSParameterSet params)
Method Detail |
public byte[] sqToBytes(int len)
Polynomial
sqToBytes
in class Polynomial
org.bouncycastle.pqc.math.ntru.Polynomial
len
- array length of packed polynomialpublic void sqFromBytes(byte[] a)
Polynomial
sqFromBytes
in class Polynomial
org.bouncycastle.pqc.math.ntru.Polynomial
a
- byte array of packed polynomialpublic void lift(Polynomial a)
lift
in class Polynomial
org.bouncycastle.pqc.math.ntru.Polynomial
a
-
|
Bouncy Castle Cryptography Library 1.79 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |