]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Renamed MD_PAD to MD_FINAL.
authorNiels Möller <nisse@lysator.liu.se>
Mon, 29 Aug 2011 14:15:19 +0000 (16:15 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 29 Aug 2011 14:15:19 +0000 (16:15 +0200)
Rev: nettle/macros.h:1.5

macros.h

index 1303ed9160cfc5ddc26696bb617682e649ae0d8e..70c2525235b77d3354efd3f1001ab60d2fea4b0c 100644 (file)
--- 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;                                        \