diff --git a/md5.h b/md5.h
index c936cb269fcb828588a5a53ad4847bf2706fd6bd..269152db7ad252a89d5265d6c539de507ff96c2b 100644
--- a/md5.h
+++ b/md5.h
@@ -45,8 +45,8 @@ extern "C" {
 
 struct md5_ctx
 {
-  uint32_t digest[_MD5_DIGEST_LENGTH];
-  uint32_t count_l, count_h;    /* Block count */
+  uint32_t state[_MD5_DIGEST_LENGTH];
+  uint32_t count_low, count_high; /* Block count */
   uint8_t block[MD5_DATA_SIZE]; /* Block buffer */
   unsigned index;               /* Into buffer */
 };