Crypto++ 8.4 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
AllocatorWithCleanup
Allocates a block of memory with cleanup.
Definition: secblock.h:187
SecWordBlock
SecBlock<word> typedef.
Definition: secblock.h:1117
SecByteBlock
SecBlock<byte> typedef.
Definition: secblock.h:1115
CryptoPP
Crypto++ library namespace.
config.h
Library configuration file.
SecBlock
Secure memory block with allocator and cleanup.
Definition: secblock.h:727
AlignedSecByteBlock
SecBlock using AllocatorWithCleanup<byte, true> typedef.
Definition: secblock.h:1119