155                          void ** datap, 
size_t * lenp, 
int asAscii);
 
int rpmInitCrypto(void)
Perform cryptography initialization.
 
rpmDigestBundle rpmDigestBundleFree(rpmDigestBundle bundle)
Free a digest bundle and all contained digest contexts.
 
rpmDigestFlags_e
Bit(s) to control digest operation.
 
DIGEST_CTX rpmDigestInit(int hashalgo, rpmDigestFlags flags)
Initialize digest.
 
int rpmDigestBundleAdd(rpmDigestBundle bundle, int algo, rpmDigestFlags flags)
Add a new type of digest to a bundle.
 
rpmHashAlgo_e
At this time these simply mirror PGPHASHALGO numbers.
 
int rpmDigestFinal(DIGEST_CTX ctx, void **datap, size_t *lenp, int asAscii)
Return digest and destroy context.
 
rpmDigestBundle rpmDigestBundleNew(void)
Create a new digest bundle.
 
int rpmDigestBundleFinal(rpmDigestBundle bundle, int id, void **datap, size_t *lenp, int asAscii)
Return digest from a bundle and destroy context, see rpmDigestFinal().
 
DIGEST_CTX rpmDigestDup(DIGEST_CTX octx)
Duplicate a digest context.
 
enum rpmHashAlgo_e rpmHashAlgo
At this time these simply mirror PGPHASHALGO numbers.
 
size_t rpmDigestLength(int hashalgo)
Obtain digest length in bytes.
 
DIGEST_CTX rpmDigestBundleDupCtx(rpmDigestBundle bundle, int id)
Duplicate a digest context from a bundle.
 
int rpmDigestUpdate(DIGEST_CTX ctx, const void *data, size_t len)
Update context with next plain text buffer.
 
int rpmFreeCrypto(void)
Shutdown cryptography.
 
struct DIGEST_CTX_s * DIGEST_CTX
 
int rpmDigestBundleAddID(rpmDigestBundle bundle, int algo, int id, rpmDigestFlags flags)
Add a new type of digest to a bundle.
 
int rpmDigestBundleUpdate(rpmDigestBundle bundle, const void *data, size_t len)
Update contexts within bundle with next plain text buffer.
 
struct rpmDigestBundle_s * rpmDigestBundle
 
Typedefs for RPM abstract data types.