3.3.1.1 st_Crypto_Hash_Sha_Ctx
Description
This structure is used to define context for SHA Algorithms including SHA-1, SHA-2 and SHA-3 excluding SHAKE.
Structure Elements Data Type | Element Name | Description |
---|---|---|
uint32_t | shaSessionId | It defines the session ID, must be more than zero |
crypto_Hash_Algo_E | shaAlgo_en | Enum to store algorithm value |
crypto_HandlerType_E | shaHandler_en | Enum to crypto operation handler i.e., SW, HW |
uint8_t | arr_shaDataCtx | Array for the Context variable data storage |