• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

rpmio/rpmgc.h

Go to the documentation of this file.
00001 #ifndef H_RPMGC
00002 #define H_RPMGC
00003 
00008 #include <rpmiotypes.h>
00009 #include <rpmpgp.h>
00010 #include <rpmsw.h>
00011 
00012 /* Implementation specific includes. */
00013 #if defined(_RPMGC_INTERNAL)
00014 #include <gcrypt.h>
00015 #endif
00016 
00019 typedef /*abstract@*/ struct rpmgc_s * rpmgc;
00020 
00024 #if defined(_RPMGC_INTERNAL)
00025 struct rpmgc_s {
00026     gcry_sexp_t sig;
00027     gcry_sexp_t hash;
00028     gcry_sexp_t pkey;
00029 
00030     /* DSA parameters. */
00031     gcry_mpi_t p;
00032     gcry_mpi_t q;
00033     gcry_mpi_t g;
00034     gcry_mpi_t y;
00035 
00036     gcry_mpi_t r;
00037     gcry_mpi_t s;
00038 
00039     gcry_mpi_t hm;
00040 
00041     /* RSA parameters. */
00042     gcry_mpi_t n;
00043     gcry_mpi_t e;
00044     gcry_mpi_t c;
00045 
00046 };
00047 #endif
00048 
00049 /*@unchecked@*/
00050 extern pgpImplVecs_t rpmgcImplVecs;
00051 
00052 #endif  /* H_RPMGC */

Generated on Fri Dec 3 2010 20:54:29 for rpm by  doxygen 1.7.2