GParms Class Reference

#include <pk.h>

Inheritance diagram for GParms:

Inheritance graph
Collaboration diagram for GParms:

Collaboration graph

Detailed Description

Data type used to specify arithmetic parameters for various groups, including elliptic curves.


Private Member Functions

 GParms (const num &gg)
 Constructor specifying a group generator.
 GParms (const num &a, const num &b)
 Constructor specifying the coefficients in the equation of an elliptic curve:
   in char p:  y 2 = x 3 + a x + b
   in char 2:  y 2 + x y = x 3 + a x 2 + b.
bool isChar2 () const
 Predicate used to determine if underlying field is of characteristic 2.
bool discriminant () const
 Predicate used to test whether discrimant is nonzero.


Constructor & Destructor Documentation

GParms ( const num a,
const num b 
) [explicit, private]

Constructor specifying the coefficients in the equation of an elliptic curve:
   in char p:  y 2 = x 3 + a x + b
   in char 2:  y 2 + x y = x 3 + a x 2 + b.

Parameters:
a the first coefficient
b the second coefficient
Returns:
0


Member Function Documentation

bool discriminant (  )  const [private]

Predicate used to test whether discrimant is nonzero.

Returns:
true, if discriminant is nonzero
false, if discriminant is 0

bool isChar2 (  )  const [inline, private]

Predicate used to determine if underlying field is of characteristic 2.

Returns:
true, if underlying field is of characteristic 2
false, otherwise


The documentation for this class was generated from the following file:
ISC Cryptographic Development Kit - User's Guide
ISC website
Questions? E-mail ISC technical support
Copyright© 2002-2006 Information Security Corp. All rights reserved.