Unix
Mac OS X
Windows
Options
Unix
Windows

# Module sha2384 Methods

## AcquireSHA2384Info

AcquireSHA2384Info() allocate the SHA2384Info structure.

The format of the AcquireSHA2384Info method is:

      SHA2384Info *AcquireSHA2384Info(void)

## DestroySHA2384Info

DestroySHA2384Info() zeros memory associated with the SHA2384Info structure.

The format of the DestroySHA2384Info method is:

      SHA2384Info *DestroySHA2384Info(SHA2384Info *sha_info)

A description of each parameter follows:

##### sha_info

The cipher sha_info.

## FinalizeSHA2384

FinalizeSHA2384() finalizes the SHA2384 message accumulator computation.

The format of the FinalizeSHA2384 method is:

      FinalizeSHA2384(SHA2384Info *sha_info)

A description of each parameter follows:

##### sha_info

The address of a structure of type SHA2384Info.

## GetSHA2384Blocksize

GetSHA2384Blocksize() returns the SHA2384 blocksize.

The format of the GetSHA2384Blocksize method is:

      unsigned int *GetSHA2384Blocksize(const SHA2384Info *sha2384_info)

A description of each parameter follows:

##### sha2384_info

The sha2384 info.

## GetSHA2384Digest

GetSHA2384Digest() returns the SHA2384 digest.

The format of the GetSHA2384Digest method is:

      const StringInfo *GetSHA2384Digest(const SHA2384Info *sha2384_info)

A description of each parameter follows:

##### sha2384_info

The sha2384 info.

## GetSHA2384Digestsize

GetSHA2384Digestsize() returns the SHA2384 digest size.

The format of the GetSHA2384Digestsize method is:

      unsigned int *GetSHA2384Digestsize(const SHA2384Info *sha2384_info)

A description of each parameter follows:

##### sha2384_info

The sha2384 info.

## IntializeSHA2384

IntializeSHA2384() intializes the SHA2384 accumulator.

The format of the DestroySHA2384Info method is:

      void InitializeSHA2384Info(SHA2384Info *sha_info)

A description of each parameter follows:

##### sha_info

The cipher sha_info.

## TransformSHA2384

TransformSHA2384() transforms the SHA2384 message accumulator.

The format of the TransformSHA2384 method is:

      TransformSHA2384(SHA2384Info *sha_info)

A description of each parameter follows:

##### sha_info

The address of a structure of type SHA2384Info.

## UpdateSHA2384

UpdateSHA2384() updates the SHA2384 message accumulator.

The format of the UpdateSHA2384 method is:

      UpdateSHA2384(SHA2384Info *sha_info,const StringInfo *message)

A description of each parameter follows:

##### sha_info

The address of a structure of type SHA2384Info.

##### message

The message.

Discourse Server