diff --git a/strciphr.cpp b/strciphr.cpp
index 6498c9ce..7d33af15 100644
--- a/strciphr.cpp
+++ b/strciphr.cpp
@@ -180,7 +180,6 @@ void CFB_CipherTemplate::ProcessData(byte *outString, const byte *inString
PolicyInterface &policy = this->AccessPolicy();
unsigned int bytesPerIteration = policy.GetBytesPerIteration();
- unsigned int alignment = policy.GetAlignment();
byte *reg = policy.GetRegisterBegin();
if (m_leftOver)
@@ -205,6 +204,7 @@ void CFB_CipherTemplate::ProcessData(byte *outString, const byte *inString
// Also see https://github.com/weidai11/cryptopp/issues/683.
//
#if !defined(__arm__)
+ unsigned int alignment = policy.GetAlignment();
if (policy.CanIterate() && length >= bytesPerIteration && IsAlignedOn(outString, alignment))
{
const CipherDir cipherDir = GetCipherDir(*this);