org.bouncycastle.pqc.crypto.lms.LMOtsParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcprov-jdk15to18 Show documentation
Show all versions of bcprov-jdk15to18 Show documentation
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.5 to JDK 1.8.
package org.bouncycastle.pqc.crypto.lms;
import java.util.HashMap;
import java.util.Map;
import org.bouncycastle.asn1.ASN1ObjectIdentifier;
import org.bouncycastle.asn1.nist.NISTObjectIdentifiers;
public class LMOtsParameters
{
public static final int reserved = 0;
public static final LMOtsParameters sha256_n32_w1 = new LMOtsParameters(0x01, 32, 1, 265, 7, 8516, NISTObjectIdentifiers.id_sha256);
public static final LMOtsParameters sha256_n32_w2 = new LMOtsParameters(0x02, 32, 2, 133, 6, 4292, NISTObjectIdentifiers.id_sha256);
public static final LMOtsParameters sha256_n32_w4 = new LMOtsParameters(0x03, 32, 4, 67, 4, 2180, NISTObjectIdentifiers.id_sha256);
public static final LMOtsParameters sha256_n32_w8 = new LMOtsParameters(0x04, 32, 8, 34, 0, 1124, NISTObjectIdentifiers.id_sha256);
public static final LMOtsParameters sha256_n24_w1 = new LMOtsParameters(0x05, 24, 1, 200, 8, 5436, NISTObjectIdentifiers.id_sha256);
public static final LMOtsParameters sha256_n24_w2 = new LMOtsParameters(0x06, 24, 2, 101, 6, 2940, NISTObjectIdentifiers.id_sha256);
public static final LMOtsParameters sha256_n24_w4 = new LMOtsParameters(0x07, 24, 4, 51, 4, 1500, NISTObjectIdentifiers.id_sha256);
public static final LMOtsParameters sha256_n24_w8 = new LMOtsParameters(0x08, 24, 8, 26, 0, 1020, NISTObjectIdentifiers.id_sha256);
public static final LMOtsParameters shake256_n32_w1 = new LMOtsParameters(0x09, 32, 1, 265, 7, 8516, NISTObjectIdentifiers.id_shake256_len);
public static final LMOtsParameters shake256_n32_w2 = new LMOtsParameters(0x0a, 32, 2, 133, 6, 4292, NISTObjectIdentifiers.id_shake256_len);
public static final LMOtsParameters shake256_n32_w4 = new LMOtsParameters(0x0b, 32, 4, 67, 4, 2180, NISTObjectIdentifiers.id_shake256_len);
public static final LMOtsParameters shake256_n32_w8 = new LMOtsParameters(0x0c, 32, 8, 34, 0, 1124, NISTObjectIdentifiers.id_shake256_len);
public static final LMOtsParameters shake256_n24_w1 = new LMOtsParameters(0x0d, 24, 1, 200, 8, 5436, NISTObjectIdentifiers.id_shake256_len);
public static final LMOtsParameters shake256_n24_w2 = new LMOtsParameters(0x0e, 24, 2, 101, 6, 2940, NISTObjectIdentifiers.id_shake256_len);
public static final LMOtsParameters shake256_n24_w4 = new LMOtsParameters(0x0f, 24, 4, 51, 4, 1500, NISTObjectIdentifiers.id_shake256_len);
public static final LMOtsParameters shake256_n24_w8 = new LMOtsParameters(0x10, 24, 8, 26, 0, 1020, NISTObjectIdentifiers.id_shake256_len);
private static final Map