OSDN Git Service

crypto: tcrypt - Add support for hash speed testing with keys
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 5 Aug 2020 05:57:08 +0000 (15:57 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Aug 2020 04:45:27 +0000 (14:45 +1000)
commitba974adb47f2063612d558ac7c3499b59e36c147
tree06ff2aaee555fdbdd53655e82a38f754b1ede4f1
parentf7ade9aaf66bd5599690acf0597df2c0f6cd825a
crypto: tcrypt - Add support for hash speed testing with keys

Currently if you speed test a hash that requires a key you'll get an
error because tcrypt does not set a key by default.  This patch
allows a key to be set using the new module parameter klen.

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