AI_ECParameters

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

The elliptic curve’s “A” coefficient

 

OCTETS

 

 

 

 

coeffB

big-endian string of

The elliptic curve’s “B” coefficient

 

OCTETS

 

 

 

 

base

big-endian string of

The base point or “group generator”

 

OCTETS

 

 

 

 

order

big-endian string of

The order of the subgroup’s generating

 

OCTETS

element

 

 

 

cofactor

big-endian string of

The cofactor of the subgroup

 

OCTETS

 

 

 

 

pointRepresentation

CI_NO_COMPRESS

Not used. Set to CI_NO_COMPRESS as

 

 

a default.

 

 

 

fieldElementBits

Integer

The field element size in bits

 

 

 

7 4

R S A B S A F E C r y p t o - C L i b r a r y R e f e r e n c e M a n u a l

Page 84
Image 84
RSA Security 5 manual Set the arguments as follows, Argument Values Comments