aesni: Use separate en-/decryption CBC code paths for different key sizes
authorMartin Willi <martin@revosec.ch>
Thu, 26 Mar 2015 07:31:00 +0000 (08:31 +0100)
committerMartin Willi <martin@revosec.ch>
Wed, 15 Apr 2015 09:35:27 +0000 (11:35 +0200)
commit95ef361415bf9e2cda157b9a1c446ea03d0118c5
treecc5f0c62abab16a6a0ea914e78a6a2eea50fb939
parent8f1fab93e93ca315c4aaa0fb8b5940da84115c56
aesni: Use separate en-/decryption CBC code paths for different key sizes

This allows us to unroll loops, and use local (register) variables for the
key schedule. This improves performance slightly for encryption, but a lot
for reorderable decryption (>30%).
src/libstrongswan/plugins/aesni/aesni_cbc.c