Lines Matching refs:buffer
139 context->buffer[context->length++] = 0x1; in TigerFinalize()
141 memset(&context->buffer[context->length], 0, 8-context->length%8); in TigerFinalize()
146 memset(&context->buffer[context->length], 0, 64 - context->length); in TigerFinalize()
147 tiger_compress(context->passes, ((uint64_t *) context->buffer), context->state); in TigerFinalize()
148 memset(context->buffer, 0, 56); in TigerFinalize()
150 memset(&context->buffer[context->length], 0, 56 - context->length); in TigerFinalize()
154 memcpy(&context->buffer[56], &context->passed, sizeof(uint64_t)); in TigerFinalize()
156 context->buffer[56] = (unsigned char) (context->passed & 0xff); in TigerFinalize()
157 context->buffer[57] = (unsigned char) ((context->passed >> 8) & 0xff); in TigerFinalize()
158 context->buffer[58] = (unsigned char) ((context->passed >> 16) & 0xff); in TigerFinalize()
159 context->buffer[59] = (unsigned char) ((context->passed >> 24) & 0xff); in TigerFinalize()
160 context->buffer[60] = (unsigned char) ((context->passed >> 32) & 0xff); in TigerFinalize()
161 context->buffer[61] = (unsigned char) ((context->passed >> 40) & 0xff); in TigerFinalize()
162 context->buffer[62] = (unsigned char) ((context->passed >> 48) & 0xff); in TigerFinalize()
163 context->buffer[63] = (unsigned char) ((context->passed >> 56) & 0xff); in TigerFinalize()
165 tiger_compress(context->passes, ((uint64_t *) context->buffer), context->state); in TigerFinalize()
197 memcpy(&context->buffer[context->length], input, len); in PHP_TIGERUpdate()
204 memcpy(&context->buffer[context->length], input, i); in PHP_TIGERUpdate()
205 tiger_compress(context->passes, ((const uint64_t *) context->buffer), context->state); in PHP_TIGERUpdate()
206 ZEND_SECURE_ZERO(context->buffer, 64); in PHP_TIGERUpdate()
211 memcpy(context->buffer, &input[i], 64); in PHP_TIGERUpdate()
212 tiger_compress(context->passes, ((const uint64_t *) context->buffer), context->state); in PHP_TIGERUpdate()
215 ZEND_SECURE_ZERO(&context->buffer[r], 64-r); in PHP_TIGERUpdate()
216 memcpy(context->buffer, &input[i], r); in PHP_TIGERUpdate()
248 && ctx->length < sizeof(ctx->buffer)) { in php_tiger_unserialize()