diff options
author | Tianon Gravi <admwiggin@gmail.com> | 2015-01-15 11:54:00 -0700 |
---|---|---|
committer | Tianon Gravi <admwiggin@gmail.com> | 2015-01-15 11:54:00 -0700 |
commit | f154da9e12608589e8d5f0508f908a0c3e88a1bb (patch) | |
tree | f8255d51e10c6f1e0ed69702200b966c9556a431 /src/cmd/gc/md5.c | |
parent | 8d8329ed5dfb9622c82a9fbec6fd99a580f9c9f6 (diff) | |
download | golang-upstream/1.4.tar.gz |
Imported Upstream version 1.4upstream/1.4
Diffstat (limited to 'src/cmd/gc/md5.c')
-rw-r--r-- | src/cmd/gc/md5.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/cmd/gc/md5.c b/src/cmd/gc/md5.c index 0051ac964..46cb6b712 100644 --- a/src/cmd/gc/md5.c +++ b/src/cmd/gc/md5.c @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // 64-bit MD5 (does full MD5 but returns 64 bits only). -// Translation of ../../pkg/crypto/md5/md5*.go. +// Translation of ../../crypto/md5/md5*.go. #include <u.h> #include <libc.h> @@ -20,7 +20,15 @@ enum { #define _Init1 0xEFCDAB89 #define _Init2 0x98BADCFE #define _Init3 0x10325476 - +/*c2go +enum { + _Init0 = 0x67452301, + _Init1 = 0xEFCDAB89, + _Init2 = 0x98BADCFE, + _Init3 = 0x10325476 +}; +*/ + void md5reset(MD5 *d) { |