1
#ifndef CRYPTOPP_SEED_H
2
#define CRYPTOPP_SEED_H
10
NAMESPACE_BEGIN(CryptoPP)
13
struct SEED_Info : public FixedBlockSize<16>, public FixedKeyLength<16>, public FixedRounds<16>
15
static const char *StaticAlgorithmName() {return "SEED";}
18
/// <a href="http://www.cryptolounge.org/wiki/SEED">SEED</a>
19
class SEED : public SEED_Info, public BlockCipherDocumentation
21
class CRYPTOPP_NO_VTABLE Base : public BlockCipherImpl<SEED_Info>
24
void UncheckedSetKey(const byte *key, unsigned int length, const NameValuePairs ¶ms);
25
void ProcessAndXorBlock(const byte *inBlock, const byte *xorBlock, byte *outBlock) const;
28
FixedSizeSecBlock<word32, 32> m_k;
32
typedef BlockCipherFinal<ENCRYPTION, Base> Encryption;
33
typedef BlockCipherFinal<DECRYPTION, Base> Decryption;