]> git.ipfire.org Git - people/ms/strongswan.git/commit
aesni: Use dedicated round count specific encryption functions in CTR mode
authorMartin Willi <martin@revosec.ch>
Thu, 26 Mar 2015 09:58:04 +0000 (10:58 +0100)
committerMartin Willi <martin@revosec.ch>
Wed, 15 Apr 2015 09:35:27 +0000 (11:35 +0200)
commit9e47c1fe77c27001046e805b06e4ffe88252f368
treee48f23d0939cc2469fa52c2114651ba6ff54fefd
parent74d43cbde999208f2c35dfdbdfdde6a4317fc84b
aesni: Use dedicated round count specific encryption functions in CTR mode

This allows us to unroll loops and hold the key schedule in local (register)
variables. This brings an impressive speedup of ~45%.
src/libstrongswan/plugins/aesni/aesni_ctr.c