Apache HTTPD
apr_md5.h
Go to the documentation of this file.
1/*
2 * This is work is derived from material Copyright RSA Data Security, Inc.
3 *
4 * The RSA copyright statement and Licence for that original material is
5 * included below. This is followed by the Apache copyright statement and
6 * licence for the modifications made to that material.
7 */
8
9/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
10 rights reserved.
11
12 License to copy and use this software is granted provided that it
13 is identified as the "RSA Data Security, Inc. MD5 Message-Digest
14 Algorithm" in all material mentioning or referencing this software
15 or this function.
16
17 License is also granted to make and use derivative works provided
18 that such works are identified as "derived from the RSA Data
19 Security, Inc. MD5 Message-Digest Algorithm" in all material
20 mentioning or referencing the derived work.
21
22 RSA Data Security, Inc. makes no representations concerning either
23 the merchantability of this software or the suitability of this
24 software for any particular purpose. It is provided "as is"
25 without express or implied warranty of any kind.
26
27 These notices must be retained in any copies of any part of this
28 documentation and/or software.
29 */
30
31/* Licensed to the Apache Software Foundation (ASF) under one or more
32 * contributor license agreements. See the NOTICE file distributed with
33 * this work for additional information regarding copyright ownership.
34 * The ASF licenses this file to You under the Apache License, Version 2.0
35 * (the "License"); you may not use this file except in compliance with
36 * the License. You may obtain a copy of the License at
37 *
38 * http://www.apache.org/licenses/LICENSE-2.0
39 *
40 * Unless required by applicable law or agreed to in writing, software
41 * distributed under the License is distributed on an "AS IS" BASIS,
42 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
43 * See the License for the specific language governing permissions and
44 * limitations under the License.
45 */
46
47#ifndef APR_MD5_H
48#define APR_MD5_H
49
50#include "apu.h"
51#include "apr_xlate.h"
52
53#ifdef __cplusplus
54extern "C" {
55#endif
68#define APR_MD5_DIGESTSIZE 16
69
72
86
92
101
110 const void *input,
112
121
129 const void *input,
131
141
152 unsigned int count,
153 const unsigned char *salt,
156
168 const char *hash);
169
170
172#ifdef __cplusplus
173}
174#endif
175
176#endif /* !APR_MD5_H */
APU_DECLARE(void)
Computes SipHash-2-4, producing a 64bit (APR_SIPHASH_DSIZE) hash from a message and a 128bit (APR_SIP...
Definition apr_sha1.c:206
APR I18N translation library.
unsigned int const unsigned char apr_size_t char * out
Definition apr_md5.h:155
const char * salt
Definition apr_md5.h:139
#define APR_MD5_DIGESTSIZE
Definition apr_md5.h:68
unsigned int count
Definition apr_md5.h:152
unsigned int const unsigned char apr_size_t salt_len
Definition apr_md5.h:154
apr_md5_ctx_t * context
Definition apr_md5.h:120
const void apr_size_t inputLen
Definition apr_md5.h:111
const char char * result
Definition apr_md5.h:140
const char * hash
Definition apr_md5.h:168
unsigned int const unsigned char apr_size_t char apr_size_t out_len
Definition apr_md5.h:155
apr_xlate_t * xlate
Definition apr_md5.h:100
const void * input
Definition apr_md5.h:110
const char char apr_size_t nbytes
Definition apr_md5.h:140
struct apr_xlate_t apr_xlate_t
Definition apr_xlate.h:39
apr_size_t size
int apr_status_t
Definition apr_errno.h:44
const char const char * password
apr_uint32_t count[2]
Definition apr_md5.h:78
apr_xlate_t * xlate
Definition apr_md5.h:84
apr_uint32_t state[4]
Definition apr_md5.h:76
unsigned char buffer[64]
Definition apr_md5.h:80
const char * digest
Definition testmd5.c:30