diff options
author | 2017-01-18 14:54:05 +0100 | |
---|---|---|
committer | 2017-01-23 22:50:24 +0800 | |
commit | 76512f2d8ca5e68160f4df0dead5e8e7b4bdb08e (patch) | |
tree | 109ded5e183fc740d14be0402f0b74195a5ef7f3 /arch/arm/crypto | |
parent | crypto: img-hash - use dma_data_direction when calling dma_map_sg (diff) | |
download | linux-76512f2d8ca5e68160f4df0dead5e8e7b4bdb08e.tar.gz linux-76512f2d8ca5e68160f4df0dead5e8e7b4bdb08e.tar.bz2 linux-76512f2d8ca5e68160f4df0dead5e8e7b4bdb08e.zip |
crypto: tcrypt - Add debug prints
tcrypt is very tight-lipped when it succeeds, but a bit more feedback
would be useful when developing or debugging crypto drivers, especially
since even a successful run ends with the module failing to insert. Add
a couple of debug prints, which can be enabled with dynamic debug:
Before:
# insmod tcrypt.ko mode=10
insmod: can't insert 'tcrypt.ko': Resource temporarily unavailable
After:
# insmod tcrypt.ko mode=10 dyndbg
tcrypt: testing ecb(aes)
tcrypt: testing cbc(aes)
tcrypt: testing lrw(aes)
tcrypt: testing xts(aes)
tcrypt: testing ctr(aes)
tcrypt: testing rfc3686(ctr(aes))
tcrypt: all tests passed
insmod: can't insert 'tcrypt.ko': Resource temporarily unavailable
Signed-off-by: Rabin Vincent <rabinv@axis.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm/crypto')
0 files changed, 0 insertions, 0 deletions