Displaying 1 result from an estimated 1 matches for "idx4".
Did you mean:
idx
2001 Mar 04
1
bubblebabble patch
...nt rounds, idx, retval_idx, seed;
+ char *retval;
+
+ rounds = (dgst_raw_len / 2) + 1;
+
+ retval = xmalloc(sizeof(char)*(rounds*6));
+
+ seed = 1;
+
+ retval_idx = 0;
+
+ retval[retval_idx++] = 'x';
+
+ for (idx=0;idx<rounds;idx++) {
+
+ unsigned int idx0, idx1, idx2, idx3, idx4;
+
+ if ((idx + 1 < rounds) || (dgst_raw_len % 2 != 0)) {
+
+ idx0 = (((((unsigned int)(dgst_raw[2*idx])) >> 6) & 3) + seed) % 6;
+ idx1 = (((unsigned int)(dgst_raw[2*idx])) >> 2) & 15;
+ idx2 = ((((unsigned int)(dgst_raw[2*idx])) & 3) + (seed / 6)) % 6;
+
+ retv...