Top Description Fields Constructors Methods
org.bouncycastle.pqc.crypto.xmss

pack-priv final Class KeyedHashFunctions

extends Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.crypto.Digest, .Xof

Crypto functions for XMSS.

Field Summary

Modifier and TypeField and Description
private final Digest
private final int

Constructor Summary

AccessConstructor and Description
protected
KeyedHashFunctions(ASN1ObjectIdentifier treeDigest, int digestSize)

Method Summary

Modifier and TypeMethod and Description
private byte[]
coreDigest(int fixedValue, byte[] key, byte[] index)

protected byte[]
F(byte[] key, byte[] in)

protected byte[]
H(byte[] key, byte[] in)

protected byte[]
HMsg(byte[] key, byte[] in)

protected byte[]
PRF(byte[] key, byte[] address)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

digestback to summary
private final Digest digest
digestSizeback to summary
private final int digestSize

Constructor Detail

KeyedHashFunctionsback to summary
protected KeyedHashFunctions(ASN1ObjectIdentifier treeDigest, int digestSize)

Method Detail

coreDigestback to summary
private byte[] coreDigest(int fixedValue, byte[] key, byte[] index)
Fback to summary
protected byte[] F(byte[] key, byte[] in)
Hback to summary
protected byte[] H(byte[] key, byte[] in)
HMsgback to summary
protected byte[] HMsg(byte[] key, byte[] in)
PRFback to summary
protected byte[] PRF(byte[] key, byte[] address)