From a71ad6f0efeacdb167fd5ac76f095c5a31505b9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Mon, 29 Aug 2011 16:15:19 +0200 Subject: [PATCH] Renamed MD_PAD to MD_FINAL. Rev: nettle/macros.h:1.5 --- macros.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; \ -- GitLab