openshot-audio
0.1.6
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
JuceLibraryCode
modules
juce_audio_formats
codecs
flac
libFLAC
include
private
md5.h
Go to the documentation of this file.
1
#ifndef FLAC__PRIVATE__MD5_H
2
#define FLAC__PRIVATE__MD5_H
3
4
/*
5
* This is the header file for the MD5 message-digest algorithm.
6
* The algorithm is due to Ron Rivest. This code was
7
* written by Colin Plumb in 1993, no copyright is claimed.
8
* This code is in the public domain; do with it what you wish.
9
*
10
* Equivalent code is available from RSA Data Security, Inc.
11
* This code has been tested against that, and is equivalent,
12
* except that you don't need to include two pages of legalese
13
* with every copy.
14
*
15
* To compute the message digest of a chunk of bytes, declare an
16
* MD5Context structure, pass it to MD5Init, call MD5Update as
17
* needed on buffers full of bytes, and then call MD5Final, which
18
* will fill a supplied 16-byte array with the digest.
19
*
20
* Changed so as no longer to depend on Colin Plumb's `usual.h'
21
* header definitions; now uses stuff from dpkg's config.h
22
* - Ian Jackson <ijackson@nyx.cs.du.edu>.
23
* Still in the public domain.
24
*
25
* Josh Coalson: made some changes to integrate with libFLAC.
26
* Still in the public domain, with no warranty.
27
*/
28
29
#include "../../../ordinals.h"
30
31
typedef
union
{
32
FLAC__byte
*
p8
;
33
FLAC__int16
*
p16
;
34
FLAC__int32
*
p32
;
35
}
FLAC__multibyte
;
36
37
typedef
struct
{
38
FLAC__uint32
in[16];
39
FLAC__uint32
buf[4];
40
FLAC__uint32
bytes[2];
41
FLAC__multibyte
internal_buf
;
42
size_t
capacity
;
43
}
FLAC__MD5Context
;
44
45
void
FLAC__MD5Init
(
FLAC__MD5Context
*context);
46
void
FLAC__MD5Final
(
FLAC__byte
digest[16],
FLAC__MD5Context
*context);
47
48
FLAC__bool
FLAC__MD5Accumulate
(
FLAC__MD5Context
*ctx,
const
FLAC__int32
*
const
signal[],
unsigned
channels,
unsigned
samples,
unsigned
bytes_per_sample);
49
50
#endif
FLAC__MD5Init
void FLAC__MD5Init(FLAC__MD5Context *context)
Definition:
md5.c:217
FLAC__MD5Accumulate
FLAC__bool FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 *const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample)
Definition:
md5.c:491
FLAC__MD5Context::internal_buf
FLAC__multibyte internal_buf
Definition:
md5.h:41
FLAC__uint32
uint32_t FLAC__uint32
Definition:
ordinals.h:65
FLAC__byte
FLAC__uint8 FLAC__byte
Definition:
ordinals.h:72
FLAC__MD5Context::capacity
size_t capacity
Definition:
md5.h:42
TOUCHINPUT
Definition:
juce_win32_Windowing.cpp:76
FLAC__MD5Context
Definition:
md5.h:37
FLAC__MD5Final
void FLAC__MD5Final(FLAC__byte digest[16], FLAC__MD5Context *context)
Definition:
md5.c:235
FLAC__multibyte::p32
FLAC__int32 * p32
Definition:
md5.h:34
FLAC__int16
int16_t FLAC__int16
Definition:
ordinals.h:61
FLAC__multibyte
Definition:
md5.h:31
FLAC__multibyte::p16
FLAC__int16 * p16
Definition:
md5.h:33
FLAC__multibyte::p8
FLAC__byte * p8
Definition:
md5.h:32
FLAC__int32
int32_t FLAC__int32
Definition:
ordinals.h:62
Generated on Mon Jul 2 2018 23:36:12 for openshot-audio by
1.8.8