From 74643b2570702f7264bdffa73cf55547b3fc1115 Mon Sep 17 00:00:00 2001 From: Matteo Brichese Date: Fri, 15 May 2020 16:58:38 -0700 Subject: [PATCH] updated readme after aesni merge --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e24099..799114c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Qt-AES Small and portable AES encryption class for Qt. -Supports all key sizes - 128/192/256 bits - ECB, CBC, CFB and OFB modes +Native support for all key sizes - 128/192/256 bits - ECB, CBC, CFB and OFB modes +AES-NI support for all key sizes - ECB, CBC modes ## Usage @@ -108,6 +109,11 @@ QString decodedString = QString(QAESEncryption::RemovePadding(decodeText)); ``` +## AES New Instructions Set +To use the hardware acceleration provided by the AES New Instructions Set, define USE_INTEL_AES_IF_AVAILABLE +If the CPU supports it, the code will switch to use AESNI automatically. +The feature is enabled by default + ## Unit Testing The unit testing vectors used are included in [NIST-Recommendation for Block Cipher Modes of Operation](http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38a.pdf)