FreeRTOS-Plus/ThirdParty/WolfSSL-FIPS-Ready/wolfcrypt/src/sha3.c
/* Initialize the state for a SHA3-224 hash operation.
 *
 * sha3   wc_Sha3 object holding state.
 * returns 0 on success.
 */
Initialize the state for a SHA3-224 hash operation.
sha3   wc_Sha3 object holding state.
returns 0 on success.
Initialize the state for a SHA3 - 224 hash operation . sha3 wc_Sha3 object holding state . returns 0 on success .
static int InitSha3(wc_Sha3* sha3)
{
    int i;
    for (i = 0; i < 25; i++)
        sha3->s[i] = 0;
    sha3->i = 0;
#if defined(WOLFSSL_HASH_FLAGS) || defined(WOLF_CRYPTO_CB)
    sha3->flags = 0;
#endif
    return 0;
}
static int InitSha3 ( wc_Sha3 * sha3 ) { int i ; for ( i = 0 ; i < 25 ; i ++ ) sha3 -> s [ i ] = 0 ; sha3 -> i = 0 ; #if defined ( WOLFSSL_HASH_FLAGS ) || defined ( WOLF_CRYPTO_CB ) sha3 -> flags = 0 ; #endif return 0 ; }
Initialize the state for a SHA3-224 hash operation.
Initialize the state for a SHA3 - 224 hash operation .