xilasu
Vitis Drivers API Documentation
ECC API Example Generic Usage

Macros

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

Functions

int main (void)
 Main function to call the XAsu_EccGenSign() and XAsu_EccVerifySign() API's. More...
 

Variables

volatile u8 Notify = 0U
 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_DOUBLE_P256_SIZE_IN_BYTES   (64U)

2 * Size of NIST P-256 curve in bytes

#define XASU_ECC_P256_SIZE_IN_BYTES   (32U)

Size of NIST P-256 curve in bytes.

Function Documentation

int main ( void  )

Main function to call the XAsu_EccGenSign() and XAsu_EccVerifySign() API's.

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

Initialize mailbox instance.

Generate signature operation.

Verify signature operation.

Generate public key operation.

References XAsu_ClientInit().

Variable Documentation

volatile u32 ErrorStatus = XST_FAILURE

Status variable to store the error returned from server.

volatile u8 Notify = 0U

To notify the call back from client library.