Class 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.
    • Method Detail

      • 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()