XSecure_Sha3Update - 2021.1 English

Xilinx Standalone Library Documentation OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2021-06-16
Version
2021.1 English

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.

Table 1. XSecure_Sha3Update 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