Enhance AES-NI RNG

I had most of the code for the AES RNG on ARM lying around for years and finally took the time to make it work. All the tests in test_random.py pass on my Mac, on an emulated processor with SVE in QEMU, and on an x86 machine with AVX512-compatible CPU. The CI jobs for emulated architectures are currently failing due to issues with the CI runners, but that shouldn't hold up merging this pull request.

There are some more drive-by improvements in this pull request:

Edited by Michael Kuron

Merge request reports

Loading