xilasu
Vitis Drivers API Documentation
ASU HMAC API Example Generic Usage

Macros

#define ASU_HMAC_LEN_IN_BYTES   (64U)
 ASU HMAC length in bytes. More...
 
#define ASU_HMAC_KEY_LEN_IN_BYTES   (64U)
 ASU Key length in bytes. More...
 
#define ASU_HMAC_MSG_LEN_IN_BYTES   (128U)
 ASU Message length in bytes. More...
 

Functions

int main (void)
 Main function to call the Asu_HmacExample. 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 ASU_HMAC_KEY_LEN_IN_BYTES   (64U)

ASU Key length in bytes.

#define ASU_HMAC_LEN_IN_BYTES   (64U)

ASU HMAC length in bytes.

#define ASU_HMAC_MSG_LEN_IN_BYTES   (128U)

ASU Message length in bytes.

Function Documentation

int main ( void  )

Main function to call the Asu_HmacExample.

Returns
  • XST_SUCCESS, if HMAC successfully generated for given inputs.
  • XST_FAILURE, if the HMAC generation fails.

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.