]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
crypto: caam - print IV only when non NULL
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 23 May 2019 08:50:27 +0000 (10:50 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 30 May 2019 07:30:30 +0000 (15:30 +0800)
commitf6b99b6e18657aa1222b0c51ad20ac674e764281
treeff37460b861b8be91107f7f7a5362ffc3f62591d
parentff455ad9a7f850daf874114e8d38c04aab9f39a2
crypto: caam - print IV only when non NULL

Since eaed71a44ad9 ("crypto: caam - add ecb(*) support") the IV can be
NULL, so only dump it when it's non NULL as designated by the ivsize
variable.

Fixes: eaed71a44ad9 ("crypto: caam - add ecb(*) support")
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg.c