3.5.2.3 Crypto_Hash_Blake_Update

crypto_Hash_Status_E Crypto_Hash_Blake_Update (
    st_Crypto_Hash_Blake_Ctx *ptr_blakeCtx_st, 
    uint8_t *ptr_data, 
    uint32_t dataLen
    ); 

Description

This API performs hash calculation for different variants BLAKE algorithms in multi-steps. Initialize context by calling Crypto_Hash_Blake_Init function before calling this API and after this API call Crypto_Hash_Blake_Final to get hash/digest.

Parameters

No.Argument TypeArgument NameTypeDescription
1st_Crypto_Hash_Blake_Ctx*ptr_blakeCtx_stInputBLAKE variant algorithm and crypto handler selection
2uint8_t*ptr_dataInputInput data which digest needs to calculate
3uint32_tdataLenInputLength of the input data in number of bytes

Returns

Return TypeDescription
crypto_Hash_Status_EFunction returns the status of the API.