 	return (x << c) | (x >> (32-c));
 }
 
-__device__ inline void step (const uint i, const uint f, const uint g, uint &a, uint &b, uint &c, uint &d, const uint *w)
+__device__ inline void step (const uint i, const uint f, const uint g, uint &a, uint &b, uint &c, uint &d, const uint * w)
 {
 	uint temp = d;
 	d = c;

	c = c0;
	d = d0;
	
	uint f, g, i = 0;
	for(; i != 16; i++)
	{
		f = (b & c) | ((~b) & d);

		step(i, f, g, a, b, c, d, w);
	}
	
	/*
	f = b ^ c ^ d;
	g = 5;
	step(32, f, g, a, b, c, d, w);
	
	f = b ^ c ^ d;
	g = 8;
	step(33, f, g, a, b, c, d, w);
	
	f = b ^ c ^ d;
	g = 11;
	step(34, f, g, a, b, c, d, w);
	
	f = b ^ c ^ d;
	g = 14;
	step(35, f, g, a, b, c, d, w);
	
	f = b ^ c ^ d;
	g = 1;
	step(36, f, g, a, b, c, d, w);
	
	f = b ^ c ^ d;
	g = 4;
	step(37, f, g, a, b, c, d, w);
	
	f = b ^ c ^ d;
	g = 7;
	step(38, f, g, a, b, c, d, w);
	
	f = b ^ c ^ d;
	g = 10;
	step(39, f, g, a, b, c, d, w);
	
	f = b ^ c ^ d;
	g = 13;
	step(40, f, g, a, b, c, d, w);
	
	f = b ^ c ^ d;
	g = 0;
	step(41, f, g, a, b, c, d, w);
	
	f = b ^ c ^ d;
	g = 3;
	step(42, f, g, a, b, c, d, w);
	
	f = b ^ c ^ d;
	g = 6;
	step(43, f, g, a, b, c, d, w);
	
	f = b ^ c ^ d;
	g = 9;
	step(44, f, g, a, b, c, d, w);
	
	f = b ^ c ^ d;
	g = 12;
	step(45, f, g, a, b, c, d, w);
	
	f = b ^ c ^ d;
	g = 15;
	step(46, f, g, a, b, c, d, w);
	
	f = b ^ c ^ d;
	g = 2;
	step(47, f, g, a, b, c, d, w);
	*/
	
	for(; i != 64; i++)
	{
		f = c ^ (b | (~d));
		g = (7*i) % 16;
		step(i, f, g, a, b, c, d, w);
	}
	
	/*
	f = c ^ (b | (~d));
	g = 0;
	step(48, f, g, a, b, c, d, w);
	
	f = c ^ (b | (~d));
	g = 7;
	step(49, f, g, a, b, c, d, w);
	
	f = c ^ (b | (~d));
	g = 14;
	step(50, f, g, a, b, c, d, w);
	
	f = c ^ (b | (~d));
	g = 5;
	step(51, f, g, a, b, c, d, w);
	
	f = c ^ (b | (~d));
	g = 12;
	step(52, f, g, a, b, c, d, w);
	
	f = c ^ (b | (~d));
	g = 3;
	step(53, f, g, a, b, c, d, w);
	
	f = c ^ (b | (~d));
	g = 10;
	step(54, f, g, a, b, c, d, w);
	
	f = c ^ (b | (~d));
	g = 1;
	step(55, f, g, a, b, c, d, w);
	
	f = c ^ (b | (~d));
	g = 8;
	step(56, f, g, a, b, c, d, w);
	
	f = c ^ (b | (~d));
	g = 15;
	step(57, f, g, a, b, c, d, w);
	
	f = c ^ (b | (~d));
	g = 6;
	step(58, f, g, a, b, c, d, w);
	
	f = c ^ (b | (~d));
	g = 13;
	step(59, f, g, a, b, c, d, w);
	
	f = c ^ (b | (~d));
	g = 4;
	step(60, f, g, a, b, c, d, w);
	
	f = c ^ (b | (~d));
	g = 11;
	step(61, f, g, a, b, c, d, w);
	
	f = c ^ (b | (~d));
	g = 2;
	step(62, f, g, a, b, c, d, w);
	
	f = c ^ (b | (~d));
	g = 9;
	step(63, f, g, a, b, c, d, w);
	*/
	
	a += a0;
	b += b0;
