X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/4211aaf0e47cebc8d1e99eec28a93a5c24c3946b..48672163702ae1382acf8cdfae208031b533a05c:/ssh.h diff --git a/ssh.h b/ssh.h index f758174f..1e2291e8 100644 --- a/ssh.h +++ b/ssh.h @@ -28,13 +28,18 @@ typedef unsigned int uint32; unsigned long crc32(const void *s, size_t len); +typedef struct { + uint32 h[4]; +} MD5_Core_State; + struct MD5Context { #ifdef MSCRYPTOAPI unsigned long hHash; #else - uint32 buf[4]; - uint32 bits[2]; - unsigned char in[64]; + MD5_Core_State core; + unsigned char block[BLKSIZE]; + int blkused; + uint32 lenhi, lenlo; #endif };