rpm
5.4.10
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
rpmio
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
int
in_fips_mode;
/* XXX trsa */
27
int
nbits;
/* XXX trsa */
28
int
qbits;
/* XXX trsa */
29
gcry_error_t badok;
/* XXX trsa */
30
gcry_error_t err;
31
32
void
* digest;
33
size_t
digestlen;
34
35
gcry_sexp_t key_spec;
/* XXX private to Generate? */
36
gcry_sexp_t key_pair;
/* XXX private to Generate? */
37
38
gcry_sexp_t pub_key;
39
gcry_sexp_t sec_key;
40
gcry_sexp_t hash;
41
gcry_sexp_t sig;
42
43
/* DSA parameters. */
44
gcry_mpi_t p;
45
gcry_mpi_t q;
46
gcry_mpi_t g;
47
gcry_mpi_t y;
48
49
gcry_mpi_t r;
50
gcry_mpi_t s;
51
52
gcry_mpi_t hm;
53
54
/* RSA parameters. */
55
gcry_mpi_t n;
56
gcry_mpi_t e;
57
gcry_mpi_t c;
58
59
/* ECDSA parameters (none atm). */
60
61
};
62
#endif
63
64
/*@unchecked@*/
65
extern
pgpImplVecs_t
rpmgcImplVecs
;
66
67
#endif
/* H_RPMGC */
Generated on Mon Nov 5 2012 15:32:19 for rpm by
1.8.1.2