Lines Matching refs:length
160 HTree::Hash(const char* name, uint8 length)
167 hash = _HashLegacy(name, length);
170 hash = _HashHalfMD4(name, length);
173 hash = _HashTEA(name, length);
190 HTree::_HashLegacy(const char* name, uint8 length)
196 for (; length > 0; --length, ++name) {
308 int32 length = _length;
315 for (; length > 0; length -= 32) {
318 _PrepareBlocksForHash(name, (uint32)length, blocks, 8);
359 int32 length = _length;
366 for (; length > 0; length -= 16) {
369 _PrepareBlocksForHash(name, (uint32)length, blocks, 4);
382 HTree::_PrepareBlocksForHash(const char* string, uint32 length, uint32* blocks,
385 uint32 padding = length;
390 if (length > numBytes)
391 length = numBytes;
393 uint32 completeIterations = length / 4;
404 uint32 remainingBytes = length % 4;