LibreOffice
LibreOffice 24.2 SDK C/C++ API Reference
|
Go to the source code of this file.
Macros | |
#define | RTL_DIGEST_LENGTH_MD2 16 |
#define | RTL_DIGEST_LENGTH_MD5 16 |
#define | RTL_DIGEST_LENGTH_SHA 20 |
#define | RTL_DIGEST_LENGTH_SHA1 20 |
#define | RTL_DIGEST_LENGTH_HMAC_MD5 RTL_DIGEST_LENGTH_MD5 |
#define | RTL_DIGEST_LENGTH_HMAC_SHA1 RTL_DIGEST_LENGTH_SHA1 |
Typedefs | |
typedef void * | rtlDigest |
Digest Handle opaque type. More... | |
typedef enum __rtl_DigestAlgorithm | rtlDigestAlgorithm |
Digest Algorithm type. More... | |
typedef enum __rtl_DigestError | rtlDigestError |
Error Code type. More... | |
Enumerations | |
enum | __rtl_DigestAlgorithm { rtl_Digest_AlgorithmMD2, rtl_Digest_AlgorithmMD5, rtl_Digest_AlgorithmSHA, rtl_Digest_AlgorithmSHA1, rtl_Digest_AlgorithmHMAC_MD5, rtl_Digest_AlgorithmHMAC_SHA1, rtl_Digest_AlgorithmInvalid, rtl_Digest_Algorithm_FORCE_EQUAL_SIZE = SAL_MAX_ENUM } |
Digest Algorithm enumeration. More... | |
enum | __rtl_DigestError { rtl_Digest_E_None, rtl_Digest_E_Argument, rtl_Digest_E_Algorithm, rtl_Digest_E_BufferSize, rtl_Digest_E_Memory, rtl_Digest_E_Unknown, rtl_Digest_E_FORCE_EQUAL_SIZE = SAL_MAX_ENUM } |
Error Code enumeration. More... | |
Functions | |
SAL_DLLPUBLIC rtlDigest | rtl_digest_create (rtlDigestAlgorithm Algorithm) SAL_THROW_EXTERN_C() |
Create a digest handle for the given algorithm. More... | |
SAL_DLLPUBLIC void | rtl_digest_destroy (rtlDigest Digest) SAL_THROW_EXTERN_C() |
Destroy a digest handle. More... | |
SAL_DLLPUBLIC rtlDigestAlgorithm | rtl_digest_queryAlgorithm (rtlDigest Digest) SAL_THROW_EXTERN_C() |
Query the algorithm of a given digest. More... | |
SAL_DLLPUBLIC sal_uInt32 | rtl_digest_queryLength (rtlDigest Digest) SAL_THROW_EXTERN_C() |
Query the length of a given digest. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_init (rtlDigest Digest, const sal_uInt8 *pData, sal_uInt32 nDatLen) SAL_THROW_EXTERN_C() |
Initialize a digest with given data. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_update (rtlDigest Digest, const void *pData, sal_uInt32 nDatLen) SAL_THROW_EXTERN_C() |
Update a digest with given data. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_get (rtlDigest Digest, sal_uInt8 *pBuffer, sal_uInt32 nBufLen) SAL_THROW_EXTERN_C() |
Finalize a digest and retrieve the digest value. More... | |
SAL_DLLPUBLIC rtlDigest | rtl_digest_createMD2 (void) SAL_THROW_EXTERN_C() |
Create a MD2 digest handle. More... | |
SAL_DLLPUBLIC void | rtl_digest_destroyMD2 (rtlDigest Digest) SAL_THROW_EXTERN_C() |
Destroy a MD2 digest handle. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_updateMD2 (rtlDigest Digest, const void *pData, sal_uInt32 nDatLen) SAL_THROW_EXTERN_C() |
Update a MD2 digest with given data. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_getMD2 (rtlDigest Digest, sal_uInt8 *pBuffer, sal_uInt32 nBufLen) SAL_THROW_EXTERN_C() |
Finalize a MD2 digest and retrieve the digest value. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_MD2 (const void *pData, sal_uInt32 nDatLen, sal_uInt8 *pBuffer, sal_uInt32 nBufLen) SAL_THROW_EXTERN_C() |
Evaluate a MD2 digest value from given data. More... | |
SAL_DLLPUBLIC rtlDigest | rtl_digest_createMD5 (void) SAL_THROW_EXTERN_C() |
Create a MD5 digest handle. More... | |
SAL_DLLPUBLIC void | rtl_digest_destroyMD5 (rtlDigest Digest) SAL_THROW_EXTERN_C() |
Destroy a MD5 digest handle. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_updateMD5 (rtlDigest Digest, const void *pData, sal_uInt32 nDatLen) SAL_THROW_EXTERN_C() |
Update a MD5 digest with given data. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_getMD5 (rtlDigest Digest, sal_uInt8 *pBuffer, sal_uInt32 nBufLen) SAL_THROW_EXTERN_C() |
Finalize a MD5 digest and retrieve the digest value. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_rawMD5 (rtlDigest Digest, sal_uInt8 *pBuffer, sal_uInt32 nBufLen) SAL_THROW_EXTERN_C() |
Retrieve the raw (not finalized) MD5 digest value. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_MD5 (const void *pData, sal_uInt32 nDatLen, sal_uInt8 *pBuffer, sal_uInt32 nBufLen) SAL_THROW_EXTERN_C() |
Evaluate a MD5 digest value from given data. More... | |
SAL_DLLPUBLIC rtlDigest | rtl_digest_createSHA (void) SAL_THROW_EXTERN_C() |
Create a SHA digest handle. More... | |
SAL_DLLPUBLIC void | rtl_digest_destroySHA (rtlDigest Digest) SAL_THROW_EXTERN_C() |
Destroy a SHA digest handle. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_updateSHA (rtlDigest Digest, const void *pData, sal_uInt32 nDatLen) SAL_THROW_EXTERN_C() |
Update a SHA digest with given data. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_getSHA (rtlDigest Digest, sal_uInt8 *pBuffer, sal_uInt32 nBufLen) SAL_THROW_EXTERN_C() |
Finalize a SHA digest and retrieve the digest value. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_SHA (const void *pData, sal_uInt32 nDatLen, sal_uInt8 *pBuffer, sal_uInt32 nBufLen) SAL_THROW_EXTERN_C() |
Evaluate a SHA digest value from given data. More... | |
SAL_DLLPUBLIC rtlDigest | rtl_digest_createSHA1 (void) SAL_THROW_EXTERN_C() |
Create a SHA1 digest handle. More... | |
SAL_DLLPUBLIC void | rtl_digest_destroySHA1 (rtlDigest Digest) SAL_THROW_EXTERN_C() |
Destroy a SHA1 digest handle. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_updateSHA1 (rtlDigest Digest, const void *pData, sal_uInt32 nDatLen) SAL_THROW_EXTERN_C() |
Update a SHA1 digest with given data. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_getSHA1 (rtlDigest Digest, sal_uInt8 *pBuffer, sal_uInt32 nBufLen) SAL_THROW_EXTERN_C() |
Finalize a SHA1 digest and retrieve the digest value. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_SHA1 (const void *pData, sal_uInt32 nDatLen, sal_uInt8 *pBuffer, sal_uInt32 nBufLen) SAL_THROW_EXTERN_C() |
Evaluate a SHA1 digest value from given data. More... | |
SAL_DLLPUBLIC rtlDigest | rtl_digest_createHMAC_MD5 (void) SAL_THROW_EXTERN_C() |
Create a HMAC_MD5 digest handle. More... | |
SAL_DLLPUBLIC void | rtl_digest_destroyHMAC_MD5 (rtlDigest Digest) SAL_THROW_EXTERN_C() |
Destroy a HMAC_MD5 digest handle. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_initHMAC_MD5 (rtlDigest Digest, const sal_uInt8 *pKeyData, sal_uInt32 nKeyLen) SAL_THROW_EXTERN_C() |
Initialize a HMAC_MD5 digest. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_updateHMAC_MD5 (rtlDigest Digest, const void *pData, sal_uInt32 nDatLen) SAL_THROW_EXTERN_C() |
Update a HMAC_MD5 digest with given data. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_getHMAC_MD5 (rtlDigest Digest, sal_uInt8 *pBuffer, sal_uInt32 nBufLen) SAL_THROW_EXTERN_C() |
Finalize a HMAC_MD5 digest and retrieve the digest value. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_HMAC_MD5 (const sal_uInt8 *pKeyData, sal_uInt32 nKeyLen, const void *pData, sal_uInt32 nDatLen, sal_uInt8 *pBuffer, sal_uInt32 nBufLen) SAL_THROW_EXTERN_C() |
Evaluate a HMAC_MD5 digest value from given data. More... | |
SAL_DLLPUBLIC rtlDigest | rtl_digest_createHMAC_SHA1 (void) SAL_THROW_EXTERN_C() |
Create a HMAC_SHA1 digest handle. More... | |
SAL_DLLPUBLIC void | rtl_digest_destroyHMAC_SHA1 (rtlDigest Digest) SAL_THROW_EXTERN_C() |
Destroy a HMAC_SHA1 digest handle. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_initHMAC_SHA1 (rtlDigest Digest, const sal_uInt8 *pKeyData, sal_uInt32 nKeyLen) SAL_THROW_EXTERN_C() |
Initialize a HMAC_SHA1 digest. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_updateHMAC_SHA1 (rtlDigest Digest, const void *pData, sal_uInt32 nDatLen) SAL_THROW_EXTERN_C() |
Update a HMAC_SHA1 digest with given data. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_getHMAC_SHA1 (rtlDigest Digest, sal_uInt8 *pBuffer, sal_uInt32 nBufLen) SAL_THROW_EXTERN_C() |
Finalize a HMAC_SHA1 digest and retrieve the digest value. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_HMAC_SHA1 (const sal_uInt8 *pKeyData, sal_uInt32 nKeyLen, const void *pData, sal_uInt32 nDatLen, sal_uInt8 *pBuffer, sal_uInt32 nBufLen) SAL_THROW_EXTERN_C() |
Evaluate a HMAC_SHA1 digest value from given data. More... | |
SAL_DLLPUBLIC rtlDigestError | rtl_digest_PBKDF2 (sal_uInt8 *pKeyData, sal_uInt32 nKeyLen, const sal_uInt8 *pPassData, sal_uInt32 nPassLen, const sal_uInt8 *pSaltData, sal_uInt32 nSaltLen, sal_uInt32 nCount) SAL_THROW_EXTERN_C() |
Password-Based Key Derivation Function. More... | |
#define RTL_DIGEST_LENGTH_HMAC_MD5 RTL_DIGEST_LENGTH_MD5 |
#define RTL_DIGEST_LENGTH_HMAC_SHA1 RTL_DIGEST_LENGTH_SHA1 |
#define RTL_DIGEST_LENGTH_MD2 16 |
#define RTL_DIGEST_LENGTH_MD5 16 |
#define RTL_DIGEST_LENGTH_SHA 20 |
#define RTL_DIGEST_LENGTH_SHA1 20 |
typedef void* rtlDigest |
Digest Handle opaque type.
typedef enum __rtl_DigestAlgorithm rtlDigestAlgorithm |
Digest Algorithm type.
typedef enum __rtl_DigestError rtlDigestError |
Error Code type.
Digest Algorithm enumeration.
enum __rtl_DigestError |
SAL_DLLPUBLIC rtlDigest rtl_digest_create | ( | rtlDigestAlgorithm | Algorithm | ) |
Create a digest handle for the given algorithm.
[in] | Algorithm | digest algorithm. |
SAL_DLLPUBLIC rtlDigest rtl_digest_createHMAC_MD5 | ( | void | ) |
Create a HMAC_MD5 digest handle.
The HMAC_MD5 digest algorithm is specified in
RFC 2104 (Informational) HMAC: Keyed-Hashing for Message Authentication
SAL_DLLPUBLIC rtlDigest rtl_digest_createHMAC_SHA1 | ( | void | ) |
Create a HMAC_SHA1 digest handle.
The HMAC_SHA1 digest algorithm is specified in RFC 2104 (Informational) HMAC: Keyed-Hashing for Message Authentication RFC 2898 (Informational) PKCS #5: Password-Based Cryptography Specification Version 2.0
SAL_DLLPUBLIC rtlDigest rtl_digest_createMD2 | ( | void | ) |
Create a MD2 digest handle.
The MD2 digest algorithm is specified in RFC 1319 (Informational) The MD2 Message-Digest Algorithm
SAL_DLLPUBLIC rtlDigest rtl_digest_createMD5 | ( | void | ) |
Create a MD5 digest handle.
The MD5 digest algorithm is specified in RFC 1321 (Informational) The MD5 Message-Digest Algorithm
SAL_DLLPUBLIC rtlDigest rtl_digest_createSHA | ( | void | ) |
Create a SHA digest handle.
The SHA digest algorithm is specified in FIPS PUB 180 (Superseded by FIPS PUB 180-1) Secure Hash Standard
SAL_DLLPUBLIC rtlDigest rtl_digest_createSHA1 | ( | void | ) |
Create a SHA1 digest handle.
The SHA1 digest algorithm is specified in FIPS PUB 180-1 (Supersedes FIPS PUB 180) Secure Hash Standard
SAL_DLLPUBLIC void rtl_digest_destroy | ( | rtlDigest | Digest | ) |
Destroy a digest handle.
[in] | Digest | digest handle to be destroyed. |
SAL_DLLPUBLIC void rtl_digest_destroyHMAC_MD5 | ( | rtlDigest | Digest | ) |
Destroy a HMAC_MD5 digest handle.
SAL_DLLPUBLIC void rtl_digest_destroyHMAC_SHA1 | ( | rtlDigest | Digest | ) |
Destroy a HMAC_SHA1 digest handle.
SAL_DLLPUBLIC void rtl_digest_destroyMD2 | ( | rtlDigest | Digest | ) |
Destroy a MD2 digest handle.
SAL_DLLPUBLIC void rtl_digest_destroyMD5 | ( | rtlDigest | Digest | ) |
Destroy a MD5 digest handle.
SAL_DLLPUBLIC void rtl_digest_destroySHA | ( | rtlDigest | Digest | ) |
Destroy a SHA digest handle.
SAL_DLLPUBLIC void rtl_digest_destroySHA1 | ( | rtlDigest | Digest | ) |
Destroy a SHA1 digest handle.
SAL_DLLPUBLIC rtlDigestError rtl_digest_get | ( | rtlDigest | Digest, |
sal_uInt8 * | pBuffer, | ||
sal_uInt32 | nBufLen | ||
) |
Finalize a digest and retrieve the digest value.
[in] | Digest | digest handle. |
[in] | pBuffer | digest value buffer. |
[in] | nBufLen | digest value length. |
rtl_Digest_E_None | upon success. |
SAL_DLLPUBLIC rtlDigestError rtl_digest_getHMAC_MD5 | ( | rtlDigest | Digest, |
sal_uInt8 * | pBuffer, | ||
sal_uInt32 | nBufLen | ||
) |
Finalize a HMAC_MD5 digest and retrieve the digest value.
SAL_DLLPUBLIC rtlDigestError rtl_digest_getHMAC_SHA1 | ( | rtlDigest | Digest, |
sal_uInt8 * | pBuffer, | ||
sal_uInt32 | nBufLen | ||
) |
Finalize a HMAC_SHA1 digest and retrieve the digest value.
SAL_DLLPUBLIC rtlDigestError rtl_digest_getMD2 | ( | rtlDigest | Digest, |
sal_uInt8 * | pBuffer, | ||
sal_uInt32 | nBufLen | ||
) |
Finalize a MD2 digest and retrieve the digest value.
SAL_DLLPUBLIC rtlDigestError rtl_digest_getMD5 | ( | rtlDigest | Digest, |
sal_uInt8 * | pBuffer, | ||
sal_uInt32 | nBufLen | ||
) |
Finalize a MD5 digest and retrieve the digest value.
SAL_DLLPUBLIC rtlDigestError rtl_digest_getSHA | ( | rtlDigest | Digest, |
sal_uInt8 * | pBuffer, | ||
sal_uInt32 | nBufLen | ||
) |
Finalize a SHA digest and retrieve the digest value.
SAL_DLLPUBLIC rtlDigestError rtl_digest_getSHA1 | ( | rtlDigest | Digest, |
sal_uInt8 * | pBuffer, | ||
sal_uInt32 | nBufLen | ||
) |
Finalize a SHA1 digest and retrieve the digest value.
SAL_DLLPUBLIC rtlDigestError rtl_digest_HMAC_MD5 | ( | const sal_uInt8 * | pKeyData, |
sal_uInt32 | nKeyLen, | ||
const void * | pData, | ||
sal_uInt32 | nDatLen, | ||
sal_uInt8 * | pBuffer, | ||
sal_uInt32 | nBufLen | ||
) |
Evaluate a HMAC_MD5 digest value from given data.
This function performs an optimized call sequence on a single data buffer, avoiding digest creation and destruction.
[in] | pKeyData | key material buffer. |
[in] | nKeyLen | key material length. |
[in] | pData | data buffer. |
[in] | nDatLen | data length. |
[in] | pBuffer | digest value buffer. |
[in] | nBufLen | digest value length. |
rtl_Digest_E_None | upon success. |
SAL_DLLPUBLIC rtlDigestError rtl_digest_HMAC_SHA1 | ( | const sal_uInt8 * | pKeyData, |
sal_uInt32 | nKeyLen, | ||
const void * | pData, | ||
sal_uInt32 | nDatLen, | ||
sal_uInt8 * | pBuffer, | ||
sal_uInt32 | nBufLen | ||
) |
Evaluate a HMAC_SHA1 digest value from given data.
This function performs an optimized call sequence on a single data buffer, avoiding digest creation and destruction.
[in] | pKeyData | key material buffer. |
[in] | nKeyLen | key material length. |
[in] | pData | data buffer. |
[in] | nDatLen | data length. |
[in] | pBuffer | digest value buffer. |
[in] | nBufLen | digest value length. |
rtl_Digest_E_None | upon success. |
SAL_DLLPUBLIC rtlDigestError rtl_digest_init | ( | rtlDigest | Digest, |
const sal_uInt8 * | pData, | ||
sal_uInt32 | nDatLen | ||
) |
Initialize a digest with given data.
[in] | Digest | digest handle. |
[in] | pData | data buffer. |
[in] | nDatLen | data length. |
rtl_Digest_E_None | upon success. |
SAL_DLLPUBLIC rtlDigestError rtl_digest_initHMAC_MD5 | ( | rtlDigest | Digest, |
const sal_uInt8 * | pKeyData, | ||
sal_uInt32 | nKeyLen | ||
) |
Initialize a HMAC_MD5 digest.
[in] | Digest | digest handle. |
[in] | pKeyData | key material buffer. |
[in] | nKeyLen | key material length. |
rtl_Digest_E_None | upon success. |
SAL_DLLPUBLIC rtlDigestError rtl_digest_initHMAC_SHA1 | ( | rtlDigest | Digest, |
const sal_uInt8 * | pKeyData, | ||
sal_uInt32 | nKeyLen | ||
) |
Initialize a HMAC_SHA1 digest.
[in] | Digest | digest handle. |
[in] | pKeyData | key material buffer. |
[in] | nKeyLen | key material length. |
rtl_Digest_E_None | upon success. |
SAL_DLLPUBLIC rtlDigestError rtl_digest_MD2 | ( | const void * | pData, |
sal_uInt32 | nDatLen, | ||
sal_uInt8 * | pBuffer, | ||
sal_uInt32 | nBufLen | ||
) |
Evaluate a MD2 digest value from given data.
This function performs an optimized call sequence on a single data buffer, avoiding digest creation and destruction.
[in] | pData | data buffer. |
[in] | nDatLen | data length. |
[in] | pBuffer | digest value buffer. |
[in] | nBufLen | digest value length. |
rtl_Digest_E_None | upon success. |
SAL_DLLPUBLIC rtlDigestError rtl_digest_MD5 | ( | const void * | pData, |
sal_uInt32 | nDatLen, | ||
sal_uInt8 * | pBuffer, | ||
sal_uInt32 | nBufLen | ||
) |
Evaluate a MD5 digest value from given data.
This function performs an optimized call sequence on a single data buffer, avoiding digest creation and destruction.
[in] | pData | data buffer. |
[in] | nDatLen | data length. |
[in] | pBuffer | digest value buffer. |
[in] | nBufLen | digest value length. |
rtl_Digest_E_None | upon success. |
SAL_DLLPUBLIC rtlDigestError rtl_digest_PBKDF2 | ( | sal_uInt8 * | pKeyData, |
sal_uInt32 | nKeyLen, | ||
const sal_uInt8 * | pPassData, | ||
sal_uInt32 | nPassLen, | ||
const sal_uInt8 * | pSaltData, | ||
sal_uInt32 | nSaltLen, | ||
sal_uInt32 | nCount | ||
) |
Password-Based Key Derivation Function.
The PBKDF2 key derivation function is specified in RFC 2898 (Informational) PKCS #5: Password-Based Cryptography Specification Version 2.0
[out] | pKeyData | derived key |
[in] | nKeyLen | derived key length |
[in] | pPassData | password |
[in] | nPassLen | password length |
[in] | pSaltData | salt |
[in] | nSaltLen | salt length |
[in] | nCount | iteration count |
rtl_Digest_E_None | upon success. |
SAL_DLLPUBLIC rtlDigestAlgorithm rtl_digest_queryAlgorithm | ( | rtlDigest | Digest | ) |
Query the algorithm of a given digest.
[in] | Digest | digest handle. |
rtl_Digest_AlgorithmInvalid
upon failure. SAL_DLLPUBLIC sal_uInt32 rtl_digest_queryLength | ( | rtlDigest | Digest | ) |
Query the length of a given digest.
[in] | Digest | digest handle. |
SAL_DLLPUBLIC rtlDigestError rtl_digest_rawMD5 | ( | rtlDigest | Digest, |
sal_uInt8 * | pBuffer, | ||
sal_uInt32 | nBufLen | ||
) |
Retrieve the raw (not finalized) MD5 digest value.
This function is a non-standard replacement for rtl_digest_getMD5() and must be used with caution.
SAL_DLLPUBLIC rtlDigestError rtl_digest_SHA | ( | const void * | pData, |
sal_uInt32 | nDatLen, | ||
sal_uInt8 * | pBuffer, | ||
sal_uInt32 | nBufLen | ||
) |
Evaluate a SHA digest value from given data.
This function performs an optimized call sequence on a single data buffer, avoiding digest creation and destruction.
[in] | pData | data buffer. |
[in] | nDatLen | data length. |
[in] | pBuffer | digest value buffer. |
[in] | nBufLen | digest value length. |
rtl_Digest_E_None | upon success. |
SAL_DLLPUBLIC rtlDigestError rtl_digest_SHA1 | ( | const void * | pData, |
sal_uInt32 | nDatLen, | ||
sal_uInt8 * | pBuffer, | ||
sal_uInt32 | nBufLen | ||
) |
Evaluate a SHA1 digest value from given data.
This function performs an optimized call sequence on a single data buffer, avoiding digest creation and destruction.
[in] | pData | data buffer. |
[in] | nDatLen | data length. |
[in] | pBuffer | digest value buffer. |
[in] | nBufLen | digest value length. |
rtl_Digest_E_None | upon success. |
SAL_DLLPUBLIC rtlDigestError rtl_digest_update | ( | rtlDigest | Digest, |
const void * | pData, | ||
sal_uInt32 | nDatLen | ||
) |
Update a digest with given data.
[in] | Digest | digest handle. |
[in] | pData | data buffer. |
[in] | nDatLen | data length. |
rtl_Digest_E_None | upon success. |
SAL_DLLPUBLIC rtlDigestError rtl_digest_updateHMAC_MD5 | ( | rtlDigest | Digest, |
const void * | pData, | ||
sal_uInt32 | nDatLen | ||
) |
Update a HMAC_MD5 digest with given data.
SAL_DLLPUBLIC rtlDigestError rtl_digest_updateHMAC_SHA1 | ( | rtlDigest | Digest, |
const void * | pData, | ||
sal_uInt32 | nDatLen | ||
) |
Update a HMAC_SHA1 digest with given data.
SAL_DLLPUBLIC rtlDigestError rtl_digest_updateMD2 | ( | rtlDigest | Digest, |
const void * | pData, | ||
sal_uInt32 | nDatLen | ||
) |
Update a MD2 digest with given data.
SAL_DLLPUBLIC rtlDigestError rtl_digest_updateMD5 | ( | rtlDigest | Digest, |
const void * | pData, | ||
sal_uInt32 | nDatLen | ||
) |
Update a MD5 digest with given data.
SAL_DLLPUBLIC rtlDigestError rtl_digest_updateSHA | ( | rtlDigest | Digest, |
const void * | pData, | ||
sal_uInt32 | nDatLen | ||
) |
Update a SHA digest with given data.
SAL_DLLPUBLIC rtlDigestError rtl_digest_updateSHA1 | ( | rtlDigest | Digest, |
const void * | pData, | ||
sal_uInt32 | nDatLen | ||
) |
Update a SHA1 digest with given data.