AcquireSHA3InfoDestroySHA3InfoFinalizeSHA3GetSHA3BlocksizeGetSHA3DigestGetSHA3DigestsizeIntializeSHA3UpdateSHA3

AcquireSHA3Info

AcquireSHA3Info() allocate the SHA3Info structure.

The format of the AcquireSHA3Info method is:

SHA3Info *AcquireSHA3Info(const HashType hash)

A description of each parameter follows:

hash
The hash type.

DestroySHA3Info

DestroySHA3Info() zeros memory associated with the SHA3Info structure.

The format of the DestroySHA3Info method is:

SHA3Info *DestroySHA3Info(SHA3Info *sha_info)

A description of each parameter follows:

sha_info
The cipher sha_info.

FinalizeSHA3

FinalizeSHA3() finalizes the SHA3 message accumulator computation.

The format of the FinalizeSHA3 method is:

WizardBooleanType FinalizeSHA3(SHA3Info *sha_info)

A description of each parameter follows:

sha_info
The address of a structure of type SHA3Info.

GetSHA3Blocksize

GetSHA3Blocksize() returns the SHA3 blocksize.

The format of the GetSHA3Blocksize method is:

unsigned int *GetSHA3Blocksize(const SHA3Info *sha_info)

A description of each parameter follows:

sha_info
The sha3 info.

GetSHA3Digest

GetSHA3Digest() returns the SHA3 digest.

The format of the GetSHA3Digest method is:

const StringInfo *GetSHA3Digest(const SHA3Info *sha_info)

A description of each parameter follows:

sha_info
The sha3 info.

GetSHA3Digestsize

GetSHA3Digestsize() returns the SHA3 digest size.

The format of the GetSHA3Digestsize method is:

unsigned int *GetSHA3Digestsize(const SHA3Info *sha_info)

A description of each parameter follows:

sha_info
The sha3 info.

IntializeSHA3

IntializeSHA3() intializes the SHA3 accumulator.

The format of the InitializeSHA3Info method is:

WizardBooleanType InitializeSHA3(SHA3Info *sha_info)

A description of each parameter follows:

sha_info
The cipher sha_info.

UpdateSHA3

UpdateSHA3() updates the SHA3 message accumulator.

The format of the UpdateSHA3 method is:

WizardbooleanType UpdateSHA3(SHA3Info *sha_info,
  const StringInfo *message)

A description of each parameter follows:

sha_info
The address of a structure of type SHA3Info.
message
The message