X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/0f00dc4c8eb47e67bc0f148c2dd109f73a451e0a..HEAD:/symm/mgf.h diff --git a/symm/mgf.h b/symm/mgf.h index d5b0fd1b..934f0127 100644 --- a/symm/mgf.h +++ b/symm/mgf.h @@ -61,8 +61,8 @@ typedef struct pre##_mgfctx { \ pre##_ctx k; /* Underlying key context */ \ uint32 c; /* Counter */ \ - octet buf[PRE##_HASHSZ]; /* Output buffer */ \ - size_t bsz; /* Size of buffered data */ \ + octet b[PRE##_HASHSZ]; /* Output buffer */ \ + unsigned off; /* Size of buffered data */ \ } pre##_mgfctx; \ \ /* --- Other useful constants --- */ \