Unix
Mac OS X
Windows
Options
Unix
Windows

# Module sha384 Methods

## AcquireSHA384Info

AcquireSHA384Info() allocate the SHA384Info structure.

The format of the AcquireSHA384Info method is:

      SHA384Info *AcquireSHA384Info(void)

## DestroySHA384Info

DestroySHA384Info() zeros memory associated with the SHA384Info structure.

The format of the DestroySHA384Info method is:

      SHA384Info *DestroySHA384Info(SHA384Info *sha_info)

A description of each parameter follows:

##### sha_info

The cipher sha_info.

## FinalizeSHA384

FinalizeSHA384() finalizes the SHA384 message accumulator computation.

The format of the FinalizeSHA384 method is:

      FinalizeSHA384(SHA384Info *sha_info)

A description of each parameter follows:

##### sha_info

The address of a structure of type SHA384Info.

## GetSHA384Blocksize

GetSHA384Blocksize() returns the SHA384 blocksize.

The format of the GetSHA384Blocksize method is:

      unsigned int *GetSHA384Blocksize(const SHA384Info *sha384_info)

A description of each parameter follows:

##### sha384_info

The sha384 info.

## GetSHA384Digest

GetSHA384Digest() returns the SHA384 digest.

The format of the GetSHA384Digest method is:

      const StringInfo *GetSHA384Digest(const SHA384Info *sha384_info)

A description of each parameter follows:

##### sha384_info

The sha384 info.

## GetSHA384Digestsize

GetSHA384Digestsize() returns the SHA384 digest size.

The format of the GetSHA384Digestsize method is:

      unsigned int *GetSHA384Digestsize(const SHA384Info *sha384_info)

A description of each parameter follows:

##### sha384_info

The sha384 info.

## IntializeSHA384

IntializeSHA384() intializes the SHA384 accumulator.

The format of the DestroySHA384Info method is:

      void InitializeSHA384Info(SHA384Info *sha_info)

A description of each parameter follows:

##### sha_info

The cipher sha_info.

## TransformSHA384

TransformSHA384() transforms the SHA384 message accumulator.

The format of the TransformSHA384 method is:

      TransformSHA384(SHA384Info *sha_info)

A description of each parameter follows:

##### sha_info

The address of a structure of type SHA384Info.

## UpdateSHA384

UpdateSHA384() updates the SHA384 message accumulator.

The format of the UpdateSHA384 method is:

      UpdateSHA384(SHA384Info *sha_info,const StringInfo *message)

A description of each parameter follows:

##### sha_info

The address of a structure of type SHA384Info.

##### message

The message.

Discourse Server