crypto: xts - restrict key lengths to approved values in FIPS mode
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2136829
The RHEL kernel should conform to new FIPS-140-3 requirements
to be certified. This patch make XTS implementation to conform.
Upstream status note: this patch is going to be posted upstream
by the patch author and is being applied as RHEL-only due to urgency.
Signed-off-by: Vladis Dronov <vdronov@redhat.com>
Edited by Vladis Dronov