Lines Matching refs:length
141 context->passed += (php_hash_uint64) context->length << 3; in TigerFinalize()
143 context->buffer[context->length++] = 0x1; in TigerFinalize()
144 if (context->length % 8) { in TigerFinalize()
145 memset(&context->buffer[context->length], 0, 8-context->length%8); in TigerFinalize()
146 context->length += 8-context->length%8; in TigerFinalize()
149 if (context->length > 56) { in TigerFinalize()
150 memset(&context->buffer[context->length], 0, 64 - context->length); in TigerFinalize()
154 memset(&context->buffer[context->length], 0, 56 - context->length); in TigerFinalize()
200 if (context->length + len < 64) { in PHP_TIGERUpdate()
201 memcpy(&context->buffer[context->length], input, len); in PHP_TIGERUpdate()
202 context->length += len; in PHP_TIGERUpdate()
204 size_t i = 0, r = (context->length + len) % 64; in PHP_TIGERUpdate()
206 if (context->length) { in PHP_TIGERUpdate()
207 i = 64 - context->length; in PHP_TIGERUpdate()
208 memcpy(&context->buffer[context->length], input, i); in PHP_TIGERUpdate()
221 context->length = r; in PHP_TIGERUpdate()