![]() |
xilsecure
Vitis Drivers API Documentation
|
Macros | |
| #define | XSECURE_SHA_START (0x1U) |
| Operation flags for SHA start. More... | |
| #define | XSECURE_SHA_UPDATE (0x2U) |
| Operation flags for SHA update. More... | |
| #define | XSECURE_SHA_FINISH (0x4U) |
| Operation flags for SHA finish. More... | |
Functions | |
| int | XSecure_ShaIpiHandler (XPlmi_Cmd *Cmd) |
| This function calls respective IPI handler based on the API_ID. More... | |
| int | main (void) |
| Main function to call the SecureAesExample. More... | |
| #define XSECURE_SHA_FINISH (0x4U) |
Operation flags for SHA finish.
| #define XSECURE_SHA_START (0x1U) |
Operation flags for SHA start.
| #define XSECURE_SHA_UPDATE (0x2U) |
Operation flags for SHA update.
Referenced by XSecure_Sha3Finish(), and XSecure_Sha3Update().
| int main | ( | void | ) |
Main function to call the SecureAesExample.
Main function to call the SecureShaExample.
This example illustrates the usage of RSA APIs to encrypt or decrypt the signature.
Main function to call the SecureRsaExample.
| None |
| None |
References SecureAesExample().
| int XSecure_ShaIpiHandler | ( | 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
References XSECURE_API, XSECURE_API_ID_MASK, XSECURE_API_SHA2_OPERATION, XSECURE_API_SHA3_OPERATION, XSecure_GetSha2Instance(), XSecure_GetSha3Instance(), XSecure_IpiEventHandling(), XSecure_MakeResFree(), and XSecure_Printf.