Install a system with Debian using the (currently latest available) starfive-jh7110-VF2_515_v2.5.0-69.img image linked to from https://debian.starfivetech.com/ & set the system up with build tools. then do:
mkdir repro-bad-aes && cd repro-bad-aes
git clone https://github.com/python/cpython -b 3.11
mkdir build && cd build
../cpython/configure && make -j4
./python -m test -v test_socket -m '*LinuxKernelCrypto*'
Steps to reproduce
starfive-jh7110-VF2_515_v2.5.0-69.img
image linked to from https://debian.starfivetech.com/ & set the system up with build tools. then do:Failures
The other LinuxKernelCryptoAPI tests pass, it seems to be the ones attempting to use AES that produce garbage.