Home
last modified time | relevance | path

Searched refs:maxHashSize (Results 1 – 4 of 4) sorted by relevance

/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/nomad/vendor/github.com/appc/spec/schema/types/
H A Dhash.go27 maxHashSize = (sha512.Size / 2) + len("sha512-") const
114 if len(hash) > maxHashSize {
115 return hash[:maxHashSize]
/dports/security/apache-xml-security-c/xml-security-c-2.0.4/xsec/dsig/
H A DDSIGReference.cpp1163 unsigned int maxHashSize = XSECPlatformUtils::g_cryptoProvider->getMaxHashSize(); in setHash() local
1174 XMLByte* calculatedHashVal = new XMLByte[maxHashSize]; in setHash()
1175 XMLByte* base64Hash = new XMLByte[maxHashSize * 2]; in setHash()
1180 unsigned int calculatedHashLen = calculateHash(calculatedHashVal, maxHashSize); in setHash()
1187 maxHashSize * 2); in setHash()
1189 (maxHashSize * 2) - base64HashLen); in setHash()
1397 unsigned int maxHashSize = XSECPlatformUtils::g_cryptoProvider->getMaxHashSize(); in checkHash() local
1399 XMLByte* calculatedHashVal = new XMLByte[maxHashSize]; // The hash that we determined in checkHash()
1404 if ((calculatedHashSize = calculateHash(calculatedHashVal, maxHashSize)) == 0) in checkHash()
1412 XMLByte* readHashVal = new XMLByte [maxHashSize]; // The hash in the element in checkHash()
[all …]
/dports/sysutils/nix/nix-2.3.10/src/libutil/
H A Dhash.hh28 static const unsigned int maxHashSize = 64; member
30 unsigned char hash[maxHashSize] = {};
H A Dhash.cc26 assert(hashSize <= maxHashSize); in init()
27 memset(hash, 0, maxHashSize); in init()