9. CMOX_SHA512

9.1. CMOX SHA512 MACROS

group CMOX_SHA512_MACROS

Defines

CMOX_SHA512_SIZE

Maximum size in bytes of a SHA512 digest

CMOX_SHA512_224_SIZE

Maximum size in bytes of a SHA512/224 digest

CMOX_SHA512_256_SIZE

Maximum size in bytes of a SHA512/256 digest

9.2. CMOX SHA512 PUBLIC METHODS

group CMOX_SHA512_PUBLIC_METHODS

Functions

cmox_hash_handle_t * cmox_sha512_construct ( cmox_sha512_handle_t * P_pThis )

SHA512 constructor.

Parameters :

P_pThis – Pointer to the SHA512 handle to initialize

Returns :

cmox_hash_handle_t* Pointer to a general hash handle. This will be used by the general purpose hash functions in order to perform the algorithm

cmox_hash_handle_t * cmox_sha512_224_construct ( cmox_sha512_handle_t * P_pThis )

SHA512/224 constructor.

Parameters :

P_pThis – Pointer to the SHA512 handle to initialize

Returns :

cmox_hash_handle_t* Pointer to a general hash handle. This will be used by the general purpose hash functions in order to perform the algorithm

cmox_hash_handle_t * cmox_sha512_256_construct ( cmox_sha512_handle_t * P_pThis )

SHA512/256 constructor.

Parameters :

P_pThis – Pointer to the SHA512 handle to initialize

Returns :

cmox_hash_handle_t* Pointer to a general hash handle. This will be used by the general purpose hash functions in order to perform the algorithm

9.3. CMOX SHA512 PUBLIC TYPES

group CMOX_SHA512_PUBLIC_TYPES

Typedefs

typedef cmox_mdLarge_handle_t cmox_sha512_handle_t

SHA512 handle type definition.