rpm 5.2.1

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

- File List
- Globals

rpmio/rpmbc.h
Go to the documentation of this file.

    00001 #ifndef H_RPMBC
    00002 #define H_RPMBC
    00003
    00008 #ifdef HAVE_BEECRYPT_API_H
    00009 #include <beecrypt/api.h>
    00010 #endif
    00011
    00012 #include <rpmiotypes.h>
    00013 #include <rpmpgp.h>
    00014 #include <rpmsw.h>
    00015
    00016 /* Drag in the beecrypt includes. */
    00017 #include <beecrypt/beecrypt.h>
    00018 #include <beecrypt/base64.h>
    00019 #include <beecrypt/dsa.h>
    00020 #include <beecrypt/endianness.h>
    00021 #include <beecrypt/md5.h>
    00022 #include <beecrypt/mp.h>
    00023 #include <beecrypt/rsa.h>
    00024 #include <beecrypt/rsapk.h>
    00025 #include <beecrypt/sha1.h>
    00026 #include <beecrypt/sha256.h>
    00027 #include <beecrypt/sha384.h>
    00028 #include <beecrypt/sha512.h>
    00029
    00032 typedef /*abstract@*/ struct rpmbc_s * rpmbc;
    00033
    00036 #if defined(_RPMBC_INTERNAL)
    00037 struct rpmbc_s {
    00038     /* DSA parameters. */
    00039     mpbarrett p;
    00040     mpbarrett q;
    00041     mpnumber g;
    00042     mpnumber y;
    00043     mpnumber hm;
    00044     mpnumber r;
    00045     mpnumber s;
    00046
    00047     /* RSA parameters. */
    00048     rsapk rsa_pk;
    00049     mpnumber m;
    00050     mpnumber c;
    00051     mpnumber rsahm;
    00052 };
    00053 #endif
    00054
    00055 /*@unchecked@*/
    00056 extern pgpImplVecs_t rpmbcImplVecs;
    00057
    00058 #endif  /* H_RPMBC */