xilasu
Vitis Drivers API Documentation
xasu_ecc.c File Reference

Overview

This file contains the implementation of the client interface functions for ECC driver.

MODIFICATION HISTORY:
Ver   Who  Date     Changes


1.0 yog 08/19/24 Initial release yog 09/26/24 Added doxygen grouping and fixed doxygen comments. yog 11/27/24 Included input parameters validation. ss 12/02/24 Added support for ECDH yog 02/21/25 Changed XAsu_EccValidateCurveInfo() API to be non-static yog 03/25/25 Added support for public key generation.

 

Functions

s32 XAsu_EccGenSign (XAsu_ClientParams *ClientParamsPtr, XAsu_EccParams *EccParamsPtr)
 This function sends command to ASUFW to generate an ECDSA signature for the provided hash by using the given private key associated with the elliptic curve. More...
 
s32 XAsu_EccVerifySign (XAsu_ClientParams *ClientParamsPtr, XAsu_EccParams *EccParamsPtr)
 This function sends a command to validate the ECDSA signature for the provided hash using the provided ecc public key. More...
 
s32 XAsu_EccGenPubKey (XAsu_ClientParams *ClientParamsPtr, XAsu_EccKeyParams *EccKeyParamsPtr)
 This function sends a command to generate public key for the specified elliptic curve using the provided private key. More...
 
s32 XAsu_EccKat (XAsu_ClientParams *ClientParamsPtr)
 This function sends a command to perform ECC Known Answer Tests (KAT's). More...
 
s32 XAsu_EcdhGenSharedSecret (XAsu_ClientParams *ClientParamsPtr, XAsu_EcdhParams *EcdhParamsPtr)
 This function sends a command to ASUFW, to generate an ECDH shared secret, by using the provided ECC public key and private key. More...
 
s32 XAsu_EcdhKat (XAsu_ClientParams *ClientParamsPtr)
 This function sends a command to ASUFW to perform ECDH Known Answer Tests (KAT's). More...