crypto: tcrypt - Allow speed testing of arbitrary hash functions
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 4 Dec 2014 08:43:29 +0000 (16:43 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 5 Dec 2014 15:57:47 +0000 (23:57 +0800)
This patch allows the testing of arbitrary hash functions specified
by the alg module parameter by using them in mode 300 (for sync hash)
and mode 400 (for async hash).

For example, you could do
modprobe tcrypt mode=300 alg='vmac(aes)'

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c

diff --cc crypto/tcrypt.c
Simple merge