Add missing LTC_ prefix to LTC_LRW_MODE macro

This also fixes the implicit declaration of function ‘gcm_gf_mult’
warning in lrw_start.c.
This commit is contained in:
Moritz Strübe 2024-11-04 14:35:14 +00:00
parent cbb01b3708
commit 8daa79f85b
2 changed files with 2 additions and 2 deletions

View file

@ -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 */

View file

@ -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