[RFC PATCH V3 2/4] firmware: xilinx: Add ZynqMP sha_hash API for SHA3 functionality

2019-05-02 Thread Kalyani Akula
Add ZynqMP firmware SHA_HASH API to compute SHA3 hash of given data. Signed-off-by: Kalyani Akula --- drivers/firmware/xilinx/zynqmp.c | 27 +++ include/linux/firmware/xlnx-zynqmp.h | 2 ++ 2 files changed, 29 insertions(+) diff --git a/drivers/firmware/xilinx

[RFC PATCH V3 1/4] dt-bindings: crypto: Add bindings for ZynqMP SHA3 driver

2019-05-02 Thread Kalyani Akula
Add documentation to describe Xilinx ZynqMP SHA3 driver bindings. Signed-off-by: Kalyani Akula --- Documentation/devicetree/bindings/crypto/zynqmp-sha.txt | 12 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/zynqmp-sha.txt diff --git

[RFC PATCH 0/5] Add Xilinx's ZynqMP AES driver support

2019-01-16 Thread Kalyani Akula
This patch set adds support for - dt-binding docs for Xilinx ZynqMP AES driver - Adds device tree node for ZynqMP SHA3 driver - Adds communication layer support for aes in zynqmp.c - Adds user space interface for ALG_SET_KEY_TYPE - Adds Xilinx ZynqMP driver for AES Algorithm Kalyani Akula (5

[RFC PATCH 4/5] crypto: Adds user space interface for ALG_SET_KEY_TYPE

2019-01-16 Thread Kalyani Akula
s are available 1. Device key, which is flashed in the HW. 2. PUF KEK, which can be regenerated using the helper data programmed in the HW. 3. User supplied key. So to choose the AES key to be used, this patch adds key-type attribute. Signed-off-by: Kalyani Akula --- crypto/af_alg.c

[RFC PATCH 3/5] firmware: xilinx: Add ZynqMP aes API for AES functionality

2019-01-16 Thread Kalyani Akula
Add ZynqMP firmware AES API to perform encryption/decryption of given data. Signed-off-by: Kalyani Akula --- drivers/firmware/xilinx/zynqmp.c | 24 include/linux/firmware/xlnx-zynqmp.h | 2 ++ 2 files changed, 26 insertions(+) diff --git a/drivers/firmware/xilinx

[RFC PATCH 2/5] ARM64: zynqmp: Add Xilinix AES node.

2019-01-16 Thread Kalyani Akula
This patch adds a AES DT node for Xilinx ZynqMP SoC. Signed-off-by: Kalyani Akula --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index fa4fd77..a3e8332 100644

[RFC PATCH 5/5] crypto: Add Xilinx AES driver

2019-01-16 Thread Kalyani Akula
This patch adds AES driver support for the Xilinx ZynqMP SoC. Signed-off-by: Kalyani Akula --- drivers/crypto/Kconfig | 11 ++ drivers/crypto/Makefile | 1 + drivers/crypto/zynqmp-aes.c | 331 3 files changed, 343 insertions(+) create

[RFC PATCH 1/5] dt-bindings: crypto: Add bindings for ZynqMP AES driver

2019-01-16 Thread Kalyani Akula
Add documentation to describe Xilinx ZynqMP AES driver bindings. Signed-off-by: Kalyani Akula --- Documentation/devicetree/bindings/crypto/xlnx,zynqmp-aes.txt | 12 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/xlnx,zynqmp-aes.txt

[RFC PATCH V2 2/4] firmware: xilinx: Add ZynqMP sha_hash API for SHA3 functionality

2019-01-09 Thread Kalyani Akula
Add ZynqMP firmware SHA_HASH API to compute SHA3 hash of given data. Signed-off-by: Kalyani Akula --- drivers/firmware/xilinx/zynqmp.c | 27 +++ include/linux/firmware/xlnx-zynqmp.h |2 ++ 2 files changed, 29 insertions(+), 0 deletions(-) diff --git a/drivers

[RFC PATCH V2 4/4] ARM64: zynqmp: Add Xilinix SHA-384 node.

2019-01-09 Thread Kalyani Akula
This patch adds a SHA3 DT node for Xilinx ZynqMP SoC. Signed-off-by: Kalyani Akula --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index

[RFC PATCH V2 3/4] crypto: Add Xilinx SHA3 driver

2019-01-09 Thread Kalyani Akula
This patch adds SHA3 driver support for the Xilinx ZynqMP SoC. Signed-off-by: Kalyani Akula --- drivers/crypto/Kconfig | 10 ++ drivers/crypto/Makefile |1 + drivers/crypto/zynqmp-sha.c | 305 +++ 3 files changed, 316 insertions(+), 0

[RFC PATCH V2 1/4] dt-bindings: crypto: Add bindings for ZynqMP SHA3 driver

2019-01-09 Thread Kalyani Akula
Add documentation to describe Xilinx ZynqMP SHA3 driver bindings. Signed-off-by: Kalyani Akula --- .../devicetree/bindings/crypto/zynqmp-sha.txt | 12 1 files changed, 12 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/crypto/zynqmp

[RFC PATCH V2 0/4] Add Xilinx's ZynqMP SHA3 driver support

2019-01-09 Thread Kalyani Akula
support - Incorporated code review comments from v1 patch series. Discussed below: https://lore.kernel.org/patchwork/patch/1029433/ Kalyani Akula (4): dt-bindings: crypto: Add bindings for ZynqMP SHA3 driver firmware: xilinx: Add ZynqMP sha_hash API for SHA3 functionality crypto: Add

RE: [RFC PATCH 2/3] crypto: Add Xilinx SHA3 driver

2019-01-09 Thread Kalyani Akula
Hi Corentin, Thanks for the review, Please find my response inline. > -Original Message- > From: Corentin Labbe [mailto:clabbe.montj...@gmail.com] > Sent: Monday, January 7, 2019 3:43 PM > To: Kalyani Akula > Cc: herb...@gondor.apana.org.au; da...@davemloft.ne

[RFC PATCH 1/3] dt-bindings: crypto: Add bindings for ZynqMP SHA3 driver

2019-01-07 Thread Kalyani Akula
Add documentation to describe Xilinx ZynqMP SHA3 driver bindings. Signed-off-by: Kalyani Akula --- .../devicetree/bindings/crypto/zynqmp-sha.txt | 12 1 files changed, 12 insertions(+), 0 deletions(-) create mode 100755 Documentation/devicetree/bindings/crypto/zynqmp

[RFC PATCH 3/3] ARM64: zynqmp: Add Xilinix SHA-384 node.

2019-01-07 Thread Kalyani Akula
This patch adds a SHA3 DT node for Xilinx ZynqMP SoC. Signed-off-by: Kalyani Akula --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index

[RFC PATCH 0/3] Add Xilinx's ZynqMP SHA3 driver support

2019-01-07 Thread Kalyani Akula
This patch set adds support for - dt-binding docs for Xilinx ZynqMP SHA3 driver - Adds Xilinx ZynqMP driver for SHA3 Algorithm - Adds device tree node for ZynqMP SHA3 driver Kalyani Akula (3): dt-bindings: crypto: Add bindings for ZynqMP SHA3 driver crypto: Add Xilinx SHA3 driver ARM64

[RFC PATCH 2/3] crypto: Add Xilinx SHA3 driver

2019-01-07 Thread Kalyani Akula
This patch adds SHA3 driver suuport for the Xilinx ZynqMP SoC. Signed-off-by: Kalyani Akula --- drivers/crypto/Kconfig | 10 ++ drivers/crypto/Makefile |1 + drivers/crypto/zynqmp-sha.c | 303 +++ 3 files changed, 314 insertions(+), 0