Bouncy Castle Cryptography Library 1.84

org.bouncycastle.crypto.signers.slhdsa
Class SLHDSAEngine.Sha2Engine

java.lang.Object
  extended byorg.bouncycastle.crypto.signers.slhdsa.SLHDSAEngine
      extended byorg.bouncycastle.crypto.signers.slhdsa.SLHDSAEngine.Sha2Engine
Enclosing class:
SLHDSAEngine

public static class SLHDSAEngine.Sha2Engine
extends SLHDSAEngine


Nested Class Summary
 
Nested classes inherited from class org.bouncycastle.crypto.signers.slhdsa.SLHDSAEngine
SLHDSAEngine.Sha2Engine, SLHDSAEngine.Shake256Engine
 
Constructor Summary
SLHDSAEngine.Sha2Engine(int n, int w, int d, int a, int k, int h)
           
 
Method Summary
protected  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 org.bouncycastle.crypto.signers.slhdsa.SLHDSAEngine
implGenerateKeyPair, internalGenerateSignature, internalVerifySignature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SLHDSAEngine.Sha2Engine

public SLHDSAEngine.Sha2Engine(int n,
                               int w,
                               int d,
                               int a,
                               int k,
                               int h)
Method Detail

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)

Bouncy Castle Cryptography Library 1.84