|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--de.flexiprovider.pqc.hbc.cmss.CRNodeCalc
This class provides an implementation of the NodeCalc interface, that
calculates the nodes in the classical way without use of SPR.
| Constructor Summary | |
CRNodeCalc(MessageDigest md)
Constructs a new CRNodeCalc object, that uses the given
MessageDigest to calculate the nodes. |
|
| Method Summary | |
byte[] |
computeParent(byte[] leftNode,
byte[] rightNode,
int height)
Calculates the parent node of two children. |
byte[] |
getLeaf(byte[] vkey)
Calculates the leaf of a tree from the verification key. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public CRNodeCalc(MessageDigest md)
CRNodeCalc object, that uses the given
MessageDigest to calculate the nodes.md - the MessageDigest to use| Method Detail |
public byte[] computeParent(byte[] leftNode,
byte[] rightNode,
int height)
NodeCalccomputeParent in interface NodeCalcde.flexiprovider.pqc.hbc.cmss.NodeCalcleftNode - the left childrightNode - the right childheight - the height of the childrenpublic byte[] getLeaf(byte[] vkey)
NodeCalcgetLeaf in interface NodeCalcde.flexiprovider.pqc.hbc.cmss.NodeCalcvkey - the verification key to calculate the leaf from.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||