![]() |
xilasu
Vitis Drivers API Documentation
|
Macros | |
| #define | XASU_ECIES_INPUT_DATA_LENGTH (36U) |
| Input data length. More... | |
| #define | XASU_ECIES_CONTEXT_LENGTH (36U) |
| Input context length used for KDF. More... | |
| #define | XASU_ECC_DOUBLE_P384_SIZE_IN_BYTES (96U) |
| Double length of the curve P384. More... | |
Functions | |
| int | main (void) |
| Main function to call the XAsu_EciesEncrypt() API and XAsu_EciesDecrypt() API. More... | |
Variables | |
| volatile u8 | Notify = 0 |
| To notify the call back from client library. More... | |
| volatile u32 | ErrorStatus = XST_FAILURE |
| Status variable to store the error returned from server. More... | |
| #define XASU_ECC_DOUBLE_P384_SIZE_IN_BYTES (96U) |
Double length of the curve P384.
| #define XASU_ECIES_CONTEXT_LENGTH (36U) |
Input context length used for KDF.
Referenced by main().
| #define XASU_ECIES_INPUT_DATA_LENGTH (36U) |
Input data length.
Referenced by main().
| int main | ( | void | ) |
Main function to call the XAsu_EciesEncrypt() API and XAsu_EciesDecrypt() API.
| None |
Initialize mailbox instance.
References XAsu_EciesParams::AesKeySize, XAsu_ClientParams::CallBackFuncPtr, XAsu_ClientParams::CallBackRefPtr, XAsu_EciesParams::ContextAddr, XAsu_EciesParams::ContextLen, XAsu_EciesParams::DataLength, XAsu_EciesParams::EccCurveType, XAsu_EciesParams::EccKeyLength, XAsu_EciesParams::InDataAddr, XAsu_EciesParams::IvAddr, XAsu_EciesParams::IvLength, XAsu_EciesParams::MacAddr, XAsu_EciesParams::MacLength, XAsu_EciesParams::OutDataAddr, XAsu_ClientParams::Priority, XAsu_EciesParams::RxKeyAddr, XAsu_EciesParams::SaltAddr, XAsu_EciesParams::SaltLen, XAsu_EciesParams::ShaMode, XAsu_EciesParams::ShaType, XAsu_EciesParams::TxKeyAddr, XASU_AES_IV_SIZE_96BIT_IN_BYTES, XASU_AES_KEY_SIZE_256_BITS, XASU_AES_MAX_TAG_LENGTH_IN_BYTES, XAsu_ClientInit(), XASU_ECC_NIST_P384, XASU_ECC_P384_SIZE_IN_BYTES, XASU_ECIES_CONTEXT_LENGTH, XASU_ECIES_INPUT_DATA_LENGTH, XAsu_EciesDecrypt(), XAsu_EciesEncrypt(), XASU_PRIORITY_HIGH, XASU_SHA2_TYPE, and XASU_SHA_MODE_SHA256.
| volatile u32 ErrorStatus = XST_FAILURE |
Status variable to store the error returned from server.
| volatile u8 Notify = 0 |
To notify the call back from client library.