summaryrefslogtreecommitdiff
path: root/speck.h
diff options
context:
space:
mode:
authorFlo <Blacktempel@hotmail.de>2018-04-21 02:54:02 +0200
committerJeffrey Walton <noloader@gmail.com>2018-04-20 20:54:02 -0400
commit63b655d7ee77724cba0c6918a0f9971639f5bda1 (patch)
tree38621c28823126cd62c9c2f09faa26f895dc4221 /speck.h
parente2bc3b55caab1f8079640a5dd527fe350a27cd4d (diff)
downloadcryptopp-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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/speck.h b/speck.h
index e0c4051f..8ce4a871 100644
--- a/speck.h
+++ b/speck.h
@@ -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;