Skip to content

Conversation

@karel-m
Copy link
Member

@karel-m karel-m commented Oct 4, 2018

Mentioned in #424

-Wunused-macros

src/ciphers/anubis.c:38:0: warning: macro "MAX_KEYSIZEB" is not used [-Wunused-macros]
 #define MAX_KEYSIZEB    (4*MAX_N)

src/ciphers/anubis.c:39:0: warning: macro "BLOCKSIZE" is not used [-Wunused-macros]
 #define BLOCKSIZE       128

src/ciphers/anubis.c:35:0: warning: macro "MIN_ROUNDS" is not used [-Wunused-macros]
 #define MIN_ROUNDS      (8 + MIN_N)

src/ciphers/anubis.c:40:0: warning: macro "BLOCKSIZEB" is not used [-Wunused-macros]
 #define BLOCKSIZEB      (BLOCKSIZE/8)

src/ciphers/anubis.c:36:0: warning: macro "MAX_ROUNDS" is not used [-Wunused-macros]
 #define MAX_ROUNDS      (8 + MAX_N)

src/ciphers/anubis.c:37:0: warning: macro "MIN_KEYSIZEB" is not used [-Wunused-macros]
 #define MIN_KEYSIZEB    (4*MIN_N)

src/ciphers/anubis.c:33:0: warning: macro "MIN_N" is not used [-Wunused-macros]
 #define MIN_N           4

src/ciphers/khazad.c:33:0: warning: macro "KEYSIZE" is not used [-Wunused-macros]
 #define KEYSIZE      128

src/ciphers/khazad.c:35:0: warning: macro "BLOCKSIZE" is not used [-Wunused-macros]
 #define BLOCKSIZE   64

src/ciphers/khazad.c:36:0: warning: macro "BLOCKSIZEB" is not used [-Wunused-macros]
 #define BLOCKSIZEB   (BLOCKSIZE/8)

src/ciphers/khazad.c:34:0: warning: macro "KEYSIZEB" is not used [-Wunused-macros]
 #define KEYSIZEB   (KEYSIZE/8)

src/ciphers/twofish/twofish.c:40:0: warning: macro "MDS_POLY" is not used [-Wunused-macros]
 #define MDS_POLY          0x169

src/mac/hmac/hmac_test.c:18:0: warning: macro "LTC_HMAC_BLOCKSIZE" is not used [-Wunused-macros]
 #define LTC_HMAC_BLOCKSIZE hash_descriptor[hash].blocksize

src/stream/sober128/sober128_stream.c:24:0: warning: macro "FOLD" is not used [-Wunused-macros]
 #define FOLD                      N /* how many iterations of folding to do */

src/stream/sober128/sober128_stream.c:29:0: warning: macro "B" is not used [-Wunused-macros]
 #define B(x,i) ((unsigned char)(((x) >> (8*i)) & 0xFF))

@karel-m karel-m merged commit 4d6f973 into develop Oct 5, 2018
@karel-m karel-m deleted the pr/fix-unused-macros branch October 13, 2018 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants