mbox series

[Bionic,0/1] UBUNTU: SAUCE: s390/crypto: Adjust s390 aes and paes cipher

Message ID cover.1523287611.git.joseph.salisbury@canonical.com
Headers show
Series UBUNTU: SAUCE: s390/crypto: Adjust s390 aes and paes cipher | expand

Message

Joseph Salisbury April 9, 2018, 3:41 p.m. UTC
BugLink: http://bugs.launchpad.net/bugs/1762353


== Bionic Justification ==
Setting up two or more plain end-to-end encrypted disks using 'cryptsetup'
fails when using a cipher based on the protected key mechanism.
The setup needs the paes and pkey modules loaded, the former providing the
paes-xts-plain64 cipher (cat /proc/crpyto |grep paes).

A second attempt to establish an end-to-end encrypted disk fails
with : "device-mapper: reload ioctl on failed: No such file or directory."

The problem is independent of the second encrypted disk being based on a second DASD or second partition on one DASD.

This patch is not upstream as of yet.
Tentativ upstream targert is kernel 4.17 (merge window currently open).

== Fix ==
UBUNTU: SAUCE: s390/crypto: Adjust s390 aes and paes cipher

Harald Freudenberger (1):
  s390/crypto: Adjust s390 aes and paes cipher priorities

 arch/s390/crypto/aes_s390.c  | 8 ++++----
 arch/s390/crypto/paes_s390.c | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

Comments

Seth Forshee April 10, 2018, 2:37 p.m. UTC | #1
On Mon, Apr 09, 2018 at 11:41:05AM -0400, Joseph Salisbury wrote:
> BugLink: http://bugs.launchpad.net/bugs/1762353
> 
> 
> == Bionic Justification ==
> Setting up two or more plain end-to-end encrypted disks using 'cryptsetup'
> fails when using a cipher based on the protected key mechanism.
> The setup needs the paes and pkey modules loaded, the former providing the
> paes-xts-plain64 cipher (cat /proc/crpyto |grep paes).
> 
> A second attempt to establish an end-to-end encrypted disk fails
> with : "device-mapper: reload ioctl on failed: No such file or directory."
> 
> The problem is independent of the second encrypted disk being based on a second DASD or second partition on one DASD.
> 
> This patch is not upstream as of yet.
> Tentativ upstream targert is kernel 4.17 (merge window currently open).
> 
> == Fix ==
> UBUNTU: SAUCE: s390/crypto: Adjust s390 aes and paes cipher

Applied to bionic/master-next, thanks!