Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753419AbdHOHUm (ORCPT ); Tue, 15 Aug 2017 03:20:42 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:4007 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753263AbdHOHUj (ORCPT ); Tue, 15 Aug 2017 03:20:39 -0400 From: Fabien Dessenne To: Herbert Xu , "David S . Miller" , Rob Herring , Mark Rutland , Maxime Coquelin , Alexandre Torgue , , , , CC: Benjamin Gaignard , Lionel Debieve , Ludovic Barre Subject: [PATCH v2 0/3] STM32 CRYP crypto driver Date: Tue, 15 Aug 2017 09:19:41 +0200 Message-ID: <1502781584-18468-1-git-send-email-fabien.dessenne@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.251.17.222] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-08-15_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1212 Lines: 29 This set of patches adds a new crypto driver for STMicroelectronics stm32 HW. This drivers uses the crypto API and provides with HW-enabled AEAD and block cipher algorithms. It makes use of the crypto engine which is upgraded in order to support AEAD requests. This driver was successfully tested with tcrypt / testmgr. Changes since v2: - update dt-bindings (interrupts description) - rebase on STM32 crypto patches (L. Debieve : update CRC32 + add HASH) Fabien Dessenne (3): crypto: engine - permit to enqueue aead_request dt-bindings: Document STM32 CRYP bindings crypto: stm32 - Support for STM32 CRYP crypto module .../devicetree/bindings/crypto/st,stm32-cryp.txt | 20 + crypto/crypto_engine.c | 101 + drivers/crypto/stm32/Kconfig | 9 + drivers/crypto/stm32/Makefile | 3 +- drivers/crypto/stm32/stm32-cryp.c | 1962 ++++++++++++++++++++ include/crypto/engine.h | 16 + 6 files changed, 2110 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/crypto/st,stm32-cryp.txt create mode 100644 drivers/crypto/stm32/stm32-cryp.c -- 2.7.4