rpm 5.2.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

rpmgc.h
Go to the documentation of this file.
1 #ifndef H_RPMGC
2 #define H_RPMGC
3
8 #include <rpmiotypes.h>
9 #include <rpmpgp.h>
10 #include <rpmsw.h>
11
12 /* Implementation specific includes. */
13 #if defined(_RPMGC_INTERNAL)
14 #include <gcrypt.h>
15 #endif
16
19 typedef /*abstract@*/ struct rpmgc_s * rpmgc;
20
24 #if defined(_RPMGC_INTERNAL)
25 struct rpmgc_s {
26 gcry_sexp_t sig;
27 gcry_sexp_t hash;
28 gcry_sexp_t pkey;
29
30 /* DSA parameters. */
31 gcry_mpi_t p;
32 gcry_mpi_t q;
33 gcry_mpi_t g;
34 gcry_mpi_t y;
35
36 gcry_mpi_t r;
37 gcry_mpi_t s;
38
39 gcry_mpi_t hm;
40
41 /* RSA parameters. */
42 gcry_mpi_t n;
43 gcry_mpi_t e;
44 gcry_mpi_t c;
45
46 };
47 #endif
48
49 /*@unchecked@*/
50 extern pgpImplVecs_t rpmgcImplVecs;
51
52 #endif /* H_RPMGC */