xilocp
Vitis Drivers API Documentation
XilOcp API Example Usage

Functions

int main (void)
 Main function to call the OCP function to generate response to DME challenge request. More...
 

Function Documentation

int main ( void  )

Main function to call the OCP function to generate response to DME challenge request.

Main function to call the OCP functions to extend and get PCR for requesting ROM services.

Returns
  • XST_SUCCESS - On success
  • Errorcode - On failure

References XOcp_ClientInit(), XOCP_DME_DEVICE_ID_SIZE_BYTES, XOCP_DME_MEASURE_SIZE_BYTES, XOCP_DME_NONCE_SIZE_BYTES, XOCP_ECC_P384_SIZE_BYTES, and XOcp_GenDmeResp().