mirror of https://git.kore.io/kore.git
Get rid of MAKE_CLONE macro
This commit is contained in:
parent
576d7ba5e8
commit
722a0eca21
|
@ -47,9 +47,6 @@
|
||||||
|
|
||||||
#include "sha2.h"
|
#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:
|
* UNROLLED TRANSFORM LOOP NOTE:
|
||||||
* You can define SHA2_UNROLL_TRANSFORM to use the unrolled transform
|
* 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;
|
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 */
|
/* Equivalent of MAKE_CLONE (which is a no-op) for SHA384 funcs */
|
||||||
void
|
void
|
||||||
SHA384Transform(u_int64_t state[8], const u_int8_t data[SHA512_BLOCK_LENGTH])
|
SHA384Transform(u_int64_t state[8], const u_int8_t data[SHA512_BLOCK_LENGTH])
|
||||||
|
|
Loading…
Reference in New Issue