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

pack-priv Class HashFunctions

extends Object
Class Inheritance
Imports
org.bouncycastle.crypto.Digest, org.bouncycastle.util.Strings

Field Summary

Modifier and TypeField and Description
private final Digest
private final Digest
private static final byte[]
private final Permute

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv
HashFunctions(Digest dig256, Digest dig512)

Method Summary

Modifier and TypeMethod and Description
pack-priv Digest
pack-priv int
hash_2n_n(byte[] out, int outOff, byte[] in, int inOff)

pack-priv int
hash_2n_n_mask(byte[] out, int outOff, byte[] in, int inOff, byte[] mask, int maskOff)

pack-priv int
hash_n_n(byte[] out, int outOff, byte[] in, int inOff)

pack-priv int
hash_n_n_mask(byte[] out, int outOff, byte[] in, int inOff, byte[] mask, int maskOff)

pack-priv int
varlen_hash(byte[] out, int outOff, byte[] in, int inLen)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dig256back to summary
private final Digest dig256
dig512back to summary
private final Digest dig512
hashcback to summary
private static final byte[] hashc
permback to summary
private final Permute perm

Constructor Detail

HashFunctionsback to summary
pack-priv HashFunctions(Digest dig256)
HashFunctionsback to summary
pack-priv HashFunctions(Digest dig256, Digest dig512)

Method Detail

getMessageHashback to summary
pack-priv Digest getMessageHash()
hash_2n_nback to summary
pack-priv int hash_2n_n(byte[] out, int outOff, byte[] in, int inOff)
hash_2n_n_maskback to summary
pack-priv int hash_2n_n_mask(byte[] out, int outOff, byte[] in, int inOff, byte[] mask, int maskOff)
hash_n_nback to summary
pack-priv int hash_n_n(byte[] out, int outOff, byte[] in, int inOff)
hash_n_n_maskback to summary
pack-priv int hash_n_n_mask(byte[] out, int outOff, byte[] in, int inOff, byte[] mask, int maskOff)
varlen_hashback to summary
pack-priv int varlen_hash(byte[] out, int outOff, byte[] in, int inLen)