From c76bf871a6e3ab5fff22330c998ce34804e8351b Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 4 Nov 2019 12:18:01 +0000 Subject: [PATCH] symm/blkc.h: Add a hook for cipher-specific initialization. You'll see what this is for soon. --- symm/blkc.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/symm/blkc.h b/symm/blkc.h index 069c1da2..444ec8d7 100644 --- a/symm/blkc.h +++ b/symm/blkc.h @@ -404,6 +404,10 @@ #include #include +#ifndef BLKC_TESTHOOK +# define BLKC_TESTHOOK do ; while (0) +#endif + #define BLKC_VERIFY(PRE, pre) BLKC_VERIFYX(PRE, pre, #pre) #define BLKC_VERIFYX(PRE, pre, name) \ @@ -478,6 +482,7 @@ static const test_chunk defs[] = { \ \ int main(int argc, char *argv[]) \ { \ + BLKC_TESTHOOK; \ test_run(argc, argv, defs, SRCDIR"/t/" fname); \ return (0); \ } -- 2.11.0