Lines Matching refs:buffer
143 context->buffer[context->length++] = 0x1; in TigerFinalize()
145 memset(&context->buffer[context->length], 0, 8-context->length%8); in TigerFinalize()
150 memset(&context->buffer[context->length], 0, 64 - context->length); in TigerFinalize()
151 tiger_compress(context->passes, ((uint64_t *) context->buffer), context->state); in TigerFinalize()
152 memset(context->buffer, 0, 56); in TigerFinalize()
154 memset(&context->buffer[context->length], 0, 56 - context->length); in TigerFinalize()
158 memcpy(&context->buffer[56], &context->passed, sizeof(uint64_t)); in TigerFinalize()
160 context->buffer[56] = (unsigned char) (context->passed & 0xff); in TigerFinalize()
161 context->buffer[57] = (unsigned char) ((context->passed >> 8) & 0xff); in TigerFinalize()
162 context->buffer[58] = (unsigned char) ((context->passed >> 16) & 0xff); in TigerFinalize()
163 context->buffer[59] = (unsigned char) ((context->passed >> 24) & 0xff); in TigerFinalize()
164 context->buffer[60] = (unsigned char) ((context->passed >> 32) & 0xff); in TigerFinalize()
165 context->buffer[61] = (unsigned char) ((context->passed >> 40) & 0xff); in TigerFinalize()
166 context->buffer[62] = (unsigned char) ((context->passed >> 48) & 0xff); in TigerFinalize()
167 context->buffer[63] = (unsigned char) ((context->passed >> 56) & 0xff); in TigerFinalize()
169 tiger_compress(context->passes, ((uint64_t *) context->buffer), context->state); in TigerFinalize()
201 memcpy(&context->buffer[context->length], input, len); in PHP_TIGERUpdate()
208 memcpy(&context->buffer[context->length], input, i); in PHP_TIGERUpdate()
209 tiger_compress(context->passes, ((const uint64_t *) context->buffer), context->state); in PHP_TIGERUpdate()
210 ZEND_SECURE_ZERO(context->buffer, 64); in PHP_TIGERUpdate()
215 memcpy(context->buffer, &input[i], 64); in PHP_TIGERUpdate()
216 tiger_compress(context->passes, ((const uint64_t *) context->buffer), context->state); in PHP_TIGERUpdate()
219 ZEND_SECURE_ZERO(&context->buffer[r], 64-r); in PHP_TIGERUpdate()
220 memcpy(context->buffer, &input[i], r); in PHP_TIGERUpdate()