1 Reply Latest reply on Jun 29, 2019 1:41 AM by DheerajK_81

    Does anyone know how I can use the RSA private key to encrypt data in psoc 6?

    caRa_3762551

      I've been using the Cy_crypto_rsa_proc function but I can only use the RSA public key, does anyone know how I can call the RSA private key?

        • 1. Re: Does anyone know how I can use the RSA private key to encrypt data in psoc 6?
          DheerajK_81

          RSA Standard provides the options of encryption or signature verification using the public key and decryption or signature generation using the private key.

           

          Currently, the crypto driver provides support only for encryption or signature verification using Montgomery multiplication, Montgomery exponentiation and Barrett reduction methods and this is done using only the public key.

           

          What you are asking for is signature generation using the private key which isn't yet supported and hence the API Cy_Crypto_Rsa_Proc can't be used. The APIs currently only support encryption and signature verification.

           

          Regards,
          Dheeraj

          1 of 1 people found this helpful