(gcrypt.info) Misc

Info Catalog (gcrypt.info) Bit manipulations (gcrypt.info) MPI library
 
 Misc
 ====
 
 The remaining MPI functions take care of very special properties of the
 implementation:
 
  - Function: gcry_mpi_t gcry_mpi_set_opaque (gcry_mpi_t A, void *P,
           unsigned int NBITS)
      Store NBITS of the value P points to in A and mark A as an opaque
      value (i.e. an value that can't be used for any math calculation
      and is only used to store an arbitrary bit pattern in A.
 
      WARNING: Never use an opaque MPI for actual math operations.  The
      only valid functions are gcry_mpi_get_opaque and gcry_mpi_release.
      Use gcry_mpi_scan to convert a string of arbitrary bytes into an
      MPI.
 
 
  - Function: void * gcry_mpi_get_opaque (gcry_mpi_t A,
           unsigned int *NBITS)
      Return a pointer to an opaque value stored in A and return its
      size in NBITS.  Note, that the returned pointer is still owned by
      A and that the function should never be used for an non-opaque MPI.
 
  - Function: void gcry_mpi_set_flag (gcry_mpi_t A,
           enum gcry_mpi_flag FLAG)
      Set the FLAG for the MPI A.  Currently only the flag
      `GCRYMPI_FLAG_SECURE' is allowed to convert A into an MPI stored
      in "secure memory".
 
  - Function: void gcry_mpi_clear_flag (gcry_mpi_t A,
           enum gcry_mpi_flag FLAG)
      Clear FLAG for the big integer A.  Note, that this function is
      currently useless as no flags are allowed.
 
  - Function: int gcry_mpi_get_flag (gcry_mpi_t A,
           enum gcry_mpi_flag FLAG)
      Return true when the FLAG is set for A.
 
Info Catalog (gcrypt.info) Bit manipulations (gcrypt.info) MPI library
automatically generated by info2html