Searched refs:maxHashSize (Results 1 – 4 of 4) sorted by relevance
27 maxHashSize = (sha512.Size / 2) + len("sha512-") const114 if len(hash) > maxHashSize {115 return hash[:maxHashSize]
1163 unsigned int maxHashSize = XSECPlatformUtils::g_cryptoProvider->getMaxHashSize(); in setHash() local1174 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() local1399 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 …]
28 static const unsigned int maxHashSize = 64; member30 unsigned char hash[maxHashSize] = {};
26 assert(hashSize <= maxHashSize); in init()27 memset(hash, 0, maxHashSize); in init()