From: Niels Möller Date: Mon, 29 Aug 2011 14:15:19 +0000 (+0200) Subject: Renamed MD_PAD to MD_FINAL. X-Git-Tag: nettle_2.3_release_20110902~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a71ad6f0efeacdb167fd5ac76f095c5a31505b9b;p=thirdparty%2Fnettle.git Renamed MD_PAD to MD_FINAL. Rev: nettle/macros.h:1.5 --- diff --git a/macros.h b/macros.h index 1303ed91..70c25252 100644 --- a/macros.h +++ b/macros.h @@ -185,7 +185,10 @@ do { \ ; \ } while (0) -#define MD_PAD(ctx, bits, shift, f, write) \ +/* Final wrapup - pad to block boundary with the bit pattern + 1 0* (count of bits processed) */ + +#define MD_FINAL(ctx, bits, shift, f, write) \ do { \ unsigned __md_i; \ uint##bits##_t __md_low, __md_high; \