RSA BSAFE Micro Edition Suite

Streamlined security for mobile and embedded devices

Search  Print

Resource List Definitions

This section details the definitions used in the resource list and initialization of the library.

Defines

#define R_CR_RES_LIBRARY_SMALL
 A small library interface that only supports the get_resource, get_module and get_module_data methods of the R_LIB_CTX interface. More...

#define R_CR_RES_LIBRARY
 Indicates the full R_LIB_CTX interface.

#define R_CR_RES_CRYPTO_DEFAULT
 The default list of algorithms available. More...

#define R_CR_RES_CRYPTO_CUSTOM
 Binds a custom algorithm list to the cryptographic module. More...

#define R_CR_RES_SIGNATURE_MAP
 The default map which maps two R_CR identifiers to a signature. More...

#define R_CR_RES_LOCK
 The standard thread synchronization module. More...

#define R_CR_RES_PKEY_PRINT
 The standard asymmetric key print module. More...

#define R_CR_RES_PKEY_RSA
 The RSA key module. More...

#define R_CR_RES_PKEY_DSA
 The Digital Signature Algorithm (DSA) key module. More...

#define R_CR_RES_RAND
 The standard random module. More...

#define R_CR_RES_TIME
 The standard time module. More...

#define R_CR_RES_COMMON_ERROR_STRINGS
 Textual descriptions of common error codes. More...

#define R_CR_RES_CRYPTO_REASON_STRINGS
 Textual descriptions of cryptographic error reason codes. More...

#define R_CR_RES_CRYPTO_FUNCTION_NAMES
 Textual descriptions of cryptographic error function codes. More...

#define R_CR_RES_CRYPTO_DETAIL_STRINGS
 Textual descriptions of cryptographic error detail codes. More...

#define R_CR_RES_END_OF_LIST
 The mandatory marker to indicate the end of a resource list.

#define R_CR_RES_BIO_DIGEST
 The BIO method that digests data.

#define R_CR_RES_BIO_ENCRYPT
 The BIO method that enciphers data.

#define R_CR_RES_BIO_DECRYPT
 The BIO method that deciphers data.

#define R_CR_RES_BIO_CIPHER
 The BIO method that deciphers data that is read and enciphers data that is written.


Define Documentation

#define R_CR_RES_COMMON_ERROR_STRINGS
 

Textual descriptions of common error codes. This is only required if using R_CR_get_error() string functions.

#define R_CR_RES_CRYPTO_CUSTOM
 

Binds a custom algorithm list to the cryptographic module. The custom list must be specified with the R_CR_DEFINE_CUSTOM_CIPHER_LIST macro.

See also:
R_CR_get_default_method().

#define R_CR_RES_CRYPTO_DEFAULT
 

The default list of algorithms available. Where there are optimized implementations for an algorithm, the fastest is included in the default list.

See also:
R_CR_get_default_method().

#define R_CR_RES_CRYPTO_DETAIL_STRINGS
 

Textual descriptions of cryptographic error detail codes. This is only required if using R_CR_get_error() string functions.

#define R_CR_RES_CRYPTO_FUNCTION_NAMES
 

Textual descriptions of cryptographic error function codes. This is only required if using R_CR_get_error() string functions.

#define R_CR_RES_CRYPTO_REASON_STRINGS
 

Textual descriptions of cryptographic error reason codes. This is only required if using R_CR_get_error() string functions.

#define R_CR_RES_LIBRARY_SMALL
 

A small library interface that only supports the get_resource, get_module and get_module_data methods of the R_LIB_CTX interface. This is sufficient for normal use with the cryptographic module.

#define R_CR_RES_LOCK
 

The standard thread synchronization module. Only required for multi-threaded applications to protect shared data.

#define R_CR_RES_PKEY_DSA
 

The Digital Signature Algorithm (DSA) key module. This is only required if R_PKEY functions are used.

#define R_CR_RES_PKEY_PRINT
 

The standard asymmetric key print module. This is only required if R_PKEY_print() is used.

#define R_CR_RES_PKEY_RSA
 

The RSA key module. This is only required if R_PKEY functions are used.

#define R_CR_RES_RAND
 

The standard random module. This is only required if asymmetric key or random operations are used.

See also:
R_rand_get_default().

#define R_CR_RES_SIGNATURE_MAP
 

The default map which maps two R_CR identifiers to a signature. For example, R_CR_ID_SHA1_RSA (R_CR_ID_SHA1 and R_CR_ID_RSA)

#define R_CR_RES_TIME
 

The standard time module. This module is optional.


Copyright (c) 1999-2005 RSA Security Inc. All rights reserved. 072-001001-2100-001-000 - 2.1