luks: Sanity check master key and slot iterations
commitdc560ebd569a4c424c67de6436bbe3fd2291af03
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 6 Sep 2022 09:34:12 +0000 (6 10:34 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 6 Sep 2022 10:35:06 +0000 (6 11:35 +0100)
treec3326d913e8450ce0c5830472be257e7742f94fe
parent73ccb80c83ace809806be25ed9d99924212fc741
luks: Sanity check master key and slot iterations

These should never be zero.  We should probably limit them too, but
that can be done at a future time.

Thanks: Daniel P. BerrangĂ©
Updates: commit 468919dce6c5eb57503eacac0f67e5dd87c58e6c
filters/luks/luks-encryption.c