diff options
Diffstat (limited to 'crypto_aead/lilliputaei128v1/ref')
| -rw-r--r-- | crypto_aead/lilliputaei128v1/ref/Makefile | 6 | ||||
| -rw-r--r-- | crypto_aead/lilliputaei128v1/ref/tweakey.c | 9 |
2 files changed, 8 insertions, 7 deletions
diff --git a/crypto_aead/lilliputaei128v1/ref/Makefile b/crypto_aead/lilliputaei128v1/ref/Makefile index 2d1f124..30d6e12 100644 --- a/crypto_aead/lilliputaei128v1/ref/Makefile +++ b/crypto_aead/lilliputaei128v1/ref/Makefile @@ -13,12 +13,12 @@ results: # TODO: should add order-only prerequisite to remove mkdir from this target results/%.o: %.c @mkdir -p $(dir $@) - gcc -c -I. $< $(nist_flags) -o $@ + gcc -c -I. $< $(nist_flags) -Werror -o $@ results/test-%: results/test/%.o results/test-tweakey: results/test/tweakey.o results/tweakey.o | results - gcc $^ $(nist_flags) -o $@ + gcc $^ $(nist_flags) -Werror -o $@ test-tweakey: results/test-tweakey mkdir -p results/tweakey @@ -28,3 +28,5 @@ test-tweakey: results/test-tweakey results/test-tweakey.o: tweakey.h results/tweakey.o: tweakey.h + +# TODO: add valgrind diff --git a/crypto_aead/lilliputaei128v1/ref/tweakey.c b/crypto_aead/lilliputaei128v1/ref/tweakey.c index adb6d1e..79fa225 100644 --- a/crypto_aead/lilliputaei128v1/ref/tweakey.c +++ b/crypto_aead/lilliputaei128v1/ref/tweakey.c @@ -41,17 +41,16 @@ void tweakey_state_init( void tweakey_state_extract( - const tweakey_state *TK, - uint8_t round_tweakey[ROUND_TWEAKEY_BYTES], /* output */ - uint8_t i /* round constant */ + __attribute__((unused)) const tweakey_state *TK, + __attribute__((unused)) uint8_t round_tweakey[ROUND_TWEAKEY_BYTES], /* output */ + __attribute__((unused)) uint8_t i /* round constant */ ) { } -void tweakey_state_update(tweakey_state *TK) +void tweakey_state_update(__attribute__((unused)) tweakey_state *TK) { } - |
