Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751791AbdGMKA4 (ORCPT ); Thu, 13 Jul 2017 06:00:56 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:58123 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751201AbdGMKAn (ORCPT ); Thu, 13 Jul 2017 06:00:43 -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 0/3] STM32 CRYP crypto driver Date: Thu, 13 Jul 2017 11:59:36 +0200 Message-ID: <1499939979-8623-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.201.23.25] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-07-13_03:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1297 Lines: 30 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. Note: Since two other set of patches (update of STM32 CRC32 and addition of STM32 HASH) are being proposed, it may happen that there are some minor conflicts in 'Kconfig' and 'Makefile'. In that case, I will fix the issue in due course. 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 | 1 + drivers/crypto/stm32/stm32-cryp.c | 1962 ++++++++++++++++++++ include/crypto/engine.h | 16 + 6 files changed, 2109 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/st,stm32-cryp.txt create mode 100644 drivers/crypto/stm32/stm32-cryp.c -- 2.7.4