|
unsigned | shash::GetContextSize (const Algorithms algorithm) |
|
void | shash::Init (ContextPtr context) |
|
void | shash::Update (const unsigned char *buffer, const unsigned buffer_length, ContextPtr context) |
|
void | shash::Final (ContextPtr context, Any *any_digest) |
|
bool | shash::HashFile (const std::string &filename, Any *any_digest) |
|
bool | shash::HashFd (int fd, Any *any_digest) |
|
void | shash::HashMem (const unsigned char *buffer, const unsigned buffer_size, Any *any_digest) |
|
void | shash::HashString (const std::string &content, Any *any_digest) |
|
CVMFS_EXPORT void | shash::Hmac (const std::string &key, const unsigned char *buffer, const unsigned buffer_size, Any *any_digest) |
|
void | shash::HmacString (const std::string &key, const std::string &content, Any *any_digest) |
|
std::string | shash::Hmac256 (const std::string &key, const std::string &content, bool raw_output) |
|
CVMFS_EXPORT std::string | shash::Sha256File (const std::string &filename) |
|
string | shash::Sha256Mem (const unsigned char *buffer, const unsigned buffer_size) |
|
CVMFS_EXPORT std::string | shash::Sha256String (const std::string &content) |
|
CVMFS_EXPORT Algorithms | shash::ParseHashAlgorithm (const std::string &algorithm_option) |
|
Any | shash::MkFromHexPtr (const HexPtr hex, const char suffix) |
|
Any | shash::MkFromSuffixedHexPtr (const HexPtr hex) |
|
|
const char | shash::kSuffixNone = 0 |
|
const char | shash::kSuffixCatalog = 'C' |
|
const char | shash::kSuffixHistory = 'H' |
|
const char | shash::kSuffixMicroCatalog = 'L' |
|
const char | shash::kSuffixPartial = 'P' |
|
const char | shash::kSuffixTemporary = 'T' |
|
const char | shash::kSuffixCertificate = 'X' |
|
const char | shash::kSuffixMetainfo = 'M' |
|
const unsigned | shash::kDigestSizes [] = {16, 20, 20, 20, 20} |
|
const unsigned | shash::kMaxDigestSize = 20 |
|
const unsigned | shash::kMaxContextSize = 256 |
|
const unsigned | shash::kAlgorithmIdSizes [] = {0, 0, 7, 9, 0} |
|
const unsigned | shash::kMaxAlgorithmIdentifierSize = 9 |
|
const unsigned | shash::kBlockSizes [] = {64, 64, 64, 168} |
|