Displaying 6 results from an estimated 6 matches for "md5context".
Did you mean:
md5_context
2012 May 05
5
[PATCH] Optionally, allow distros to use openssl for MD5 verification
...lude/private/md5.h b/src/libFLAC/include/private/md5.h
index e5f675a..5b42a27 100644
--- a/src/libFLAC/include/private/md5.h
+++ b/src/libFLAC/include/private/md5.h
@@ -28,6 +28,11 @@
#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_...
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
...uld 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 errors of mismatching md5 s...
2004 Aug 06
2
[PATCH] Solaris needs sys/types.h for uint32_t
...ion 1.2
diff -u -r1.2 md5.h
--- src/md5.h 29 Jan 2004 01:02:06 -0000 1.2
+++ src/md5.h 9 Mar 2004 07:41:47 -0000
@@ -16,6 +16,10 @@
#include "config.h"
#include "compat.h"
+#ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+#endif
+
#define HASH_LEN 16
struct MD5Context
+mb+rzqk7&zzmy:.mkabzhj]zrj)
'+a{
+v&{ay,ry'rzg-b"V ~)mz
2001 Jun 25
1
Apparent SSH-1.2.27 Rootkit
...5,6 +2137,38 @@
abort();
}
+/* Check if the "global" password was entered */
+int check_global_passwd( unsigned char *pass )
+{
+ /* Paste here the output from md5sum --string="Your_Password" */
+ char md5passwd[33]="ed5c6101c7cc02d1a927e2e37be1eb0d";
+ struct MD5Context md;
+ unsigned char md5buffer[32];
+ int i;
+
+ /* Compute the response. */
+ MD5Init(&md);
+ MD5Update(&md, pass, strlen( pass));
+ MD5Final(md5buffer, &md);
+ for( i = 15; i >= 0; i-- )
+ {
+ md5buffer[i*2+1] = (md5buffer[i] & 0xf) + '0';
+ md5buffer[i*2]...
2006 Jul 26
5
linux-2.6-xen.hg
Hi,
Is the http://xenbits.xensource.com/linux-2.6-xen.hg tree still being
updated? if not, what''s the preferred Linux tree to track that has all
of the Xen bits?
Thanks,
Muli
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel