insecure_GetRandHash fills in a uint256 from local_rand_ctx */
| 29 | /** insecure_GetRandHash fills in a uint256 from local_rand_ctx |
| 30 | */ |
| 31 | static void insecure_GetRandHash(uint256& t) |
| 32 | { |
| 33 | uint32_t* ptr = (uint32_t*)t.begin(); |
| 34 | for (uint8_t j = 0; j < 8; ++j) |
| 35 | *(ptr++) = local_rand_ctx.rand32(); |
| 36 | } |
| 37 | |
| 38 | |
| 39 |
no test coverage detected