XSecure_Sha3Initialize - 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 initializes a XSecure_Sha3 structure with the default values required for operating the SHA3 cryptographic engine.

Note: The base address is initialized directly with value from xsecure_hw.h The default is NIST SHA3 padding, to change to KECCAK padding call XSecure_Sha3PadSelection() after XSecure_Sha3Initialize() .

Prototype

s32 XSecure_Sha3Initialize(XSecure_Sha3 *InstancePtr, XCsuDma *CsuDmaPtr);

Parameters

The following table lists the XSecure_Sha3Initialize function arguments.

Table 1. XSecure_Sha3Initialize Arguments
Name Description
InstancePtr Pointer to the XSecure_Sha3 instance.
CsuDmaPtr Pointer to the XCsuDma instance.

Returns

XST_SUCCESS if initialization was successful