updated readme after aesni merge

This commit is contained in:
Matteo Brichese 2020-05-15 16:58:38 -07:00
parent 78efdb4f3f
commit 74643b2570

View File

@ -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)