diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-05-16 17:24:42 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-05-23 09:13:09 +0300 |
commit | bb992bc418e12d4658d39e037f610e0d03940d86 (patch) | |
tree | 645109f35310e2b6b4a06f0d22a1c741b422dcac /drivers/crypto/amcc | |
parent | 3e03e792865ae48b8cfc69a0b4d65f02f467389f (diff) | |
download | linux-bb992bc418e12d4658d39e037f610e0d03940d86.tar.xz |
crypto: caam - print debugging hex dumps after unmapping
For encryption the destination pointer was still mapped, so the hex dump
may be wrong. The IV still contained the input IV while printing instead
of the output IV as intended.
For decryption the destination pointer was still mapped, so the hex dump
may be wrong. The IV dump was correct.
Do the hex dumps consistenly after the buffers have been unmapped and
in case of IV copied to their final destination.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/amcc')
0 files changed, 0 insertions, 0 deletions