commit 722a0eca215aa9cb9f0487643fa303832810042c
parent 576d7ba5e8a71dfb81c25cad08c34d67780f227a
Author: Joris Vink <joris@coders.se>
Date: Fri, 18 Feb 2022 11:08:13 +0100
Get rid of MAKE_CLONE macro
Diffstat:
1 file changed, 0 insertions(+), 7 deletions(-)
diff --git a/src/sha2.c b/src/sha2.c
@@ -47,9 +47,6 @@
#include "sha2.h"
-/* no-op out, similar to DEF_WEAK but only needed here */
-#define MAKE_CLONE(x, y) void __ssh_compat_make_clone_##x_##y(void)
-
/*
* UNROLLED TRANSFORM LOOP NOTE:
* You can define SHA2_UNROLL_TRANSFORM to use the unrolled transform
@@ -843,10 +840,6 @@ SHA384Init(SHA2_CTX *context)
context->bitcount[0] = context->bitcount[1] = 0;
}
-MAKE_CLONE(SHA384Transform, SHA512Transform);
-MAKE_CLONE(SHA384Update, SHA512Update);
-MAKE_CLONE(SHA384Pad, SHA512Pad);
-
/* Equivalent of MAKE_CLONE (which is a no-op) for SHA384 funcs */
void
SHA384Transform(u_int64_t state[8], const u_int8_t data[SHA512_BLOCK_LENGTH])