From patchwork Thu Oct 18 12:59:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yael Chemla X-Patchwork-Id: 10647105 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BA9B5109C for ; Thu, 18 Oct 2018 13:00:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC29F2886A for ; Thu, 18 Oct 2018 13:00:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A043828877; Thu, 18 Oct 2018 13:00:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 49F2D2886A for ; Thu, 18 Oct 2018 13:00:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726962AbeJRVBS (ORCPT ); Thu, 18 Oct 2018 17:01:18 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:37494 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726758AbeJRVBR (ORCPT ); Thu, 18 Oct 2018 17:01:17 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DBBC4341; Thu, 18 Oct 2018 06:00:22 -0700 (PDT) Received: from ssg-dev-vb.kfn.arm.com (E111387.Emea.Arm.com [10.50.33.152]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E35673F59C; Thu, 18 Oct 2018 06:00:20 -0700 (PDT) From: Yael Chemla To: Gilad Ben-Yossef , Herbert Xu , "David S . Miller" , linux-crypto@vger.kernel.org, Ofir Drang , linux-kernel@vger.kernel.org Cc: Yael Chemla Subject: [PATCH 0/3] crypto: ccree: add SM3 support Date: Thu, 18 Oct 2018 13:59:56 +0100 Message-Id: <1539867599-20504-1-git-send-email-yael.chemla@foss.arm.com> X-Mailer: git-send-email 2.7.4 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add support for SM3 in CryptoCell 713. Yael Chemla (3): crypto: ccree: adjust hash length to suit certain context specifics crypto: ccree: modify set_cipher_mode usage from cc_hash crypto: ccree: add SM3 support drivers/crypto/Kconfig | 1 + drivers/crypto/ccree/cc_aead.c | 19 +++- drivers/crypto/ccree/cc_crypto_ctx.h | 4 +- drivers/crypto/ccree/cc_driver.c | 10 +- drivers/crypto/ccree/cc_driver.h | 2 +- drivers/crypto/ccree/cc_hash.c | 175 +++++++++++++++++++++++--------- drivers/crypto/ccree/cc_hw_queue_defs.h | 27 +++++ 7 files changed, 182 insertions(+), 56 deletions(-) Acked-by: Gilad Ben-Yossef