memcpy(pool.incomingb, p, length); pool.incomingpos = length;
memcpy(pool.incomingb + pool_incomingpos, p, length); pool.incomingpos += length;
void random_add_noise(void *noise, int length) {    unsigned char *p = noise;    while (length >= (HASHINPUT - pool.incomingpos)) {	memcpy(pool.incomingb + pool.incomingpos, p,	       HASHINPUT - pool.incomingpos);	p += HASHINPUT - pool.incomingpos;	length -= HASHINPUT - pool.incomingpos;	SHATransform((word32 *)pool.incoming, (word32 *)pool.incomingb);	pool.incomingpos = 0;    }    memcpy(pool.incomingb, p, length);    pool.incomingpos = length;}