From 3249dcb9638fe2959adb6ee0c5f08bcb8c392d4c Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Fri, 6 Apr 2018 10:27:12 +0200 Subject: [PATCH] allow TAB_SIZE to be defined at compile-time --- src/headers/tomcrypt.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/headers/tomcrypt.h b/src/headers/tomcrypt.h index 5bcc81e..94d88e8 100644 --- a/src/headers/tomcrypt.h +++ b/src/headers/tomcrypt.h @@ -32,8 +32,10 @@ extern "C" { /* max size of either a cipher/hash block or symmetric key [largest of the two] */ #define MAXBLOCKSIZE 128 +#ifndef TAB_SIZE /* descriptor table size */ #define TAB_SIZE 32 +#endif /* error codes [will be expanded in future releases] */ enum {