rpm 5.2.1

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

- File List
- Globals

rpmbc.h
Go to the documentation of this file.
1 #ifndef H_RPMBC
2 #define H_RPMBC
3
8 #ifdef HAVE_BEECRYPT_API_H
9 #include <beecrypt/api.h>
10 #endif
11
12 #include <rpmiotypes.h>
13 #include <rpmpgp.h>
14 #include <rpmsw.h>
15
16 /* Drag in the beecrypt includes. */
17 #include <beecrypt/beecrypt.h>
18 #include <beecrypt/base64.h>
19 #include <beecrypt/dsa.h>
20 #include <beecrypt/endianness.h>
21 #include <beecrypt/md5.h>
22 #include <beecrypt/mp.h>
23 #include <beecrypt/rsa.h>
24 #include <beecrypt/rsapk.h>
25 #include <beecrypt/sha1.h>
26 #include <beecrypt/sha256.h>
27 #include <beecrypt/sha384.h>
28 #include <beecrypt/sha512.h>
29
32 typedef /*abstract@*/ struct rpmbc_s * rpmbc;
33
36 #if defined(_RPMBC_INTERNAL)
37 struct rpmbc_s {
38 /* DSA parameters. */
39 mpbarrett p;
40 mpbarrett q;
41 mpnumber g;
42 mpnumber y;
43 mpnumber hm;
44 mpnumber r;
45 mpnumber s;
46
47 /* RSA parameters. */
48 rsapk rsa_pk;
49 mpnumber m;
50 mpnumber c;
51 mpnumber rsahm;
52 };
53 #endif
54
55 /*@unchecked@*/
56 extern pgpImplVecs_t rpmbcImplVecs;
57
58 #endif /* H_RPMBC */