CernVM-FS
2.12.0
|
#include <hash.h>
Public Member Functions | |
ContextPtr () | |
ContextPtr (const Algorithms a) | |
ContextPtr (const Algorithms a, void *b) | |
Public Attributes | |
Algorithms | algorithm |
void * | buffer |
unsigned | size |
Holds an OpenSSL context, only required for hash operations. Allows to deferr the storage allocation for the context to alloca.
|
inlineexplicit |
|
inline |
Algorithms shash::ContextPtr::algorithm |
Definition at line 500 of file hash.h.
Referenced by ChunkItem::ChunkItem(), download::DownloadManager::Fetch(), shash::Final(), shash::Init(), and shash::Update().
void* shash::ContextPtr::buffer |
Definition at line 501 of file hash.h.
Referenced by CacheManager::ChecksumFd(), swissknife::CommandGraft::ChecksumFdWithChunks(), ChunkItem::ChunkItem(), zlib::CompressFd2Null(), zlib::CompressFile2File(), zlib::CompressFile2Null(), zlib::CompressMem2File(), download::DownloadManager::Fetch(), receiver::FileInfo::FileInfo(), shash::Final(), FileChunkReflist::HashChunkList(), shash::HashFd(), shash::HashMem(), shash::Hmac(), shash::Init(), download::DownloadManager::InitializeRequest(), catalog::Catalog::NormalizePath(), receiver::FileInfo::operator=(), and shash::Update().
unsigned shash::ContextPtr::size |
Definition at line 502 of file hash.h.
Referenced by CacheManager::ChecksumFd(), swissknife::CommandGraft::ChecksumFdWithChunks(), ChunkItem::ChunkItem(), zlib::CompressFd2Null(), zlib::CompressFile2File(), zlib::CompressFile2Null(), zlib::CompressMem2File(), download::DownloadManager::Fetch(), shash::Final(), FileChunkReflist::HashChunkList(), shash::HashFd(), shash::HashMem(), shash::Hmac(), shash::Init(), catalog::Catalog::NormalizePath(), and shash::Update().