forked from weidai11/cryptopp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsecblockfwd.h
29 lines (20 loc) · 896 Bytes
/
secblockfwd.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// 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