3 * ====================================================================
4 * Copyright (c) 2000-2004, 2008 CollabNet. All rights reserved.
6 * This software is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution. The terms
8 * are also available at http://subversion.tigris.org/license-1.html.
9 * If newer versions of this license are posted there, you may use a
10 * newer version instead, at your option.
12 * This software consists of voluntary contributions made by many
13 * individuals. For exact contribution history, see the revision
14 * history and logs, available at http://subversion.tigris.org/.
15 * ====================================================================
19 * @brief Converting and comparing MD5 checksums.
25 #include <apr_pools.h> /* for apr_pool_t */
27 #include "svn_types.h" /* for svn_boolean_t */
31 #endif /* __cplusplus */
36 * The MD5 digest for the empty string.
38 * @deprecated Provided for backward compatibility with the 1.5 API.
42 svn_md5_empty_string_digest(void);
46 * Return the hex representation of @a digest, which must be
47 * @c APR_MD5_DIGESTSIZE bytes long, allocating the string in @a pool.
49 * @deprecated Provided for backward compatibility with the 1.5 API.
53 svn_md5_digest_to_cstring_display(const unsigned char digest
[],
58 * Return the hex representation of @a digest, which must be
59 * @c APR_MD5_DIGESTSIZE bytes long, allocating the string in @a pool.
60 * If @a digest is all zeros, then return NULL.
62 * @deprecated Provided for backward compatibility with the 1.5 API.
66 svn_md5_digest_to_cstring(const unsigned char digest
[],
71 * Compare digests @a d1 and @a d2, each @c APR_MD5_DIGESTSIZE bytes long.
72 * If neither is all zeros, and they do not match, then return FALSE;
75 * @deprecated Provided for backward compatibility with the 1.5 API.
79 svn_md5_digests_match(const unsigned char d1
[],
80 const unsigned char d2
[]);
84 #endif /* __cplusplus */
86 #endif /* SVN_MD5_H */