summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sal/inc/rtl/digest.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/sal/inc/rtl/digest.h b/sal/inc/rtl/digest.h
index 598780dd8c20..14ffbeb49adc 100644
--- a/sal/inc/rtl/digest.h
+++ b/sal/inc/rtl/digest.h
@@ -2,9 +2,9 @@
*
* $RCSfile: digest.h,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: mhu $ $Date: 2001-11-29 19:12:42 $
+ * last change: $Author: obo $ $Date: 2004-08-11 09:09:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -60,7 +60,7 @@
************************************************************************/
#ifndef _RTL_DIGEST_H_
-#define _RTL_DIGEST_H_ "$Revision: 1.5 $"
+#define _RTL_DIGEST_H_ "$Revision: 1.6 $"
#ifndef _SAL_TYPES_H_
#include <sal/types.h>
@@ -309,6 +309,19 @@ rtlDigestError SAL_CALL rtl_digest_getMD5 (
) SAL_THROW_EXTERN_C();
+/** Retrieve the raw (not finalized) MD5 digest value.
+ @descr This function is a non-standard replacement for
+ rtl_digest_getMD5() and must be used with caution.
+
+ @postcond Digest initialized to accept another update sequence.
+ @see rtl_digest_get()
+ */
+rtlDigestError SAL_CALL rtl_digest_rawMD5 (
+ rtlDigest Digest,
+ sal_uInt8 *pBuffer, sal_uInt32 nBufLen
+) SAL_THROW_EXTERN_C();
+
+
/** Evaluate a MD5 digest value from given data.
@descr This function performs an optimized call sequence on a
single data buffer, avoiding digest creation and destruction.