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

pack-priv Class LM_OTS

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

Field Summary

Modifier and TypeField and Description
pack-priv static final short
private static final short
private static final int
private static final int
private static final int
pack-priv static final int
pack-priv static final int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public static int
cksm(byte[] S, int sLen, LMOtsParameters parameters)

public static int
coef(byte[] S, int i, int w)

public static LMOtsSignature
lm_ots_generate_signature(LMSigParameters sigParams, LMOtsPrivateKey privateKey, byte[][] path, byte[] message, boolean preHashed)

public static LMOtsSignature
lm_ots_generate_signature(LMOtsPrivateKey privateKey, byte[] Q, byte[] C)

public static boolean
lm_ots_validate_signature(LMOtsPublicKey publicKey, LMOtsSignature signature, byte[] message, boolean prehashed)

public static byte[]
public static byte[]
public static LMOtsPublicKey
pack-priv static byte[]
lms_ots_generatePublicKey(LMOtsParameters parameter, byte[] I, int q, byte[] masterSecret)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

D_MESGback to summary
pack-priv static final short D_MESG
D_PBLCback to summary
private static final short D_PBLC
ITER_Jback to summary
private static final int ITER_J
ITER_Kback to summary
private static final int ITER_K
ITER_PREVback to summary
private static final int ITER_PREV
MAX_HASHback to summary
pack-priv static final int MAX_HASH
SEED_RANDOMISER_INDEXback to summary
pack-priv static final int SEED_RANDOMISER_INDEX

Constructor Detail

LM_OTSback to summary
pack-priv LM_OTS()

Method Detail

cksmback to summary
public static int cksm(byte[] S, int sLen, LMOtsParameters parameters)
coefback to summary
public static int coef(byte[] S, int i, int w)
lm_ots_generate_signatureback to summary
public static LMOtsSignature lm_ots_generate_signature(LMSigParameters sigParams, LMOtsPrivateKey privateKey, byte[][] path, byte[] message, boolean preHashed)
lm_ots_generate_signatureback to summary
public static LMOtsSignature lm_ots_generate_signature(LMOtsPrivateKey privateKey, byte[] Q, byte[] C)
lm_ots_validate_signatureback to summary
public static boolean lm_ots_validate_signature(LMOtsPublicKey publicKey, LMOtsSignature signature, byte[] message, boolean prehashed) throws LMSException
lm_ots_validate_signature_calculateback to summary
public static byte[] lm_ots_validate_signature_calculate(LMOtsPublicKey publicKey, LMOtsSignature signature, byte[] message)
lm_ots_validate_signature_calculateback to summary
public static byte[] lm_ots_validate_signature_calculate(LMSContext context)
lms_ots_generatePublicKeyback to summary
public static LMOtsPublicKey lms_ots_generatePublicKey(LMOtsPrivateKey privateKey)
lms_ots_generatePublicKeyback to summary
pack-priv static byte[] lms_ots_generatePublicKey(LMOtsParameters parameter, byte[] I, int q, byte[] masterSecret)