(gcrypt.info) Using cryptographic functions

Info Catalog (gcrypt.info) Working with keys (gcrypt.info) Public Key cryptography (II) (gcrypt.info) Handle-independent functions
 
 Using cryptographic functions
 =============================
 
 The following flags might be relevant:
 
 `GCRY_AC_FLAG_NO_BLINDING'
      Disable any blinding, which might be supported by the chosen
      algorithm; blinding is the default.
 
  - Function: gcry_error_t gcry_ac_data_encrypt (gcry_ac_handle_t
           HANDLE, unsigned int FLAGS, gcry_ac_key_t KEY, gcry_mpi_t
           DATA_PLAIN, gcry_ac_data_t **DATA_ENCRYPTED)
      Encrypts the plain text MPI value DATA_PLAIN with the key public
      KEY under the control of the flags FLAGS and stores the resulting
      data set into DATA_ENCRYPTED.
 
  - Function: gcry_error_t gcry_ac_data_decrypt (gcry_ac_handle_t
           HANDLE, unsigned int FLAGS, gcry_ac_key_t KEY, gcry_mpi_t
           *DATA_PLAIN, gcry_ac_data_t DATA_ENCRYPTED)
      Decrypts the encrypted data contained in the data set
      DATA_ENCRYPTED with the secret key KEY under the control of the
      flags FLAGS and stores the resulting plain text MPI value in
      DATA_PLAIN.
 
  - Function: gcry_error_t gcry_ac_data_sign (gcry_ac_handle_t HANDLE,
           gcry_ac_key_t KEY, gcry_mpi_t DATA, gcry_ac_data_t
           *DATA_SIGNATURE)
      Signs the data contained in DATA with the secret key KEY and
      stores the resulting signature in the data set DATA_SIGNATURE.
 
  - Function: gcry_error_t gcry_ac_data_verify (gcry_ac_handle_t HANDLE,
           gcry_ac_key_t KEY, gcry_mpi_t DATA, gcry_ac_data_t
           DATA_SIGNATURE)
      Verifies that the signature contained in the data set
      DATA_SIGNATURE is indeed the result of signing the data contained
      in DATA with the secret key belonging to the public key KEY.
 
Info Catalog (gcrypt.info) Working with keys (gcrypt.info) Public Key cryptography (II) (gcrypt.info) Handle-independent functions
automatically generated by info2html