In addition to the prior TRNG patch from v3, this v4 adds SHA-512 support. I know, I know, I know -- I fussed around asking if somebody would help me implement this because it was "oh so hard", and offered to do the crypto part if someone would do the rest. But then once I had the crypto part, I wanted some way to test it and then... and then the implementation worked and passed the test vectors.
So now these two patches together implement MSA EXT 5, and appear to be working with Linux's drivers for it. Cc: Thomas Huth <th...@redhat.com> Cc: David Hildenbrand <da...@redhat.com> Cc: Christian Borntraeger <borntrae...@linux.ibm.com> Cc: Richard Henderson <richard.hender...@linaro.org> Cc: Cornelia Huck <coh...@redhat.com> Cc: Harald Freudenberger <fre...@linux.ibm.com> Cc: Holger Dengler <deng...@linux.ibm.com> Jason A. Donenfeld (2): target/s390x: support PRNO_TRNG instruction target/s390x: support SHA-512 extensions target/s390x/gen-features.c | 4 + target/s390x/tcg/crypto_helper.c | 146 +++++++++++++++++++++++++++++++ 2 files changed, 150 insertions(+) -- 2.35.1