diff --git a/gift-cofb/Implementations/crypto_aead/giftcofb128v1/armcortexm_balanced/encrypt.c b/gift-cofb/Implementations/crypto_aead/giftcofb128v1/armcortexm_balanced/encrypt.c index 3ac3cff..518c555 100644 --- a/gift-cofb/Implementations/crypto_aead/giftcofb128v1/armcortexm_balanced/encrypt.c +++ b/gift-cofb/Implementations/crypto_aead/giftcofb128v1/armcortexm_balanced/encrypt.c @@ -71,7 +71,7 @@ static inline void rho(u32* y, u32* m, u32* x, u32* c, u32 n) { rho1(x, y, m, n); } -static inline void rho_prime(u32* y, u32*c, u32* m, u32* x, u32 n) { +static inline void rho_prime(u32* y, u32*c, u32* x, u32* m, u32 n) { XOR_BLOCK(m, y, c); rho1(x, y, m, n); } diff --git a/gift-cofb/Implementations/crypto_aead/giftcofb128v1/armcortexm_compact/encrypt.c b/gift-cofb/Implementations/crypto_aead/giftcofb128v1/armcortexm_compact/encrypt.c index 7fbe2db..6c65b58 100644 --- a/gift-cofb/Implementations/crypto_aead/giftcofb128v1/armcortexm_compact/encrypt.c +++ b/gift-cofb/Implementations/crypto_aead/giftcofb128v1/armcortexm_compact/encrypt.c @@ -71,7 +71,7 @@ static inline void rho(u32* y, u32* m, u32* x, u32* c, u32 n) { rho1(x, y, m, n); } -static inline void rho_prime(u32* y, u32*c, u32* m, u32* x, u32 n) { +static inline void rho_prime(u32* y, u32*c, u32* x, u32* m, u32 n) { XOR_BLOCK(m, y, c); rho1(x, y, m, n); }