// regtest2.cpp - originally written and placed in the public domain by Wei Dai // regtest.cpp split into 3 files due to OOM kills by JW // in April 2017. A second split occured in July 2018. #define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1 #include "cryptlib.h" #include "factory.h" #include "bench.h" #include "cpu.h" // For MAC's #include "hmac.h" #include "cmac.h" #include "dmac.h" #include "vmac.h" #include "ttmac.h" // Ciphers #include "md5.h" #include "keccak.h" #include "sha.h" #include "sha3.h" #include "blake2.h" #include "ripemd.h" #include "poly1305.h" #include "siphash.h" #include "panama.h" // Stream ciphers #include "arc4.h" #include "seal.h" #include "wake.h" #include "chacha.h" #include "salsa.h" #include "rabbit.h" #include "hc128.h" #include "hc256.h" #include "panama.h" #include "sosemanuk.h" // Block for CMAC #include "aes.h" #include "des.h" // Aggressive stack checking with VS2005 SP1 and above. #if (_MSC_FULL_VER >= 140050727) # pragma strict_gs_check (on) #endif #if CRYPTOPP_MSC_VERSION # pragma warning(disable: 4505 4355) #endif USING_NAMESPACE(CryptoPP) // MAC ciphers void RegisterFactories2() { RegisterDefaultFactoryFor >(); RegisterDefaultFactoryFor >(); RegisterDefaultFactoryFor >(); RegisterDefaultFactoryFor >(); RegisterDefaultFactoryFor >(); RegisterDefaultFactoryFor >(); RegisterDefaultFactoryFor >(); RegisterDefaultFactoryFor(); RegisterDefaultFactoryFor >(); RegisterDefaultFactoryFor >(); RegisterDefaultFactoryFor >(); RegisterDefaultFactoryFor >(); RegisterDefaultFactoryFor >(); RegisterDefaultFactoryFor >(); RegisterDefaultFactoryFor >(); RegisterDefaultFactoryFor >(); RegisterDefaultFactoryFor(); RegisterDefaultFactoryFor(); RegisterDefaultFactoryFor >(); RegisterDefaultFactoryFor >(); } // Stream ciphers void RegisterFactories3() { RegisterSymmetricCipherDefaultFactories(); RegisterSymmetricCipherDefaultFactories >(); RegisterSymmetricCipherDefaultFactories >(); RegisterSymmetricCipherDefaultFactories >(); RegisterSymmetricCipherDefaultFactories >(); RegisterSymmetricCipherDefaultFactories >(); RegisterSymmetricCipherDefaultFactories >(); RegisterSymmetricCipherDefaultFactories(); RegisterSymmetricCipherDefaultFactories(); RegisterSymmetricCipherDefaultFactories(); RegisterSymmetricCipherDefaultFactories(); RegisterSymmetricCipherDefaultFactories(); RegisterSymmetricCipherDefaultFactories(); RegisterSymmetricCipherDefaultFactories(); RegisterSymmetricCipherDefaultFactories(); RegisterSymmetricCipherDefaultFactories(); }