diff options
author | Flo <Blacktempel@hotmail.de> | 2018-04-21 02:54:02 +0200 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-04-20 20:54:02 -0400 |
commit | 63b655d7ee77724cba0c6918a0f9971639f5bda1 (patch) | |
tree | 38621c28823126cd62c9c2f09faa26f895dc4221 /speck.h | |
parent | e2bc3b55caab1f8079640a5dd527fe350a27cd4d (diff) | |
download | cryptopp-git-63b655d7ee77724cba0c6918a0f9971639f5bda1.tar.gz |
Access modifiers for SIMON and SPECK ciphers modified. (#644)
- ProcessAndXorBlock
- AdvancedProcessBlocks
now public instead of protected.
Diffstat (limited to 'speck.h')
-rw-r--r-- | speck.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -94,7 +94,7 @@ public: /// \since Crypto++ 6.0
class CRYPTOPP_NO_VTABLE Enc : public Base
{
- protected:
+ 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;
@@ -107,7 +107,7 @@ public: /// \since Crypto++ 6.0
class CRYPTOPP_NO_VTABLE Dec : public Base
{
- protected:
+ 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;
@@ -151,7 +151,7 @@ public: /// \since Crypto++ 6.0
class CRYPTOPP_NO_VTABLE Enc : public Base
{
- protected:
+ public:
void ProcessAndXorBlock(const byte *inBlock, const byte *xorBlock, byte *outBlock) const;
#if CRYPTOPP_SPECK128_ADVANCED_PROCESS_BLOCKS
size_t AdvancedProcessBlocks(const byte *inBlocks, const byte *xorBlocks, byte *outBlocks, size_t length, word32 flags) const;
@@ -164,7 +164,7 @@ public: /// \since Crypto++ 6.0
class CRYPTOPP_NO_VTABLE Dec : public Base
{
- protected:
+ public:
void ProcessAndXorBlock(const byte *inBlock, const byte *xorBlock, byte *outBlock) const;
#if CRYPTOPP_SPECK128_ADVANCED_PROCESS_BLOCKS
size_t AdvancedProcessBlocks(const byte *inBlocks, const byte *xorBlocks, byte *outBlocks, size_t length, word32 flags) const;
|