Codebase list libcryptx-perl / 21b7b95
fix for https://github.com/libtom/libtomcrypt/issues/90 Karel Miko 8 years ago
1 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
133133 bitbufB = tB[0];
134134
135135 /* for every byte of the multiplicands */
136 for (x = -1;; ) {
136 for (x = 0;; ) {
137137 /* grab a nibble */
138138 if (++nibble == 4) {
139 ++x; if (x == len) break;
139 if (x == len) break;
140140 bitbufA = tA[x];
141141 bitbufB = tB[x];
142142 nibble = 0;
143 ++x;
143144 }
144145
145146 /* extract two bits from both, shift/update */