Top Fields Constructors Methods
org.bouncycastle.pqc.crypto.sphincsplus

pack-priv Class HT

extends Object
Class Inheritance
Imports
java.util.LinkedList, org.bouncycastle.util.Arrays

Field Summary

Modifier and TypeField and Description
pack-priv SPHINCSPlusEngine
pack-priv final byte[]
private final byte[]
private final byte[]
pack-priv WotsPlus

Constructor Summary

AccessConstructor and Description
public
HT(SPHINCSPlusEngine engine, byte[] skSeed, byte[] pkSeed)

Method Summary

Modifier and TypeMethod and Description
pack-priv byte[]
sign(byte[] M, long idx_tree, int idx_leaf)

pack-priv byte[]
treehash(byte[] skSeed, int s, int z, byte[] pkSeed, ADRS adrsParam)

public boolean
verify(byte[] M, SIG_XMSS[] sig_ht, byte[] pkSeed, long idx_tree, int idx_leaf, byte[] PK_HT)

pack-priv byte[]
xmss_pkFromSig(int idx, SIG_XMSS sig_xmss, byte[] M, byte[] pkSeed, ADRS paramAdrs)

pack-priv byte[]
xmss_PKgen(byte[] skSeed, byte[] pkSeed, ADRS adrs)

pack-priv SIG_XMSS
xmss_sign(byte[] M, byte[] skSeed, int idx, byte[] pkSeed, ADRS paramAdrs)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

engineback to summary
pack-priv SPHINCSPlusEngine engine
htPubKeyback to summary
pack-priv final byte[] htPubKey
pkSeedback to summary
private final byte[] pkSeed
skSeedback to summary
private final byte[] skSeed
wotsback to summary
pack-priv WotsPlus wots

Constructor Detail

HTback to summary
public HT(SPHINCSPlusEngine engine, byte[] skSeed, byte[] pkSeed)

Method Detail

signback to summary
pack-priv byte[] sign(byte[] M, long idx_tree, int idx_leaf)
treehashback to summary
pack-priv byte[] treehash(byte[] skSeed, int s, int z, byte[] pkSeed, ADRS adrsParam)
verifyback to summary
public boolean verify(byte[] M, SIG_XMSS[] sig_ht, byte[] pkSeed, long idx_tree, int idx_leaf, byte[] PK_HT)
xmss_pkFromSigback to summary
pack-priv byte[] xmss_pkFromSig(int idx, SIG_XMSS sig_xmss, byte[] M, byte[] pkSeed, ADRS paramAdrs)
xmss_PKgenback to summary
pack-priv byte[] xmss_PKgen(byte[] skSeed, byte[] pkSeed, ADRS adrs)
xmss_signback to summary
pack-priv SIG_XMSS xmss_sign(byte[] M, byte[] skSeed, int idx, byte[] pkSeed, ADRS paramAdrs)