search for: flac__md5init

Displaying 3 results from an estimated 3 matches for "flac__md5init".

2014 Jun 29
6
FIxed rest of cast-align warnings
Hi all, In commit 3eb4094b859 I think I have fixed all the cast-align warnings. I have tested this in amd64/Linux (little endian) and powerpc64/Linux (big endian) and it passed all tests (including the new MD5 tests). I also did a little performance testing on amd64/Linux with a one hour long stereo WAV file and could not find any mesasurable difference between the old and the new code. I
2012 May 05
5
[PATCH] Optionally, allow distros to use openssl for MD5 verification
...#include "FLAC/ordinals.h" +#if defined(HAVE_OPENSSL) +#include <openssl/evp.h> +#define FLAC__MD5Context EVP_MD_CTX +#else +#define EVP_MAX_MD_SIZE 16 typedef struct { FLAC__uint32 in[16]; FLAC__uint32 buf[4]; @@ -37,7 +42,8 @@ typedef struct { } FLAC__MD5Context; void FLAC__MD5Init(FLAC__MD5Context *context); -void FLAC__MD5Final(FLAC__byte digest[16], FLAC__MD5Context *context); +void FLAC__MD5Final(FLAC__byte digest[EVP_MAX_MD_SIZE], FLAC__MD5Context *context); +#endif FLAC__bool FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned chan...
2014 Jun 29
0
FIxed rest of cast-align warnings
...k de Castro Lopo schreef: > I would appreciate it if people could kick this around, test on other > platforms/architectures and test for performance regressions. These patches indeed fix the -Wcast-align warnings, but the new MD5 tests fail > +++ libFLAC unit test: md5 > > testing FLAC__MD5Init ... OK > testing that FLAC__MD5Final clears the MD5Context ... OK > testing FLAC__MD5Accumulate (channels=1, bytes_per_sample=1) ... > FAILED, expected MD5 sum b2bb8775b7d5bf59c36c8637293a4602 but > got 419123315a22592e3170b67d0aa26916 However, using the binary on actual FLAC files (w...