org.bouncycastle.pqc.crypto.uov
Class UOVParameters
java.lang.Object
org.bouncycastle.pqc.crypto.uov.UOVParameters
- public class UOVParameters
- extends java.lang.Object
Parameter set for the Unbalanced Oil and Vinegar (UOV) signature scheme.
Tracks the OV / pqov NIST submission's four mathematical variants (uov-Is,
uov-Ip, uov-III, uov-V) × three key-encoding variants (classic, pkc,
pkc-skc), giving twelve named parameter sets. The math is shared within
a parameter-family; only the public/private-key serialization differs
between encoding variants:
classic: uncompressed pk = P1 || P2 || P3; uncompressed sk =
sk_seed || O || P1 || S (where S = F2).
pkc: compressed pk = pk_seed (16 bytes) || P3; uncompressed sk.
pkc-skc: compressed pk; sk = sk_seed (32 bytes) only.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GF_16
public static final int GF_16
- See Also:
- Constant Field Values
GF_256
public static final int GF_256
- See Also:
- Constant Field Values
VARIANT_CLASSIC
public static final int VARIANT_CLASSIC
- See Also:
- Constant Field Values
VARIANT_PKC
public static final int VARIANT_PKC
- See Also:
- Constant Field Values
VARIANT_PKC_SKC
public static final int VARIANT_PKC_SKC
- See Also:
- Constant Field Values
SK_SEED_BYTES
public static final int SK_SEED_BYTES
- See Also:
- Constant Field Values
PK_SEED_BYTES
public static final int PK_SEED_BYTES
- See Also:
- Constant Field Values
SALT_BYTES
public static final int SALT_BYTES
- See Also:
- Constant Field Values
uov_Is
public static final UOVParameters uov_Is
uov_Is_pkc
public static final UOVParameters uov_Is_pkc
uov_Is_pkc_skc
public static final UOVParameters uov_Is_pkc_skc
uov_Ip
public static final UOVParameters uov_Ip
uov_Ip_pkc
public static final UOVParameters uov_Ip_pkc
uov_Ip_pkc_skc
public static final UOVParameters uov_Ip_pkc_skc
uov_III
public static final UOVParameters uov_III
uov_III_pkc
public static final UOVParameters uov_III_pkc
uov_III_pkc_skc
public static final UOVParameters uov_III_pkc_skc
uov_V
public static final UOVParameters uov_V
uov_V_pkc
public static final UOVParameters uov_V_pkc
uov_V_pkc_skc
public static final UOVParameters uov_V_pkc_skc
getName
public java.lang.String getName()
getGfSize
public int getGfSize()
isGF16
public boolean isGF16()
getN
public int getN()
getM
public int getM()
getO
public int getO()
getV
public int getV()
getHashLen
public int getHashLen()
getVariant
public int getVariant()
isCompressedPublicKey
public boolean isCompressedPublicKey()
isCompressedSecretKey
public boolean isCompressedSecretKey()
packedBytes
public int packedBytes(int numElements)
getVByte
public int getVByte()
getOByte
public int getOByte()
getNByte
public int getNByte()
getMByte
public int getMByte()
getSignatureBytes
public int getSignatureBytes()
getPkP1Bytes
public int getPkP1Bytes()
getPkP2Bytes
public int getPkP2Bytes()
getPkP3Bytes
public int getPkP3Bytes()
getClassicPublicKeyBytes
public int getClassicPublicKeyBytes()
getCompressedPublicKeyBytes
public int getCompressedPublicKeyBytes()
getPublicKeyBytes
public int getPublicKeyBytes()
getOMapBytes
public int getOMapBytes()
getClassicSecretKeyBytes
public int getClassicSecretKeyBytes()
getCompressedSecretKeyBytes
public int getCompressedSecretKeyBytes()
getSecretKeyBytes
public int getSecretKeyBytes()