OSDN Git Service

crypto/nettle: Fix xts_encrypt arguments
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 28 Aug 2020 17:05:11 +0000 (10:05 -0700)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 10 Sep 2020 10:02:23 +0000 (11:02 +0100)
commitd6f77401be1dd2f34d862724fbe128a2349d379b
tree252ef85418991b6f3cf854b0d95d062b6e9cfb23
parent7d823bf4e9241aa960de50d2b09ac8f9560bcdd8
crypto/nettle: Fix xts_encrypt arguments

The fourth argument to xts_encrypt should be the decrypt
callback; we were accidentally passing encrypt twice.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
crypto/cipher-nettle.c.inc