Crypto++ 8.9 Free C++ class library of cryptographic schemes

secblockfwd.h
Go to the documentation of this file.
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
AlignedSecByteBlock
SecBlock using AllocatorWithCleanup<byte, true> typedef.
Definition: secblock.h:1230
AllocatorWithCleanup
Allocates a block of memory with cleanup.
Definition: secblock.h:188
SecBlock
Secure memory block with allocator and cleanup.
Definition: secblock.h:731
SecByteBlock
SecBlock<byte> typedef.
Definition: secblock.h:1226
SecWordBlock
SecBlock<word> typedef.
Definition: secblock.h:1228
config.h
Library configuration file.
CryptoPP
Crypto++ library namespace.