| 110 | |
| 111 | |
| 112 | void xorbuf(byte* buf, const byte* mask, unsigned int count) |
| 113 | { |
| 114 | if (((size_t)buf | (size_t)mask | count) % WORD_SIZE == 0) |
| 115 | XorWords((word *)buf, (const word *)mask, count/WORD_SIZE); |
| 116 | else |
| 117 | { |
| 118 | for (unsigned int i=0; i<count; i++) |
| 119 | buf[i] ^= mask[i]; |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | |
| 124 | unsigned int BytePrecision(word value) |
no test coverage detected