Displaying 4 results from an estimated 4 matches for "flac__md5final".
2012 May 05
5
[PATCH] Optionally, allow distros to use openssl for MD5 verification
...fined(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 channels, unsigned samples, unsigned bytes_per_sample...
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
2014 Jun 29
0
FIxed rest of cast-align warnings
...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 (with flac -t)
doesn't give any error...
2007 Oct 17
1
Fwd: Re: FLAC for "ARM little endian for glibc"
...call to 'FLAC__MD5Transform': --param max-inline-insns-single limit reached
md5.c:207: warning: called from here
md5.c:63: warning: inlining failed in call to 'FLAC__MD5Transform': --param max-inline-insns-single limit reached
md5.c:215: warning: called from here
md5.c: In function `FLAC__MD5Final':
md5.c:63: warning: inlining failed in call to 'FLAC__MD5Transform': --param max-inline-insns-single limit reached
md5.c:295: warning: called from here
md5.c:63: warning: inlining failed in call to 'FLAC__MD5Transform': --param max-inline-insns-single limit reached
md5.c:305: w...