Class SLHDSAEngine.Sha2Engine
java.lang.Object
org.bouncycastle.crypto.signers.slhdsa.SLHDSAEngine
org.bouncycastle.crypto.signers.slhdsa.SLHDSAEngine.Sha2Engine
- Enclosing class:
SLHDSAEngine
-
Nested Class Summary
Nested classes/interfaces inherited from class SLHDSAEngine
SLHDSAEngine.Sha2Engine, SLHDSAEngine.Shake256Engine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]bitmask(byte[] key, byte[] m) protected byte[]bitmask(byte[] key, byte[] m1, byte[] m2) protected byte[]bitmask256(byte[] key, byte[] m) byte[]F(byte[] pkSeed, org.bouncycastle.crypto.signers.slhdsa.ADRS adrs, byte[] m1) byte[]H(byte[] pkSeed, org.bouncycastle.crypto.signers.slhdsa.ADRS adrs, byte[] m1, byte[] m2) byte[]PRF_msg(byte[] prf, byte[] randomiser, byte[] msgPrefix, byte[] msg) byte[]T_l(byte[] pkSeed, org.bouncycastle.crypto.signers.slhdsa.ADRS adrs, byte[] m) Methods inherited from class SLHDSAEngine
implGenerateKeyPair, internalGenerateSignature, internalVerifySignature
-
Constructor Details
-
Sha2Engine
public Sha2Engine(int n, int w, int d, int a, int k, int h)
-
-
Method Details
-
F
public byte[] F(byte[] pkSeed, org.bouncycastle.crypto.signers.slhdsa.ADRS adrs, byte[] m1) -
H
public byte[] H(byte[] pkSeed, org.bouncycastle.crypto.signers.slhdsa.ADRS adrs, byte[] m1, byte[] m2) -
T_l
public byte[] T_l(byte[] pkSeed, org.bouncycastle.crypto.signers.slhdsa.ADRS adrs, byte[] m) -
PRF_msg
public byte[] PRF_msg(byte[] prf, byte[] randomiser, byte[] msgPrefix, byte[] msg) -
bitmask
protected byte[] bitmask(byte[] key, byte[] m) -
bitmask
protected byte[] bitmask(byte[] key, byte[] m1, byte[] m2) -
bitmask256
protected byte[] bitmask256(byte[] key, byte[] m)
-