RSA BSAFE Crypto-C

Cryptographic Components for C

Search

A_EC_RANDOM_CTX_PARAMS Struct Reference

This structure holds the information used by the X9.82 Dual EC Deterministic Random Bit Generator.

#include <atypes.h>

typedef struct {
  unsigned int strength;
  int prediction_resistance;
  ITEM additional_input;
  unsigned int mode;
} A_EC_RANDOM_CTX_PARAMS;

Data Fields

unsigned int strength
 The required strength of the bits generated.

int prediction_resistance
 A flag to indicate that prediction resistance is required.

ITEM additional_input
 A Byte array that adds additional seeding. More...

unsigned int mode
 The mode to use when generating bits.


Field Documentation

ITEM additional_input
 

A Byte array that adds additional seeding. The array must be less than 1024 Bytes long.


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