"doesn't compile if no aes-ni": I saw it, fixed it 👍
"QT6 or QT5": I don't really care what we use. I'm fine with QT5
"md5 over blake2s-128 || additional test": I found the error. Using SHA-256 is fine and mandatory since method head states OFB256String(), so 256bit key size is requested. There was only a small error in the implementation of the test, since it was using AES-128 and not AES-256 as how it should have been. --> Fixed (AES-128 changed to AES-256)
As title said, I did that:
Added one extra file in aesni folder (aesni-key-init.h): this is the most important code as this creates the decryption key in the right way
Updated qaesencryption.h to use an additional parameter in expandKey(key, isEncryptionKey) method, to evaluate what algorithm to use.
Updated qaesencryption.cpp to use the AES-NI set for decryption in CBC and EBC mode
"Fixed" one detail in aestest.cpp (SHA-256 to Blake2s-128) for OFB in AES-128 mode