RSA BSAFE Micro Edition Suite

Streamlined security for mobile and embedded devices

Search  Print

Digest Identifiers

This section details the constants which specify the cryptographic algorithm to use for digests. The following table details the strings that are interpreted by R_CR_ID_from_string() and output by R_CR_ID_to_string().

Identifier String

R_CR_ID_SHA1 "SHA1"

R_CR_ID_SHA256 "SHA256"

R_CR_ID_SHA384 "SHA384"

R_CR_ID_SHA512 "SHA512"

R_CR_ID_MD2 "MD2"

R_CR_ID_MD5 "MD5"

R_CR_ID_DIGEST_NULL "DIGEST_NULL"

See R_CR_new(), R_CR_get_info() and R_CR_CTX_alg_supported().

Defines

#define R_CR_ID_SHA1
 A cryptographic identifier which indicates a SHA-1 digest. More...

#define R_CR_ID_SHA256
 A cryptographic identifier which indicates a SHA-256 digest. More...

#define R_CR_ID_SHA384
 A cryptographic identifier which indicates a SHA-384 digest. More...

#define R_CR_ID_SHA512
 A cryptographic identifier which indicates a SHA-512 digest. More...

#define R_CR_ID_MD2
 A cryptographic identifier which indicates an MD2 digest. More...

#define R_CR_ID_MD5
 A cryptographic identifier which indicates an MD5 digest. More...

#define R_CR_ID_DIGEST_NULL
 A cryptographic identifier which indicates a null digest. More...


Define Documentation

#define R_CR_ID_DIGEST_NULL
 

A cryptographic identifier which indicates a null digest. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "DIGEST_NULL" This string is interpreted as the DIGEST_NULL type.
R_CR_ID_to_string() "DIGEST_NULL" The string that represents a DIGEST_NULL type.

#define R_CR_ID_MD2
 

A cryptographic identifier which indicates an MD2 digest. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "MD2" This string is interpreted as the MD2 type.
R_CR_ID_to_string() "MD2" The string that represents a MD2 type.

#define R_CR_ID_MD5
 

A cryptographic identifier which indicates an MD5 digest. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "MD5" This string is interpreted as the MD5 type.
R_CR_ID_to_string() "MD5" The string that represents a MD5 type.

#define R_CR_ID_SHA1
 

A cryptographic identifier which indicates a SHA-1 digest. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "SHA1" This string is interpreted as the SHA1 type.
R_CR_ID_to_string() "SHA1" The string that represents a SHA1 type.

#define R_CR_ID_SHA256
 

A cryptographic identifier which indicates a SHA-256 digest. The following table details the usage of the identifier in Operation Functions.

Function String Description
R_CR_ID_from_string() "SHA256" This string is interpreted as the SHA256 type.
R_CR_ID_to_string() "SHA256" The string that represents a SHA256 type.

#define R_CR_ID_SHA384
&n