Skip to content

Commit 042369c

Browse files
committed
Replace missing variable declarations in unit.c
Signed-off-by: Brendan Moran <[email protected]>
1 parent 46ca703 commit 042369c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_unit.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ static int shake256_ctx_equals(const test_priv_shake256ctx *ref,
271271
#ifdef MLD_USE_FIPS202_X4_NATIVE
272272
static int shake_x4_ctx_equals(const uint64_t *ref_ctx, const uint64_t *dut_ctx)
273273
{
274+
int ch;
274275
#if defined(MLD_USE_FIPS202_X4_XOR_NATIVE)
275276
uint64_t dut_inter[MLD_KECCAK_WAY][MLD_KECCAK_LANES];
276277
unpack_x4_native(dut_inter, dut_ctx);
@@ -738,6 +739,7 @@ static int test_x4_extract_bytes(void)
738739
static int test_x4_permute(void)
739740
{
740741
int fails = 0;
742+
int ch;
741743

742744
/* Testcase 1: first channel all 0x5555..., others zero */
743745
{

0 commit comments

Comments
 (0)