diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-08-11 08:09:34 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-08-11 08:09:34 +0000 |
commit | 3d4bb00081cf8fed02c7240c8e7732107dcff118 (patch) | |
tree | 5cb68d499b96fb246704778597ed5388b2b142f8 /sal/inc/rtl/digest.h | |
parent | 06ee467e57e0d722752b7230f814f86ee659dde9 (diff) |
INTEGRATION: CWS encryption (1.5.242); FILE MERGED
2004/03/15 19:14:55 mhu 1.5.242.1: #115940# Added functions rtl_cipher...ARCFOUR() and rtl_digest_rawMD5().
Diffstat (limited to 'sal/inc/rtl/digest.h')
-rw-r--r-- | sal/inc/rtl/digest.h | 19 |
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. |