Unix
Mac OS X
Windows
Options
Unix
Windows

# Module sha2224 Methods

## AcquireSHA2224Info

AcquireSHA2224Info() allocate the SHA2224Info structure.

The format of the AcquireSHA2224Info method is:

      SHA2224Info *AcquireSHA2224Info(void)

## DestroySHA2224Info

DestroySHA2224Info() zeros memory associated with the SHA2224Info structure.

The format of the DestroySHA2224Info method is:

      SHA2224Info *DestroySHA2224Info(SHA2224Info *sha_info)

A description of each parameter follows:

##### sha_info

The cipher sha_info.

## FinalizeSHA2224

FinalizeSHA2224() finalizes the SHA2224 message accumulator computation.

The format of the FinalizeSHA2224 method is:

      FinalizeSHA2224(SHA2224Info *sha_info)

A description of each parameter follows:

##### sha_info

The address of a structure of type SHA2224Info.

## GetSHA2224Blocksize

GetSHA2224Blocksize() returns the SHA2224 blocksize.

The format of the GetSHA2224Blocksize method is:

      unsigned int *GetSHA2224Blocksize(const SHA2224Info *sha2224_info)

A description of each parameter follows:

##### sha2224_info

The sha2224 info.

## GetSHA2224Digest

GetSHA2224Digest() returns the SHA2224 digest.

The format of the GetSHA2224Digest method is:

      const StringInfo *GetSHA2224Digest(const SHA2224Info *sha2224_info)

A description of each parameter follows:

##### sha2224_info

The sha2224 info.

## GetSHA2224Digestsize

GetSHA2224Digestsize() returns the SHA2224 digest size.

The format of the GetSHA2224Digestsize method is:

      unsigned int *GetSHA2224Digestsize(const SHA2224Info *sha2224_info)

A description of each parameter follows:

##### sha2224_info

The sha2224 info.

## IntializeSHA2224

IntializeSHA2224() intializes the SHA2224 accumulator.

The format of the DestroySHA2224Info method is:

      void InitializeSHA2224Info(SHA2224Info *sha_info)

A description of each parameter follows:

##### sha_info

The cipher sha_info.

## TransformSHA2224

TransformSHA2224() transforms the SHA2224 message accumulator.

The format of the TransformSHA2224 method is:

      TransformSHA2224(SHA2224Info *sha_info)

A description of each parameter follows:

##### sha_info

The address of a structure of type SHA2224Info.

## UpdateSHA2224

UpdateSHA2224() updates the SHA2224 message accumulator.

The format of the UpdateSHA2224 method is:

      UpdateSHA2224(SHA2224Info *sha_info,const StringInfo *message)

A description of each parameter follows:

##### sha_info

The address of a structure of type SHA2224Info.

##### message

The message.

Discourse Server