mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Remove unused code
This commit is contained in:
@@ -2,19 +2,6 @@
|
||||
#define TEST_NAME "core_keccak1600"
|
||||
#include "cmptest.h"
|
||||
|
||||
static void
|
||||
print_state(const unsigned char *state, size_t len)
|
||||
{
|
||||
size_t i;
|
||||
for (i = 0; i < len; i++) {
|
||||
if (i > 0 && i % 16 == 0) {
|
||||
printf("\n");
|
||||
}
|
||||
printf("%02x", state[i]);
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
static void
|
||||
print_hex(const char *label, const unsigned char *data, size_t len)
|
||||
{
|
||||
|
||||
@@ -68,7 +68,7 @@ main(void)
|
||||
|
||||
unsigned char out[256];
|
||||
crypto_xof_shake128_state state;
|
||||
size_t i, j;
|
||||
size_t i;
|
||||
|
||||
/* Test constants */
|
||||
assert(crypto_xof_shake128_blockbytes() == 168);
|
||||
|
||||
Reference in New Issue
Block a user