You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
896 B
29 lines
896 B
// secblockfwd.h - written and placed in the public domain by Jeffrey Walton |
|
|
|
/// \file secblockfwd.h |
|
/// \brief Forward declarations for SecBlock |
|
/// \details secblock.h and misc.h have a circular dependency. secblockfwd.h |
|
/// allows the library to sidestep the circular dependency, and reference |
|
/// SecBlock classes without the full implementation. |
|
/// \since Crypto++ 8.3 |
|
|
|
#ifndef CRYPTOPP_SECBLOCKFWD_H |
|
#define CRYPTOPP_SECBLOCKFWD_H |
|
|
|
#include "config.h" |
|
|
|
NAMESPACE_BEGIN(CryptoPP) |
|
|
|
template <class T, class A> |
|
class SecBlock; |
|
|
|
template <class T, bool A> |
|
class AllocatorWithCleanup; |
|
|
|
typedef SecBlock<byte, AllocatorWithCleanup<byte, false> > SecByteBlock; |
|
typedef SecBlock<word, AllocatorWithCleanup<word, false> > SecWordBlock; |
|
typedef SecBlock<byte, AllocatorWithCleanup<byte, true> > AlignedSecByteBlock; |
|
|
|
NAMESPACE_END |
|
|
|
#endif // CRYPTOPP_SECBLOCKFWD_H
|
|
|