xilrsa
Vitis Drivers API Documentation
xilrsa.h File Reference

Functions

void rsa2048_exp (const unsigned char *base, const unsigned char *modular, const unsigned char *modular_ext, const unsigned char *exponent, unsigned char *result)
 This function is used to encrypt the data using 2048 bit private key. More...
 
void rsa2048_pubexp (RSA_NUMBER a, RSA_NUMBER x, unsigned long e, RSA_NUMBER m, RSA_NUMBER rrm)
 This function is used to decrypt the data using 2048 bit public key. More...
 
void sha_256 (const unsigned char *in, const unsigned int size, unsigned char *out)
 This function calculates the hash for the input data using SHA-256 algorithm. More...
 
void sha2_starts (sha2_context *ctx)
 This function initializes the SHA2 context. More...
 
void sha2_update (sha2_context *ctx, unsigned char *input, unsigned int ilen)
 This function adds the input data to SHA256 calculation. More...
 
void sha2_finish (sha2_context *ctx, unsigned char *output)
 This function finishes the SHA calculation. More...