mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-17 04:44:39 +03:00
07da2018b7
The `random` primitive previously took a `[32]` seed, but this causes inconsistency between 32-bit and 64-bit platforms when the seed is large enough to wrap around in GHC's representation of an `Int`. This patch switches to an API that seeds directly with four 64-bit words, and so should behave the same way on our supported platforms.
85 KiB
85 KiB