1 // secblockfwd.h - written and placed in the public domain by Jeffrey Walton 2 3 /// \file secblockfwd.h 4 /// \brief Forward declarations for SecBlock 5 /// \details secblock.h and misc.h have a circular dependency. secblockfwd.h 6 /// allows the library to sidestep the circular dependency, and reference 7 /// SecBlock classes without the full implementation. 8 /// \since Crypto++ 8.3 9 10 #ifndef CRYPTOPP_SECBLOCKFWD_H 11 #define CRYPTOPP_SECBLOCKFWD_H 12 13 #include "config.h" 14 15 NAMESPACE_BEGIN(CryptoPP) 16 17 template <class T, class A> 18 class SecBlock; 19 20 template <class T, bool A> 21 class AllocatorWithCleanup; 22 23 typedef SecBlock<byte, AllocatorWithCleanup<byte, false> > SecByteBlock; 24 typedef SecBlock<word, AllocatorWithCleanup<word, false> > SecWordBlock; 25 typedef SecBlock<byte, AllocatorWithCleanup<byte, true> > AlignedSecByteBlock; 26 27 NAMESPACE_END 28 29 #endif // CRYPTOPP_SECBLOCKFWD_H 30