Commit 74d1c4d89cf4b4e47c1d6c881c387b9046df87c1

Philip Kaufmann 2012-02-22T11:06:02

further fix for new vector offset method

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/diakgcn120222.cl b/diakgcn120222.cl
index 8fd9f24..f361403 100644
--- a/diakgcn120222.cl
+++ b/diakgcn120222.cl
@@ -108,16 +108,7 @@ __kernel
 
 //----------------------------------------------------------------------------------
 
-#ifdef VECTORS8
-	 W[0] = PreW18 + (u)(	rotr25(nonce.s0),             rotr25(nonce.s0) ^ 0x2004000, rotr25(nonce.s0) ^ 0x4008000, rotr25(nonce.s0) ^ 0x600C000,
-				rotr25(nonce.s0) ^ 0x8010000, rotr25(nonce.s0) ^ 0xa014000, rotr25(nonce.s0) ^ 0xc018000, rotr25(nonce.s0) ^ 0xe01c000);
-#elif defined VECTORS4
-	 W[0] = PreW18 + (u)(rotr25(nonce.x), rotr25(nonce.x) ^ 0x2004000, rotr25(nonce.x) ^ 0x4008000, rotr25(nonce.x) ^ 0x600C000);
-#elif defined VECTORS2
-	 W[0] = PreW18 + (u)(rotr25(nonce.x), rotr25(nonce.x) ^ 0x2004000);
-#else
 	 W[0] = PreW18 + rotr25(nonce);
-#endif
 	 W[1] = PreW19 + nonce;
 	 W[2] = 0x80000000 + rotr15(W[0]);
 	 W[3] = rotr15(W[1]);