aesni: Implement CMAC mode to provide a signer/prf
authorMartin Willi <martin@revosec.ch>
Fri, 27 Mar 2015 16:36:12 +0000 (17:36 +0100)
committerMartin Willi <martin@revosec.ch>
Wed, 15 Apr 2015 09:35:28 +0000 (11:35 +0200)
commit42846606775786857370ae0febda292a9d1fcb5b
treed09dc6fd966b079eaddcceb54c2cc9d1b560db47
parent9d187f87112c0c9ee6a9206e60c39ba2cbaa3ade
aesni: Implement CMAC mode to provide a signer/prf

Compared to the cmac plugin using AESNI-CBC as backend, this improves
performance of AES-CMAC by ~45%.
src/libstrongswan/plugins/aesni/Makefile.am
src/libstrongswan/plugins/aesni/aesni_cmac.c [new file with mode: 0644]
src/libstrongswan/plugins/aesni/aesni_cmac.h [new file with mode: 0644]
src/libstrongswan/plugins/aesni/aesni_plugin.c