RSA BSAFE Crypto-C

Cryptographic Components for C

Search

A_EC_PARAMS Struct Reference

This structure holds EC parameters.

Samples:

bdemoec.c, bslec.c, ecdh.c, ecdsa.c, ecdsadig.c, eces.c, ecutil.c, and x962.c.

#include <atypes.h>

typedef struct {
  unsigned int version;
  unsigned int fieldType;
  ITEM fieldInfo;
  ITEM coeffA;
  ITEM coeffB;
#if 1
  ITEM base;
#else
  ITEM base_P;    /* 1 Byte compression (4 == no compression), 2*((len-1)/2 Bytes) X,Y */
  ITEM base_Q;    /* 1 Byte compression (4 == no compression), 2*((len-1)/2 Bytes) X,Y */
#endif
  ITEM order;
  ITEM cofactor;                     /* The cofactor * order = # points on curve */
  unsigned int pointRepresentation; /* Reserved for future use */
  unsigned int fieldElementBits;
} A_EC_PARAMS;

Copyright (c) 1999-2005 RSA Security Inc. All rights reserved. 068-001001-6210-001-000 - 6.2.1