Lines Matching refs:index

260 	unsigned int i, index, partLen;  in PHP_RIPEMD128Update()  local
263 index = (unsigned int) ((context->count[0] >> 3) & 0x3F); in PHP_RIPEMD128Update()
271 partLen = 64 - index; in PHP_RIPEMD128Update()
276 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_RIPEMD128Update()
283 index = 0; in PHP_RIPEMD128Update()
289 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) & input[i], inputLen - i); in PHP_RIPEMD128Update()
358 unsigned int i, index, partLen; in PHP_RIPEMD256Update() local
361 index = (unsigned int) ((context->count[0] >> 3) & 0x3F); in PHP_RIPEMD256Update()
369 partLen = 64 - index; in PHP_RIPEMD256Update()
374 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_RIPEMD256Update()
381 index = 0; in PHP_RIPEMD256Update()
387 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) & input[i], inputLen - i); in PHP_RIPEMD256Update()
457 unsigned int i, index, partLen; in PHP_RIPEMD160Update() local
460 index = (unsigned int) ((context->count[0] >> 3) & 0x3F); in PHP_RIPEMD160Update()
468 partLen = 64 - index; in PHP_RIPEMD160Update()
473 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_RIPEMD160Update()
480 index = 0; in PHP_RIPEMD160Update()
486 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) & input[i], inputLen - i); in PHP_RIPEMD160Update()
565 unsigned int i, index, partLen; in PHP_RIPEMD320Update() local
568 index = (unsigned int) ((context->count[0] >> 3) & 0x3F); in PHP_RIPEMD320Update()
576 partLen = 64 - index; in PHP_RIPEMD320Update()
581 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_RIPEMD320Update()
588 index = 0; in PHP_RIPEMD320Update()
594 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) & input[i], inputLen - i); in PHP_RIPEMD320Update()
629 unsigned int index, padLen; in PHP_RIPEMD128Final() local
643 index = (unsigned int) ((context->count[0] >> 3) & 0x3f); in PHP_RIPEMD128Final()
644 padLen = (index < 56) ? (56 - index) : (120 - index); in PHP_RIPEMD128Final()
666 unsigned int index, padLen; in PHP_RIPEMD256Final() local
680 index = (unsigned int) ((context->count[0] >> 3) & 0x3f); in PHP_RIPEMD256Final()
681 padLen = (index < 56) ? (56 - index) : (120 - index); in PHP_RIPEMD256Final()
703 unsigned int index, padLen; in PHP_RIPEMD160Final() local
717 index = (unsigned int) ((context->count[0] >> 3) & 0x3f); in PHP_RIPEMD160Final()
718 padLen = (index < 56) ? (56 - index) : (120 - index); in PHP_RIPEMD160Final()
740 unsigned int index, padLen; in PHP_RIPEMD320Final() local
754 index = (unsigned int) ((context->count[0] >> 3) & 0x3f); in PHP_RIPEMD320Final()
755 padLen = (index < 56) ? (56 - index) : (120 - index); in PHP_RIPEMD320Final()