libaaruformat 1.0 Aaru Data Preservation Suite - Format Library

Loading...
Searching...
No Matches
md5.h
Go to the documentation of this file.
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 LIBAARUFORMAT_MD5_H
27#define LIBAARUFORMAT_MD5_H
28
29#include <stdint.h>
30
31 typedef struct
32{
33 uint32_t lo, hi;
34 uint32_t a, b, c, d;
35 unsigned char buffer[64];
36 uint32_t block[16];
37} md5_ctx;
38
39#endif /* LIBAARUFORMAT_MD5_H */
md5_ctx
Definition md5.h:32
md5_ctx::a
uint32_t a
Definition md5.h:34
md5_ctx::b
uint32_t b
Definition md5.h:34
md5_ctx::buffer
unsigned char buffer[64]
Definition md5.h:35
md5_ctx::block
uint32_t block[16]
Definition md5.h:36
md5_ctx::d
uint32_t d
Definition md5.h:34
md5_ctx::hi
uint32_t hi
Definition md5.h:33
md5_ctx::c
uint32_t c
Definition md5.h:34
md5_ctx::lo
uint32_t lo
Definition md5.h:33