diff --git a/src/encauth/gcm/gcm_gf_mult.c b/src/encauth/gcm/gcm_gf_mult.c index 10cd3c95b..dcfe7e3eb 100644 --- a/src/encauth/gcm/gcm_gf_mult.c +++ b/src/encauth/gcm/gcm_gf_mult.c @@ -48,7 +48,7 @@ const unsigned char gcm_shift_table[256*2] = { #endif -#if defined(LTC_GCM_MODE) || defined(LRW_MODE) +#if defined(LTC_GCM_MODE) || defined(LTC_LRW_MODE) #ifndef LTC_FAST /* right shift */ diff --git a/src/headers/tomcrypt_mac.h b/src/headers/tomcrypt_mac.h index fb1e5a75b..7f394b82c 100644 --- a/src/headers/tomcrypt_mac.h +++ b/src/headers/tomcrypt_mac.h @@ -460,7 +460,7 @@ int ccm_test(void); #endif /* LTC_CCM_MODE */ -#if defined(LRW_MODE) || defined(LTC_GCM_MODE) +#if defined(LTC_LRW_MODE) || defined(LTC_GCM_MODE) void gcm_gf_mult(const unsigned char *a, const unsigned char *b, unsigned char *c); #endif