lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 28 May 2018 14:37:14 +0100
From:   Ladvine D Almeida <Ladvine.DAlmeida@...opsys.com>
To:     "Vinayak Holikatti <vinholikatti@...il.com>; \"James E.J. Bottomley\"
        <jejb@...ux.vnet.ibm.com>; \"Martin K. Petersen\"" 
        <martin.petersen@...cle.com>
CC:     <linux-kernel@...r.kernel.org>,
        "linux-scsi@...r.kernel.org;Manjunath M Bettegowda
        <manjumb@...opsys.com>; Prabu Thangamuthu <prabut@...opsys.com>; Tejas
        Joglekar <joglekar@...opsys.com>; Joao Pinto" 
        <Joao.Pinto@...opsys.com>
Subject: [PATCH 0/5] scsi: ufs: UFS Host Controller crypto changes


This patch series enables the inline encryption capability of the
UFS Host Controller. The Inline Encryption feature got considerable
performance improvements over the SW algorithms and crypto accelarators
that the crypto transformation on 512 bytes chunks in the device mapper
layer can be avoided and bio can be submitted directly to the block device 
drivers which performs the encryption inline to hardware.

The UFS Host Controller driver detects the crypto capability in the HW
during the init stage and registers an algorithm to the Linux Kernel
Cryptography Framework(LKCF). The UFS HC has multiple key slots in
the hardware  for storing the keys, the crypto support manages these
key slots in hardware.

The Inline Encryption support also requires enhancements in the
block layer for associating the crypto information to the
individual block I/O requests. Separate patch is sent to the block layer
community for the same.

Configuration and usage of the Inline Encryption support for the
Disk Encryption requires minor enhancement in the DM-Crypt 
subsystem. The I/O requests are submitted directly with the
crypto information to the block level device drivers without
actually performing the transformation in this layer. Separate patch is
sent to the device mapper layer community for the same.

The feature is tested and performance comparisions are done with
Synopsys UFS Controller IP on Synopsys HAPS-70 FPGA-based Prototyping
solution.

Ladvine D Almeida (5):
  scsi: ufs: Add crypto source file for UFS HC driver
  scsi: ufs: Add crypto header file for UFS HC driver
  scsi: ufs: Add Kconfig for UFS HC driver crypto support
  scsi: ufs: Add crypto masks for UFS HC driver
  scsi: ufs: Add hooks in UFS HC driver for crypto support

 drivers/scsi/ufs/Kconfig         |  15 ++
 drivers/scsi/ufs/Makefile        |   6 +-
 drivers/scsi/ufs/ufshcd-crypto.c | 520 +++++++++++++++++++++++++++++++++++++++
 drivers/scsi/ufs/ufshcd-crypto.h | 156 ++++++++++++
 drivers/scsi/ufs/ufshcd.c        |  63 ++++-
 drivers/scsi/ufs/ufshcd.h        |  29 +++
 drivers/scsi/ufs/ufshci.h        |   2 +
 7 files changed, 784 insertions(+), 7 deletions(-)
 create mode 100644 drivers/scsi/ufs/ufshcd-crypto.c
 create mode 100644 drivers/scsi/ufs/ufshcd-crypto.h

-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ