summaryrefslogtreecommitdiff
path: root/crypto/xor.c
diff options
context:
space:
mode:
authorRabin Vincent <rabinv@axis.com>2017-01-18 14:54:05 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2017-01-23 22:50:24 +0800
commit76c28e1b1d4c849638e307239e7c43d67f0a3197 (patch)
treee96fe91444ec141b9bca5e12339821228ebbb453 /crypto/xor.c
parentf8736c215df068b5491eceadd24bc90e7a6e3358 (diff)
downloadlinux-crypto-76c28e1b1d4c849638e307239e7c43d67f0a3197.tar.gz
linux-crypto-76c28e1b1d4c849638e307239e7c43d67f0a3197.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 'crypto/xor.c')
0 files changed, 0 insertions, 0 deletions