RSA BSAFE Crypto-C

Cryptographic Components for C

Search

B_EC_PARAM_GEN_PARAMS Struct Reference

This structure holds the information for EC parameter generation.

Samples:

ecutil.c.

#include <bsafe.h>

typedef struct {
  unsigned int version;
  unsigned int fieldType;   /* The base field for EC           */
  unsigned int fieldElementBits;  /* The length of field element in bits         */
  unsigned int pointRepresentation; /* Reserved for future use           */
  unsigned int minOrderBits;    /* The minimum size of group generated by base */
                              /* An input of 0 defaults to fieldElementBits - 7 */
  unsigned int trialDivBound;     /* The maximum size of second largest prime    */
          /* A subgroup of group generated by base     */
          /* An input of 0 defaults to 255        */
  unsigned int tableLookup;      /* Relevant only to even field case. Set if */
               /* the use of precomputed params is desired */
} B_EC_PARAM_GEN_PARAMS;

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