| 1172 | } |
| 1173 | |
| 1174 | txBigInt *fxBigInt_uor(txMachine* the, txBigInt *r, txBigInt *a, txBigInt *b) |
| 1175 | { |
| 1176 | int i; |
| 1177 | if (a->size < b->size) { |
| 1178 | txBigInt *t = b; |
| 1179 | b = a; |
| 1180 | a = t; |
| 1181 | } |
| 1182 | if (r == NULL) |
| 1183 | r = fxBigInt_alloc(the, a->size); |
| 1184 | else |
| 1185 | r->size = a->size; |
| 1186 | for (i = 0; i < b->size; i++) |
| 1187 | r->data[i] = a->data[i] | b->data[i]; |
| 1188 | for (; i < a->size; i++) |
| 1189 | r->data[i] = a->data[i]; |
| 1190 | return(r); |
| 1191 | } |
| 1192 | |
| 1193 | txBigInt *fxBigInt_xor(txMachine* the, txBigInt *r, txBigInt *a, txBigInt *b) |
| 1194 | { |
no test coverage detected