FreeRTOS-Plus/ThirdParty/WolfSSL-FIPS-Ready/wolfcrypt/src/sha3.c
/* Update the SHAKE256 hash state with message data.
 *
 * shake  wc_Shake object holding state.
 * data  Message data to be hashed.
 * len   Length of the message data.
 * returns 0 on success.
 */
Update the SHAKE256 hash state with message data.
shake  wc_Shake object holding state.
data  Message data to be hashed.
len   Length of the message data.
returns 0 on success.
Update the SHAKE256 hash state with message data . shake wc_Shake object holding state . data Message data to be hashed . len Length of the message data . returns 0 on success .
int wc_Shake256_Update(wc_Shake* shake, const byte* data, word32 len)
{
    if (shake == NULL || (data == NULL && len > 0)) {
         return BAD_FUNC_ARG;
    }
    if (data == NULL && len == 0) {
        return 0;
    }
    return Sha3Update(shake, data, len, WC_SHA3_256_COUNT);
}
int wc_Shake256_Update ( wc_Shake * shake , const byte * data , word32 len ) { if ( shake == NULL || ( data == NULL && len > 0 ) ) { return BAD_FUNC_ARG ; } if ( data == NULL && len == 0 ) { return 0 ; } return Sha3Update ( shake , data , len , WC_SHA3_256_COUNT ) ; }
Update the SHAKE256 hash state with message data.
Update the SHAKE256 hash state with message data .
/* valid, but do nothing */