Forums - QCA4020: RSA encryption by exporting public key not working

1 post / 0 new
QCA4020: RSA encryption by exporting public key not working
akshay.b
Join Date: 2 Aug 19
Posts: 62
Posted: Wed, 2021-09-29 21:20

Hello,

We are having use case of RSA encryption, we are using API from qapi_crypto.h file to implement this encryption.

We are able to generate public and private key for RSA and test data encryption and decryption using these keys. Also we can import the public key to pem file in local variable.
Refer the attached file for better understanding.

The issue is when We have a third party RSA public key, now we need to encrypt our message using this public key. How to perform this encryption?

I think we need to export public key, but the api not seems to work. Please suggest some solution.

 

Regards,

Akshay

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.