From 85a1dddf126691921924edcecaee5c054c7df6c2 Mon Sep 17 00:00:00 2001
From: Keith Berger <kberger@suse.com>
Date: Mon, 21 Oct 2019 16:20:51 -0400
Subject: [PATCH] Fix aes-xts key length in Horizon Admin Guide / Manage
 Volumes

When using aes-xts-plain64, a 512 bit key produces an error as this
is not a supported barbican key length for aes-xts-plain64. This patch
updates the horzion admin doc to remove the reference of a 512 bit key.

Change-Id: Ie36e05a1e59eb88b779c9f3249a714c20b5f5fe0
Closes-Bug: #1708505
Closes-Bug: #1849196
---
 doc/source/admin/manage-volumes.rst | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/doc/source/admin/manage-volumes.rst b/doc/source/admin/manage-volumes.rst
index c17ea90913..6eca190f64 100644
--- a/doc/source/admin/manage-volumes.rst
+++ b/doc/source/admin/manage-volumes.rst
@@ -101,14 +101,9 @@ volumes.
 |                    |                       |type 'cryptsetup benchmark' |
 |                    |                       |for additional options      |
 +--------------------+-----------------------+----------------------------+
-|     Key Size (bits)| 512 (Recommended for  |Using this selection for    |
-|                    | aes-xts-plain64. 256  |aes-xts, the underlying key |
-|                    | should be used for    |size would only be 256-bits*|
-|                    | aes-cbc-essiv)        |                            |
-+                    +-----------------------+----------------------------+
-|                    | 256                   |Using this selection for    |
-|                    |                       |aes-xts, the underlying key |
-|                    |                       |size would only be 128-bits*|
+|     Key Size (bits)| 256 (Recommended for  |Using this selection for    |
+|                    | aes-xts-plain64 and   |aes-xts, the underlying key |
+|                    | aes-cbc-essiv)        |size would only be 128-bits*|
 +--------------------+-----------------------+----------------------------+
 
 `*` Source `NIST SP 800-38E <https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38e.pdf>`_