Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752256AbdGMNdZ (ORCPT ); Thu, 13 Jul 2017 09:33:25 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:41409 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751324AbdGMNdX (ORCPT ); Thu, 13 Jul 2017 09:33:23 -0400 From: Lionel Debieve To: Herbert Xu , "David S . Miller" , Rob Herring , Mark Rutland , Maxime Coquelin , Alexandre Torgue , , , , CC: Benjamin Gaignard , Fabien Dessenne , Ludovic Barre , Lionel Debieve Subject: [PATCH 0/2] STM32 HASH crypto driver Date: Thu, 13 Jul 2017 15:32:25 +0200 Message-ID: <1499952747-16423-1-git-send-email-lionel.debieve@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.50] X-ClientProxiedBy: SFHDAG5NODE2.st.com (10.75.127.14) To SFHDAG7NODE2.st.com (10.75.127.20) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-07-13_07:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1106 Lines: 26 This set of patches adds a new crypto driver for STMicroelectronics stm32 HW. This drivers uses the crypto API and provides with HW-enabled md5, sha1, sha224, sha256 hash based algorithms. It makes use of the crypto engine to support ahash requests. This driver was successfully tested with tcrypt / testmgr. Note: Since two other set of patches (update of STM32 CRC32 and addition of STM32 CRYP) 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. Lionel Debieve (2): dt-bindings: Document STM32 HASH bindings crypto: stm32 - Support for STM32 HASH module .../devicetree/bindings/crypto/st,stm32-hash.txt | 30 + drivers/crypto/stm32/Kconfig | 13 + drivers/crypto/stm32/Makefile | 1 + drivers/crypto/stm32/stm32-hash.c | 1576 ++++++++++++++++++++ 4 files changed, 1620 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/st,stm32-hash.txt create mode 100644 drivers/crypto/stm32/stm32-hash.c -- 2.7.4