Dobby
3.0
Dobby “Docker based Thingy” is a tool for managing and running OCI containers using crun
Loading...
Searching...
No Matches
AppInfrastructure
Common
include
AI_MD5.h
1
/*
2
* This is an OpenSSL-compatible implementation of the RSA Data Security, Inc.
3
* MD5 Message-Digest Algorithm (RFC 1321).
4
*
5
* Homepage:
6
* http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5
7
*
8
* Author:
9
* Alexander Peslyak, better known as Solar Designer <solar at openwall.com>
10
*
11
* This software was written by Alexander Peslyak in 2001. No copyright is
12
* claimed, and the software is hereby placed in the public domain.
13
* In case this attempt to disclaim copyright and place the software in the
14
* public domain is deemed null and void, then the software is
15
* Copyright (c) 2001 Alexander Peslyak and it is hereby released to the
16
* general public under the following terms:
17
*
18
* Redistribution and use in source and binary forms, with or without
19
* modification, are permitted.
20
*
21
* There's ABSOLUTELY NO WARRANTY, express or implied.
22
*
23
* See md5.c for more information.
24
*/
25
26
#ifndef _AI_MD5_H_
27
#define _AI_MD5_H_
28
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
33
/* Any 32-bit or wider unsigned integer data type will do */
34
typedef
unsigned
int
AI_MD5_u32plus;
35
36
#define AI_MD5_DIGEST_LENGTH 16
37
38
typedef
struct
{
39
AI_MD5_u32plus lo, hi;
40
AI_MD5_u32plus a, b, c, d;
41
unsigned
char
buffer[64];
42
AI_MD5_u32plus block[16];
43
}
AI_MD5_CTX
;
44
45
extern
void
AI_MD5_Init(
AI_MD5_CTX
*ctx);
46
extern
void
AI_MD5_Update(
AI_MD5_CTX
*ctx,
const
void
*data,
unsigned
long
size);
47
extern
void
AI_MD5_Final(
unsigned
char
*result,
AI_MD5_CTX
*ctx);
48
49
#ifdef __cplusplus
50
}
51
#endif
52
53
#endif
AI_MD5_CTX
Definition
AI_MD5.h:38
Generated by
1.9.8