FreeRTOS-Plus/ThirdParty/WolfSSL-FIPS-Ready/wolfcrypt/src/sha3.c
/* Calculate the SHAKE256 hash based on all the message data seen.
 * The state is initialized ready for a new message to hash.
 *
 * shake  wc_Shake object holding state.
 * hash  Buffer to hold the hash result. Must be at least 64 bytes.
 * returns 0 on success.
 */
Calculate the SHAKE256 hash based on all the message data seen.
The state is initialized ready for a new message to hash.

shake  wc_Shake object holding state.
hash  Buffer to hold the hash result. Must be at least 64 bytes.
returns 0 on success.
Calculate the SHAKE256 hash based on all the message data seen . The state is initialized ready for a new message to hash . shake wc_Shake object holding state . hash Buffer to hold the hash result . Must be at least 64 bytes . returns 0 on success .
int wc_Shake256_Final(wc_Shake* shake, byte* hash, word32 hashLen)
{
    int ret;
    if (shake == NULL || hash == NULL) {
        return BAD_FUNC_ARG;
    }
    ret = Sha3Final(shake, 0x1f, hash, WC_SHA3_256_COUNT, hashLen);
    if (ret != 0)
        return ret;
    return InitSha3(shake);  
}
int wc_Shake256_Final ( wc_Shake * shake , byte * hash , word32 hashLen ) { int ret ; if ( shake == NULL || hash == NULL ) { return BAD_FUNC_ARG ; } ret = Sha3Final ( shake , 0x1f , hash , WC_SHA3_256_COUNT , hashLen ) ; if ( ret != 0 ) return ret ; return InitSha3 ( shake ) ; }
Calculate the SHAKE256 hash based on all the message data seen.
Calculate the SHAKE256 hash based on all the message data seen .
/* reset state */