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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
18 matches
Mail list logo