From: Mark Wooding Date: Thu, 11 May 2017 09:42:15 +0000 (+0100) Subject: rand.c, algorithms.py: Change how kinds of RNGs are distinguished. X-Git-Tag: 1.2.0~14 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb-python/commitdiff_plain/348254521f404f683d0230a84ae4943c9d20e51c?hp=348254521f404f683d0230a84ae4943c9d20e51c rand.c, algorithms.py: Change how kinds of RNGs are distinguished. Rather than a set of flags, assign them numbers and use `switch'. It doesn't seem like the flags are helpfully marking out sets of RNGs, and this approach scales better to handling more kinds. ---