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 <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Christian Borntraeger <[email protected]> Cc: Richard Henderson <[email protected]> Cc: Cornelia Huck <[email protected]> Cc: Harald Freudenberger <[email protected]> Cc: Holger Dengler <[email protected]> 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
