diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-07-07 15:22:09 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-07-07 15:22:09 -0400 |
commit | dd7598e638bba536117de716bae3f738312d4c5a (patch) | |
tree | ae52f026092cb273e7952ab213bf680484679239 /speck.h | |
parent | 84ab419029081d3a194da28421be615389716e7a (diff) | |
download | cryptopp-git-dd7598e638bba536117de716bae3f738312d4c5a.tar.gz |
Remove 64-bit AdvancedProcessBlocks (GH #945)
Diffstat (limited to 'speck.h')
-rw-r--r-- | speck.h | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -21,14 +21,6 @@ CRYPTOPP_BOOL_ARM32 || CRYPTOPP_BOOL_ARMV8 || \
CRYPTOPP_BOOL_PPC32 || CRYPTOPP_BOOL_PPC64
# ifndef CRYPTOPP_DISABLE_SPECK_SIMD
-# define CRYPTOPP_SPECK64_ADVANCED_PROCESS_BLOCKS 1
-# endif
-#endif
-
-#if CRYPTOPP_BOOL_X64 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X86 || \
- CRYPTOPP_BOOL_ARM32 || CRYPTOPP_BOOL_ARMV8 || \
- CRYPTOPP_BOOL_PPC32 || CRYPTOPP_BOOL_PPC64
-# ifndef CRYPTOPP_DISABLE_SPECK_SIMD
# define CRYPTOPP_SPECK128_ADVANCED_PROCESS_BLOCKS 1
# endif
#endif
@@ -36,13 +28,9 @@ // Yet another SunStudio/SunCC workaround. Failed self tests
// in SSE code paths on i386 for SunStudio 12.3 and below.
#if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x5120)
-# undef CRYPTOPP_SPECK64_ADVANCED_PROCESS_BLOCKS
# undef CRYPTOPP_SPECK128_ADVANCED_PROCESS_BLOCKS
#endif
-// https://github.com/weidai11/cryptopp/issues/945
-#undef CRYPTOPP_SPECK64_ADVANCED_PROCESS_BLOCKS
-
NAMESPACE_BEGIN(CryptoPP)
/// \brief SPECK block cipher information
@@ -129,9 +117,6 @@ public: {
public:
void ProcessAndXorBlock(const byte *inBlock, const byte *xorBlock, byte *outBlock) const;
-#if CRYPTOPP_SPECK64_ADVANCED_PROCESS_BLOCKS
- size_t AdvancedProcessBlocks(const byte *inBlocks, const byte *xorBlocks, byte *outBlocks, size_t length, word32 flags) const;
-#endif
};
/// \brief SPECK64 decryption transformation
@@ -142,9 +127,6 @@ public: {
public:
void ProcessAndXorBlock(const byte *inBlock, const byte *xorBlock, byte *outBlock) const;
-#if CRYPTOPP_SPECK64_ADVANCED_PROCESS_BLOCKS
- size_t AdvancedProcessBlocks(const byte *inBlocks, const byte *xorBlocks, byte *outBlocks, size_t length, word32 flags) const;
-#endif
};
typedef BlockCipherFinal<ENCRYPTION, Enc> Encryption;
|