Lines Matching refs:buffer
141 context->buffer[context->length++] = 0x1; in TigerFinalize()
143 memset(&context->buffer[context->length], 0, 8-context->length%8); in TigerFinalize()
148 memset(&context->buffer[context->length], 0, 64 - context->length); in TigerFinalize()
149 tiger_compress(context->passes, ((uint64_t *) context->buffer), context->state); in TigerFinalize()
150 memset(context->buffer, 0, 56); in TigerFinalize()
152 memset(&context->buffer[context->length], 0, 56 - context->length); in TigerFinalize()
156 memcpy(&context->buffer[56], &context->passed, sizeof(uint64_t)); in TigerFinalize()
158 context->buffer[56] = (unsigned char) (context->passed & 0xff); in TigerFinalize()
159 context->buffer[57] = (unsigned char) ((context->passed >> 8) & 0xff); in TigerFinalize()
160 context->buffer[58] = (unsigned char) ((context->passed >> 16) & 0xff); in TigerFinalize()
161 context->buffer[59] = (unsigned char) ((context->passed >> 24) & 0xff); in TigerFinalize()
162 context->buffer[60] = (unsigned char) ((context->passed >> 32) & 0xff); in TigerFinalize()
163 context->buffer[61] = (unsigned char) ((context->passed >> 40) & 0xff); in TigerFinalize()
164 context->buffer[62] = (unsigned char) ((context->passed >> 48) & 0xff); in TigerFinalize()
165 context->buffer[63] = (unsigned char) ((context->passed >> 56) & 0xff); in TigerFinalize()
167 tiger_compress(context->passes, ((uint64_t *) context->buffer), context->state); in TigerFinalize()
199 memcpy(&context->buffer[context->length], input, len); in PHP_TIGERUpdate()
206 memcpy(&context->buffer[context->length], input, i); in PHP_TIGERUpdate()
207 tiger_compress(context->passes, ((const uint64_t *) context->buffer), context->state); in PHP_TIGERUpdate()
208 ZEND_SECURE_ZERO(context->buffer, 64); in PHP_TIGERUpdate()
213 memcpy(context->buffer, &input[i], 64); in PHP_TIGERUpdate()
214 tiger_compress(context->passes, ((const uint64_t *) context->buffer), context->state); in PHP_TIGERUpdate()
217 ZEND_SECURE_ZERO(&context->buffer[r], 64-r); in PHP_TIGERUpdate()
218 memcpy(context->buffer, &input[i], r); in PHP_TIGERUpdate()