| 217 | } |
| 218 | |
| 219 | uint256 ArithToUint256(const arith_uint256 &a) |
| 220 | { |
| 221 | uint256 b; |
| 222 | for(int x=0; x<a.WIDTH; ++x) |
| 223 | WriteLE32(b.begin() + x*4, a.pn[x]); |
| 224 | return b; |
| 225 | } |
| 226 | arith_uint256 UintToArith256(const uint256 &a) |
| 227 | { |
| 228 | arith_uint256 b; |