RSA BSAFE Crypto-C

Cryptographic Components for C

Search

atypes.h File Reference

This file contains the function and structures used to implement AIs.

#include "bsfmacro.h"
#include "bsfplatf.h"
#include "aglobal.h"

Go to the source code of this file.

Data Structures

struct  A_DESX_KEY
 This structure holds the DESX key. More...

struct  A_DH_KEY_AGREE_PARAMS
 This structure holds Diffie-Hellman key agreement parameters. More...

struct  A_DH_PARAM_GEN_PARAMS
 This structure holds information to generate Diffie-Hellman parameters. More...

struct  A_DSA_PRIVATE_KEY
 This structure holds the DSA private key. More...

struct  A_DSA_PUBLIC_KEY
 This structure holds the DSA public key. More...

struct  A_EC_PARAMS
 This structure holds EC parameters. More...

struct  A_EC_PRIVATE_KEY
 This structure holds the EC private key. More...

struct  A_EC_PUBLIC_KEY
 This structure holds EC public parameters. More...

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

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

struct  A_ENTROPY_CTX_PARAMS
 This structure holds the information used by the entropy gatherer. More...

struct  A_ENTROPY_PARAMS
 This structure holds the information used by the entropy gathering routines. More...

struct  A_KEYPAIR_DEFINER
 This structure defines a key pair. More...

struct  A_KEYPAIR_SPECIFIER
 This structure specifies a key pair. More...

struct  A_PKCS_RSA_MULTI_PRIME_PRIVATE_KEY
 This structure holds the RSA MultiPrime private key. More...

struct  A_PKCS_RSA_PRIVATE_KEY
 This structure holds the RSA private key. More...

struct  A_RC2_CBC_PARAMS
 This structure holds the RC2 CBC parameters. More...

struct  A_RC2_PARAMS
 This structure holds the RC2 algorithm parameters. More...

struct  A_RC5_CBC_PARAMS
 This structure holds the RC5 CBC parameters. More...

struct  A_RC5_PARAMS
 This structure holds the RC5 parameters. More...

struct  A_RSA_CRT_KEY
 This structure holds an RSA CRT key. More...

struct  A_RSA_EXTENDED_ERROR
 This structure is defined specifically for retrieving Intel error codes. More...

struct  A_RSA_KEY
 This structure holds an RSA key. More...

struct  A_RSA_KEY_GEN_PARAMS
 This structure holds the parameters to generate an RSA key. More...

struct  A_RSA_MULTI_PRIME_KEY_GEN_PARAMS
 This structure holds the parameters to generate an RSA MultiPrime key. More...

struct  A_SHA_RANDOM_PARAMS
 This structure holds the parameters used by the FIPS SHA RNG. More...

struct  A_SYMMETRIC_KEY_DEFINER
 This structure defines a symmetric key. More...

struct  A_SYMMETRIC_KEY_SPECIFIER
 This structure specifies a symmetric key. More...

struct  A_X509_ATTRIB_INFO
 This structure holds the x.509 certificate attribute information. More...

struct  A_X509_KEYPAIR_ATTRIB_INFO
 This structure holds the x.509 certificate key-pair attribute information. More...

struct  A_X931_PARAMS
 This structure holds the OID information. More...

struct  A_X931_RANDOM_PARAMS
 This structure holds the information used by the X9.31 SHA RNG. More...


Defines

#define EC_RAND_STRENGTH_DEFAULT
 Indicates the default strength used by the EC random number generator. More...

#define EC_RAND_STRENGTH_MAX
 Indicates the maximum strength supported by the EC random number generator.

#define EC_RAND_PRED_RESIST_OFF
 Indicates that prediction resistance is not required.

#define EC_RAND_PRED_RESIST_ON
 Indicates that prediction resistance is required.

#define EC_CT_PRIME_FIELD
 The prime field curve.

#define EC_CT_RANDOM_BINARY
 The random binary field curve.

#define EC_CT_KOBLITZ
 The Koblitz curve.

#define EC_RAND_MODE_NORMAL
 Indicates the normal source of entropy gathering is used.

#define EC_RAND_MODE_TEST
 Indicates the entropy source is a set of test vectors.

#define EC_RAND_CTX_STRENGTH_DEFAULT
 This value is used in the strength field of A_EC_RANDOM_CTX_PARAMS to indicate that the strength value set against the EC random is not to change.

#define EC_RAND_CTX_PRED_RESIST_DEFAULT
 This value is used in the prediction resistance field of A_EC_RANDOM_CTX_PARAMS to indicate that the prediction resistance value set against the EC random is not to change.

#define EC_RAND_CTX_MODE_DEFAULT
 This value is used in the mode field of A_EC_RANDOM_CTX_PARAMS to indicate that the mode value set against the EC random is not to change.

#define ENTROPY_CTX_STRENGTH_DEFAULT
 Indicates to use the current value when setting the strength.

#define ENTROPY_CTX_MODE_DEFAULT
 Indicates to use the current value when setting the mode of entropy gathering.

#define ENTROPY_MODE_NORMAL
 Indicates the normal source of entropy gathering is used.

#define ENTROPY_MODE_TEST
 Indicates the entropy source is a set of test vectors.

#define ENTROPY_MODE_TEST_SOURCE
 Indicates the entropy source is to put the raw Bytes into the output buffer. More...


Typedefs

typedef A_PQG_PARAMS A_DSA_PARAMS
 This structure holds DSA parameters.

typedef int A_ENTROPY_CB_FUNCTION (POINTER data, unsigned char *buffer, unsigned int len, unsigned int *num, unsigned int *entropy)
 The user-supplied callback function that provides data from other entropy sources. More...


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