diff options
author | Mattias Andrée <maandree@kth.se> | 2017-10-14 13:33:07 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-10-14 13:33:07 +0200 |
commit | b5612bbbcbfd4fff7e8552579a7dd81a141d90d3 (patch) | |
tree | 1ed81a17345ac89a5ce89e232ac478b84297a4ce /common.c | |
parent | Use arg.h instead of argparser (diff) | |
download | sha3sum-b5612bbbcbfd4fff7e8552579a7dd81a141d90d3.tar.gz sha3sum-b5612bbbcbfd4fff7e8552579a7dd81a141d90d3.tar.bz2 sha3sum-b5612bbbcbfd4fff7e8552579a7dd81a141d90d3.tar.xz |
Generate all C files except common.c and keccaksum.c
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -122,7 +122,7 @@ make_spec(libkeccak_generalised_spec_t *restrict gspec, libkeccak_spec_t *restri { int r; -#define TEST(CASE, STR) case LIBKECCAK_GENERALISED_SPEC_ERROR_##CASE: return USER_ERROR(STR) +#define TEST(CASE, STR) case LIBKECCAK_GENERALISED_SPEC_ERROR_##CASE: return USER_ERROR(STR) if (r = libkeccak_degeneralise_spec(gspec, spec), r) { switch (r) { TEST (STATE_NONPOSITIVE, "the state size must be positive"); @@ -142,7 +142,7 @@ make_spec(libkeccak_generalised_spec_t *restrict gspec, libkeccak_spec_t *restri } #undef TEST -#define TEST(CASE, STR) case LIBKECCAK_SPEC_ERROR_##CASE: return USER_ERROR(STR) +#define TEST(CASE, STR) case LIBKECCAK_SPEC_ERROR_##CASE: return USER_ERROR(STR) if (r = libkeccak_spec_check(spec), r) { switch (r) { TEST (BITRATE_NONPOSITIVE, "the rate size must be positive"); |