rpm
5.4.14
|
Go to the source code of this file.
Macros | |
#define | _RPMBC_INTERNAL |
#define | _RPMPGP_INTERNAL |
#define | SPEW(_t, _rc, _dig) |
#define | _spewMPB(_N, _MPB) |
#define | _spewMPN(_N, _MPN) |
Variables | |
int | _pgp_debug |
int | _pgp_print |
static int | _rpmbc_debug |
struct pgpImplVecs_s | rpmbcImplVecs |
#define _spewMPB | ( | _N, | |
_MPB | |||
) |
#define _spewMPN | ( | _N, | |
_MPN | |||
) |
#define SPEW | ( | _t, | |
_rc, | |||
_dig | |||
) |
Definition at line 25 of file rpmbc.c.
Referenced by rpmbcGenerate(), rpmbcGenerateDSA(), rpmbcGenerateRSA(), rpmbcSetDSA(), rpmbcSetECDSA(), rpmbcSetELG(), rpmbcSetRSA(), rpmbcSign(), rpmbcSignDSA(), rpmbcSignRSA(), rpmbcVerify(), rpmbcVerifyDSA(), and rpmbcVerifyRSA().
|
static |
Definition at line 31 of file rpmbc.c.
References pgpHashTbl, and pgpValStr().
Referenced by rpmbcGenerate(), rpmbcSetDSA(), rpmbcSetECDSA(), rpmbcSetELG(), rpmbcSetRSA(), rpmbcSign(), and rpmbcVerify().
|
static |
Definition at line 36 of file rpmbc.c.
References pgpPubkeyTbl, and pgpValStr().
Referenced by rpmbcGenerate(), rpmbcSetDSA(), rpmbcSetECDSA(), rpmbcSetELG(), rpmbcSetRSA(), rpmbcSign(), and rpmbcVerify().
|
static |
Convert hex to binary nibble.
c | hex character |
Definition at line 47 of file rpmbc.c.
References int.
Referenced by rpmbcSetRSA().
|
static |
Definition at line 681 of file rpmbc.c.
References nb, pgpHexCvt(), pgpMpiLen(), t, void, and xmalloc.
Referenced by pgpMpiSet(), and rpmbcMpiItem().
|
static |
Definition at line 694 of file rpmbc.c.
References _free(), _pgp_debug, fprintf(), ix, memset(), NULL, pgpMpiBits(), pgpMpiHex(), s, t, void, and xmalloc.
Referenced by rpmbcMpiItem().
Definition at line 559 of file rpmbc.c.
References PGPHASHALGO_MD5, and rc.
Definition at line 569 of file rpmbc.c.
References PGPHASHALGO_MD5, and rc.
Definition at line 864 of file rpmbc.c.
References be, NULL, pgpGetPubkey(), pgpPubkeyFingerprint(), PGPTAG_PUBLIC_KEY, pkt, pktlen, xmalloc, and xx.
Referenced by pgpDigNew().
int rpmbcExportSignature | ( | pgpDig | dig, |
DIGEST_CTX | ctx | ||
) |
Definition at line 923 of file rpmbc.c.
References assert(), be, h, NULL, pgpGetPubkey(), pgpGetSignature(), pgpImplSetDSA(), pgpImplSign(), PGPSIGTYPE_BINARY, PGPSUBTYPE_EXPORTABLE_CERT, PGPSUBTYPE_ISSUER_KEYID, PGPSUBTYPE_REVOCABLE, PGPSUBTYPE_SIG_CREATE_TIME, PGPSUBTYPE_SIG_EXPIRE_TIME, PGPTAG_SIGNATURE, pkt, pktlen, rpmDigestUpdate(), sigp, xmalloc, and xx.
Referenced by writeRPM().
Definition at line 834 of file rpmbc.c.
References _free(), NULL, and rpmbcClean().
Definition at line 648 of file rpmbc.c.
References _pgpHashAlgo2Name(), _pgpPubkeyAlgo2Name(), pgpGetPubkey(), pgpGetSignature(), PGPPUBKEYALGO_DSA, PGPPUBKEYALGO_ECDSA, PGPPUBKEYALGO_ELGAMAL, PGPPUBKEYALGO_RSA, rc, rpmbcGenerateDSA(), rpmbcGenerateRSA(), sigp, and SPEW.
|
static |
Definition at line 733 of file rpmbc.c.
References _free(), _pgp_debug, _pgp_print, _spewMPB, _spewMPN, assert(), NULL, pgpMpiHex(), pgpMpiSet(), rc, s, switch(), and void.
|
static |
Definition at line 248 of file rpmbc.c.
References _free(), _pgpHashAlgo2Name(), _pgpPubkeyAlgo2Name(), assert(), pgpGetPubkey(), rc, rpmDigestAlgo(), rpmDigestFinal(), and SPEW.
|
static |
Definition at line 482 of file rpmbc.c.
References _pgpHashAlgo2Name(), _pgpPubkeyAlgo2Name(), assert(), NULL, pgpGetPubkey(), rc, rpmDigestAlgo(), rpmDigestFinal(), SPEW, and xx.
|
static |
Definition at line 342 of file rpmbc.c.
References _pgpHashAlgo2Name(), _pgpPubkeyAlgo2Name(), assert(), NULL, pgpGetPubkey(), rc, rpmDigestAlgo(), rpmDigestFinal(), SPEW, and xx.
|
static |
Definition at line 109 of file rpmbc.c.
References _free(), _pgpHashAlgo2Name(), _pgpPubkeyAlgo2Name(), assert(), exit, memset(), nb, nibble(), NULL, pgpGetPubkey(), prefix, rc, rpmDigestAlgo(), rpmDigestASN1(), rpmDigestFinal(), s, SPEW, stpcpy(), t, unsigned, void, xmalloc, and xx.
Definition at line 618 of file rpmbc.c.
References _pgpHashAlgo2Name(), _pgpPubkeyAlgo2Name(), pgpGetPubkey(), pgpGetSignature(), PGPPUBKEYALGO_DSA, PGPPUBKEYALGO_ECDSA, PGPPUBKEYALGO_ELGAMAL, PGPPUBKEYALGO_RSA, rc, rpmbcSignDSA(), rpmbcSignRSA(), sigp, and SPEW.
Definition at line 588 of file rpmbc.c.
References _pgpHashAlgo2Name(), _pgpPubkeyAlgo2Name(), pgpGetPubkey(), pgpGetSignature(), PGPPUBKEYALGO_DSA, PGPPUBKEYALGO_ECDSA, PGPPUBKEYALGO_ELGAMAL, PGPPUBKEYALGO_RSA, rc, rpmbcVerifyDSA(), rpmbcVerifyRSA(), sigp, and SPEW.
struct pgpImplVecs_s rpmbcImplVecs |
Definition at line 850 of file rpmbc.c.
Referenced by pgpDigNew(), and rpmioAllArgCallback().