diff options
author | jbj <devnull@localhost> | 2001-10-05 20:39:50 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-10-05 20:39:50 +0000 |
commit | 71dff1a731923b405a9a189cb087f7fe5e013290 (patch) | |
tree | 7a5f33afe64e021ba26081c5fdafd0af24a342c8 /rpmio/rpmio_internal.h | |
parent | 726fff1bd1dc3f74a1f4b7f900c1075b6f32ca31 (diff) | |
download | rpm-71dff1a731923b405a9a189cb087f7fe5e013290.tar.gz rpm-71dff1a731923b405a9a189cb087f7fe5e013290.tar.bz2 rpm-71dff1a731923b405a9a189cb087f7fe5e013290.zip |
- proof-of-concept GPG/DSA verification for legacy signatures.
CVS patchset: 5097
CVS date: 2001/10/05 20:39:50
Diffstat (limited to 'rpmio/rpmio_internal.h')
-rw-r--r-- | rpmio/rpmio_internal.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/rpmio/rpmio_internal.h b/rpmio/rpmio_internal.h index 766caa706..ee95f7f0a 100644 --- a/rpmio/rpmio_internal.h +++ b/rpmio/rpmio_internal.h @@ -63,17 +63,27 @@ typedef enum rpmDigestFlags_e { typedef /*@abstract@*/ struct DIGEST_CTX_s * DIGEST_CTX; /** \ingroup rpmio + * Duplicate a digest context. + * @param ctx existing digest context + * @return duplicated digest context + */ +/*@only@*/ +DIGEST_CTX rpmDigestDup(DIGEST_CTX octx) + /*@*/; + +/** \ingroup rpmio * Initialize digest. * Set bit count to 0 and buffer to mysterious initialization constants. * @param flags bit(s) to control digest operation - * @return digest private data + * @return digest context */ +/*@only@*/ DIGEST_CTX rpmDigestInit(rpmDigestFlags flags) /*@*/; /** \ingroup rpmio - * Update context to with next plain text buffer. - * @param private private data + * Update context with next plain text buffer. + * @param ctx digest context * @param data next data buffer * @param len no. bytes of data */ @@ -85,7 +95,7 @@ void rpmDigestUpdate(DIGEST_CTX ctx, const void * data, size_t len) * Final wrapup - pad to 64-byte boundary with the bit pattern * 1 0* (64-bit count of bits processed, MSB-first) * - * @param private private data + * @param ctx digest context * @retval datap address of returned digest * @retval lenp address of digest length * @param asAscii return digest as ascii string? |