![]() |
xilsecure
Vitis Drivers API Documentation
|
Macros | |
| #define | XSECURE_IPI_CONTINUE_MASK (0x80000000U) |
| IPI Continue Mask. More... | |
Functions | |
| int | XSecure_Sha3IpiHandler (XPlmi_Cmd *Cmd) |
| This function calls respective IPI handler based on the API_ID. More... | |
| s32 | XSecure_Sha1Digest (const u8 *const Data, u32 Len, u8 *const Hash) |
| This function calculates SHA1 hash on given input data. More... | |
| #define XSECURE_IPI_CONTINUE_MASK (0x80000000U) |
IPI Continue Mask.
| s32 XSecure_Sha1Digest | ( | const u8 *const | Data, |
| u32 | Len, | ||
| u8 *const | Hash | ||
| ) |
This function calculates SHA1 hash on given input data.
| Data | Pointer to input data |
| Len | Length of input data |
| Hash | Pointer to memory location where calculated hash to be stored |
| int XSecure_Sha3IpiHandler | ( | XPlmi_Cmd * | Cmd | ) |
This function calls respective IPI handler based on the API_ID.
| Cmd | is pointer to the command structure |
SHA IPI event handling
Call the API handler according to API ID
References XSECURE_API, XSECURE_API_ID_MASK, XSECURE_API_SHA3_UPDATE, XSecure_GetSha3Instance(), XSecure_IpiEventHandling(), and XSecure_MakeResFree().