MCPcopy Create free account
hub / github.com/bcgit/bc-java / BDS

Method BDS

core/src/main/java/org/bouncycastle/pqc/crypto/xmss/BDS.java:47–53  ·  view source on GitHub ↗

Place holder BDS for when state is exhausted. @param params tree parameters @param index the index that has been reached.

(XMSSParameters params, int maxIndex, int index)

Source from the content-addressed store, hash-verified

45 * @param index the index that has been reached.
46 */
47 BDS(XMSSParameters params, int maxIndex, int index)
48 {
49 this(params.getWOTSPlus(), params.getHeight(), params.getK(), index);
50 this.maxIndex = maxIndex;
51 this.index = index;
52 this.used = true;
53 }
54
55 /**
56 * Set up constructor.

Callers

nothing calls this directly

Calls 15

initializeMethod · 0.95
hasNextMethod · 0.95
nextMethod · 0.95
validateMethod · 0.95
getHeightMethod · 0.65
addMethod · 0.65
getParamsMethod · 0.65
addAllMethod · 0.65
iteratorMethod · 0.65
keySetMethod · 0.65
putMethod · 0.65

Tested by

no test coverage detected