[PATCH] crypto: virtio - remove dependency on CRYPTO_AUTHENC

2018-03-06 Thread Peter Wu
virtio_crypto does not use function crypto_authenc_extractkeys, remove this unnecessary dependency. Compiles fine and passes cryptodev-linux cipher and speed tests from https://wiki.qemu.org/Features/VirtioCrypto Fixes: dbaf0624ffa5 ("crypto: add virtio-crypto driver") Signed-off-by

aes-x86_64 seems slower than the generic implementation

2014-04-19 Thread Peter Wu
Hi! When comparing the x86_64 assembly implementation (module aes-x86_64) against the generic AES implementation, I found that the generic implementation was consistenly faster. Test setup #1: * cryptsetup 1.6.4 * Linux v3.15-rc1-356-gebfc45e, https://github.com/Lekensteyn/aur/blob/1d1950