3 * ====================================================================
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License. You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied. See the License for the
18 * specific language governing permissions and limitations
20 * ====================================================================
24 * @brief Converting and comparing MD5 checksums.
30 #include <apr_pools.h> /* for apr_pool_t */
32 #include "svn_types.h" /* for svn_boolean_t */
36 #endif /* __cplusplus */
41 * The MD5 digest for the empty string.
43 * @deprecated Provided for backward compatibility with the 1.5 API.
47 svn_md5_empty_string_digest(void);
51 * Return the hex representation of @a digest, which must be
52 * @c APR_MD5_DIGESTSIZE bytes long, allocating the string in @a pool.
54 * @deprecated Provided for backward compatibility with the 1.5 API.
58 svn_md5_digest_to_cstring_display(const unsigned char digest[],
63 * Return the hex representation of @a digest, which must be
64 * @c APR_MD5_DIGESTSIZE bytes long, allocating the string in @a pool.
65 * If @a digest is all zeros, then return NULL.
67 * @deprecated Provided for backward compatibility with the 1.5 API.
71 svn_md5_digest_to_cstring(const unsigned char digest[],
76 * Compare digests @a d1 and @a d2, each @c APR_MD5_DIGESTSIZE bytes long.
77 * If neither is all zeros, and they do not match, then return FALSE;
80 * @deprecated Provided for backward compatibility with the 1.5 API.
84 svn_md5_digests_match(const unsigned char d1[],
85 const unsigned char d2[]);
89 #endif /* __cplusplus */
91 #endif /* SVN_MD5_H */