summaryrefslogtreecommitdiff
path: root/sosemanuk.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-11-29 08:00:21 -0500
committerJeffrey Walton <noloader@gmail.com>2017-11-29 08:00:21 -0500
commitbdb2db7ac282c085c73bcbf23ca7d334a2f0d13d (patch)
treeabea00dd7ce15ab7825a6d0f134f32db7c3dc3e0 /sosemanuk.h
parentc6c8dd3b323e9d0f5945fe4ad0255b90075e4fc5 (diff)
downloadcryptopp-git-bdb2db7ac282c085c73bcbf23ca7d334a2f0d13d.tar.gz
Uncouple GetAlignment from CRYPTOPP_DISABLE_SOSEMANUK_ASM
The class declaration needs to always include the functions for the platform. The implementation can simply return a different number, and that is hidden from the user
Diffstat (limited to 'sosemanuk.h')
-rw-r--r--sosemanuk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sosemanuk.h b/sosemanuk.h
index a1f3f2f5..7a189be6 100644
--- a/sosemanuk.h
+++ b/sosemanuk.h
@@ -36,7 +36,7 @@ protected:
void OperateKeystream(KeystreamOperation operation, byte *output, const byte *input, size_t iterationCount);
void CipherResynchronize(byte *keystreamBuffer, const byte *iv, size_t length);
bool CipherIsRandomAccess() const {return false;}
-#if (CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X64) && !defined(CRYPTOPP_DISABLE_SOSEMANUK_ASM)
+#if (CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X64)
unsigned int GetAlignment() const;
unsigned int GetOptimalBlockSize() const;
#endif