]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit688ba98fdcec71f9190102815c534c39ddc0a217
tree40a3f31e5c71113650b6794d233e9027724343d3
parent4ca6999400ec83d6b136e80d2eb107f56f1a87fc
crypto: tcrypt - Allow speed testing of arbitrary hash functions

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