12typedef struct DIGEST_CTX_s * DIGEST_CTX;
13typedef struct rpmDigestBundle_s * rpmDigestBundle;
39typedef rpmFlags rpmDigestFlags;
98int rpmDigestFinal(DIGEST_CTX ctx,
void ** datap,
size_t * lenp,
int asAscii);
122 rpmDigestFlags flags);
133 rpmDigestFlags flags);
155 void ** datap,
size_t * lenp,
int asAscii);
rpmDigestBundle rpmDigestBundleFree(rpmDigestBundle bundle)
rpmDigestFlags_e
Definition rpmcrypto.h:35
DIGEST_CTX rpmDigestInit(int hashalgo, rpmDigestFlags flags)
int rpmDigestBundleAdd(rpmDigestBundle bundle, int algo, rpmDigestFlags flags)
rpmHashAlgo_e
Definition rpmcrypto.h:19
int rpmDigestFinal(DIGEST_CTX ctx, void **datap, size_t *lenp, int asAscii)
rpmDigestBundle rpmDigestBundleNew(void)
int rpmDigestBundleFinal(rpmDigestBundle bundle, int id, void **datap, size_t *lenp, int asAscii)
DIGEST_CTX rpmDigestDup(DIGEST_CTX octx)
enum rpmHashAlgo_e rpmHashAlgo
size_t rpmDigestLength(int hashalgo)
DIGEST_CTX rpmDigestBundleDupCtx(rpmDigestBundle bundle, int id)
int rpmDigestUpdate(DIGEST_CTX ctx, const void *data, size_t len)
int rpmDigestBundleAddID(rpmDigestBundle bundle, int algo, int id, rpmDigestFlags flags)
int rpmDigestBundleUpdate(rpmDigestBundle bundle, const void *data, size_t len)
@ RPM_HASH_SHA256
Definition rpmcrypto.h:26
@ RPM_HASH_SHA512
Definition rpmcrypto.h:28
@ RPM_HASH_MD2
Definition rpmcrypto.h:23
@ RPM_HASH_TIGER192
Definition rpmcrypto.h:24
@ RPM_HASH_SHA224
Definition rpmcrypto.h:29
@ RPM_HASH_HAVAL_5_160
Definition rpmcrypto.h:25
@ RPM_HASH_RIPEMD160
Definition rpmcrypto.h:22
@ RPM_HASH_SHA384
Definition rpmcrypto.h:27
@ RPM_HASH_MD5
Definition rpmcrypto.h:20
@ RPM_HASH_SHA1
Definition rpmcrypto.h:21