3.5.1.1 st_Crypto_Hash_Blake_Ctx

Description

This structure is used to define context for BLAKE algorithms variants.

Structure Elements Data TypeElement NameDescription
uint32_tblakeSessionIdIt defines the session ID, must be more than zero
uint32_tdigestLenHash length required by user in bytes in multiples of 8
crypto_Hash_Algo_EblakeAlgo_enEnum to store algorithm variant
crypto_HandlerType_EblakeHandler_enEnum to crypto operation handler i.e., SW, HW
uint8_t*ptr_key(Optional) Key used by BLAKE algorithm else NULL
uint32_tkeyLen(Optional) Key length used by BLAKE algorithm else 0 for unkey hashing for BLAKE. Maximum length of key is allowed 64 bytes for BLAKE2b and up to 32 bytes for BLAKE2s.
uint8_tarr_blakeDataCtx [400]Array for the context variable data storage