xilasu
Vitis Drivers API Documentation
ECDH API Example Generic Usage

Macros

#define XASU_ECC_P256_SIZE_IN_BYTES   (32U)
 Size of NIST P-256 curve in bytes. More...
 

Functions

int main (void)
 Main function to call the XAsu_EcdhGenSharedSecret() 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...
 

Macro Definition Documentation

#define XASU_ECC_P256_SIZE_IN_BYTES   (32U)

Size of NIST P-256 curve in bytes.

Referenced by main().

Function Documentation

int main ( void  )

Main function to call the XAsu_EcdhGenSharedSecret() API.

Parameters
None
Returns
  • XST_SUCCESS if example runs successfully
  • ErrorCode if the example fails.

Initialize mailbox instance.

References XAsu_ClientParams::CallBackFuncPtr, XAsu_ClientParams::CallBackRefPtr, XAsu_ClientParams::Priority, XAsu_ClientInit(), XASU_ECC_NIST_P256, XASU_ECC_P256_SIZE_IN_BYTES, XAsu_EcdhGenSharedSecret(), and XASU_PRIORITY_HIGH.

Variable Documentation

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.