Skip to content

Commit

Permalink
crypto: vmx - Remove overly verbose printk from AES XTS init
Browse files Browse the repository at this point in the history
In p8_aes_xts_init() we do a printk(KERN_INFO ...) to report the
fallback implementation we're using. However with a slow console this
can significantly affect the speed of crypto operations. So remove it.

Fixes: c07f5d3 ("crypto: vmx - Adding support for XTS")
Cc: [email protected] # v4.8+
Signed-off-by: Michael Ellerman <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
mpe authored and herbertx committed May 11, 2018
1 parent 1411b52 commit 730f23b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/crypto/vmx/aes_xts.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ static int p8_aes_xts_init(struct crypto_tfm *tfm)
alg, PTR_ERR(fallback));
return PTR_ERR(fallback);
}
printk(KERN_INFO "Using '%s' as fallback implementation.\n",
crypto_skcipher_driver_name(fallback));

crypto_skcipher_set_flags(
fallback,
Expand Down

0 comments on commit 730f23b

Please sign in to comment.