RSA Security 5 Projection Television User Manual


 
AI_ECParameters
74 RSA BSAFE Crypto-C Library Reference Manual
Set the arguments as follows:
Argument Values Comments
version
1
Represents the current ANSI X9.62
version
fieldType
FT_FP
Odd prime field
FT_F2_ONB
Even characteristic, optimal normal
basis
FT_F2_POLYNOMIAL
Even characteristic, polynomial basis
FT_X962_NAMED_CURVE_TYPE
ANSI X9.62 Named Curve Identifier. The
possible values are listed in the next
table. Keys will be generated that
conform to the named curve’s definition
per ANSI X9.62. The NAMED CURVE
representation will be used in all
resulting BER public key encodings. If
this option is used, all of the following
parameters in this data structure will be
ignored and therefore do not need to be
initialized.
coeffA
big-endian string of
OCTETS
The elliptic curve’s “A” coefficient
coeffB
big-endian string of
OCTETS
The elliptic curve’s “B” coefficient
base
big-endian string of
OCTETS
The base point or “group generator”
order
big-endian string of
OCTETS
The order of the subgroup’s generating
element
cofa ctor
big-endian string of
OCTETS
The cofactor of the subgroup
pointRepresentation
CI_NO_COMPRESS
Not used. Set to CI_NO_COMPRESS as
a default.
fieldElementBits
Integer
The field element size in bits