de.flexiprovider.pqc.pflash
Class PFlashKeyGenParameterSpec

java.lang.Object
  |
  +--de.flexiprovider.pqc.pflash.PFlashKeyGenParameterSpec
All Implemented Interfaces:
AlgorithmParameterSpec, java.security.spec.AlgorithmParameterSpec

public class PFlashKeyGenParameterSpec
extends java.lang.Object
implements AlgorithmParameterSpec

This class provides the specification of the parameters used by the PFlashKeyPairGenerator.

The default values for the parameters are :
degree of extension m=4
field polynomial of GF(2m)=X4 + X + 1
extension degree of E/K=96
α=32
r=32
s=1

Author:
Marian Hornschuch, Alexander Koller

Field Summary
static int DEFAULT_alpha
          the default value of α
static int DEFAULT_fieldPoly
          the default field Polynomial : X4 + X + 1 = 10011bin = 1910
static int DEFAULT_m
          the default extension degree
static int DEFAULT_n
          the default dimension of Kn
static int DEFAULT_r
          the default value of r
static int DEFAULT_s
          the default value of s
 
Constructor Summary
PFlashKeyGenParameterSpec()
          Constructor with default settings.
PFlashKeyGenParameterSpec(GF2mField field, int n, int alpha, int r, int s)
          Constructs new pFLASH parameters.
PFlashKeyGenParameterSpec(int p, int n, int alpha, int r, int s)
          Constructs new pFLASH parameters.
 
Method Summary
 int getAlpha()
           
 GF2mField getField()
           
 int getN()
           
 int getR()
           
 int getS()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_m

public static final int DEFAULT_m
the default extension degree

DEFAULT_n

public static final int DEFAULT_n
the default dimension of Kn

DEFAULT_alpha

public static final int DEFAULT_alpha
the default value of α

DEFAULT_r

public static final int DEFAULT_r
the default value of r

DEFAULT_s

public static final int DEFAULT_s
the default value of s

DEFAULT_fieldPoly

public static final int DEFAULT_fieldPoly
the default field Polynomial : X4 + X + 1 = 10011bin = 1910
Constructor Detail

PFlashKeyGenParameterSpec

public PFlashKeyGenParameterSpec()
Constructor with default settings.

PFlashKeyGenParameterSpec

public PFlashKeyGenParameterSpec(int p,
                                 int n,
                                 int alpha,
                                 int r,
                                 int s)
Constructs new pFLASH parameters. (not supported)
Parameters:
p - field polynomial for the finite field GF(2m)
n - extension degree of E/K
alpha - parameter of the map F: F(x)=x1+qα
r -  
s -  

PFlashKeyGenParameterSpec

public PFlashKeyGenParameterSpec(GF2mField field,
                                 int n,
                                 int alpha,
                                 int r,
                                 int s)
Constructs new pFLASH parameters. (not supported)
Parameters:
field - the finite field GF(2m)
n - extension degree of E/K
alpha - parameter of the map F: F(x)=x1+qα
r -  
s -  
Method Detail

getField

public GF2mField getField()

getN

public int getN()

getAlpha

public int getAlpha()

getR

public int getR()

getS

public int getS()