This function updates the SHA3 engine with the input data.
Prototype
u32 XSecure_Sha3Update(XSecure_Sha3 *InstancePtr, const u8 *Data, const u32 Size);
Parameters
The following table lists the XSecure_Sha3Update
function arguments.
Name | Description |
---|---|
InstancePtr | Pointer to the XSecure_Sha3 instance. |
Data | Pointer to the input data for hashing. |
Size | Size of the input data in bytes. |
Returns
- XST_SUCCESS if the update is successful
- XST_FAILURE if there is a failure in SSS config