| 1227 | } |
| 1228 | |
| 1229 | txBigInt *fxBigInt_uxor(txMachine* the, txBigInt *r, txBigInt *a, txBigInt *b) |
| 1230 | { |
| 1231 | int i; |
| 1232 | if (a->size < b->size) { |
| 1233 | txBigInt *t = b; |
| 1234 | b = a; |
| 1235 | a = t; |
| 1236 | } |
| 1237 | if (r == NULL) |
| 1238 | r = fxBigInt_alloc(the, a->size); |
| 1239 | else |
| 1240 | r->size = a->size; |
| 1241 | for (i = 0; i < b->size; i++) |
| 1242 | r->data[i] = a->data[i] ^ b->data[i]; |
| 1243 | for (; i < a->size; i++) |
| 1244 | r->data[i] = a->data[i]; |
| 1245 | return(r); |
| 1246 | } |
| 1247 | |
| 1248 | txBigInt *fxBigInt_lsl(txMachine* the, txBigInt *r, txBigInt *a, txBigInt *b) |
| 1249 | { |
no test coverage detected