crypto: remove bogus /= 2 for pbkdf iterations
commitacd0dfd0c252a06ec6f2146fea01b66b7bc68cfc
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 7 Sep 2016 12:17:07 +0000 (7 13:17 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 19 Sep 2016 15:30:45 +0000 (19 16:30 +0100)
tree9b982fb18aa77bf208cfce399dc7ad2a6969ba76
parente74aabcffb74e6c15de05255480d43771ec63d8b
crypto: remove bogus /= 2 for pbkdf iterations

When calculating iterations for pbkdf of the key slot
data, we had a /= 2, which was copied from identical
code in cryptsetup. It was always unclear & undocumented
why cryptsetup had this division and it was recently
removed there, too.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
crypto/block-luks.c