| 246 | } |
| 247 | |
| 248 | void P(BigUint src, size_t bits, uint8_t *dst) { |
| 249 | for (int i = 0; i < bits / 8; i++) { |
| 250 | BigUint unit = src & 0xff; |
| 251 | dst[i] = (uint8_t)unit.get_ui(); |
| 252 | src >>= 8; |
| 253 | } |
| 254 | } |
| 255 | |
| 256 | void U(uint8_t *src, size_t bits, BigUint &dst) { |
| 257 | dst = 0; |
no outgoing calls
no test coverage detected