From patchwork Thu Sep 20 13:18:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilad Ben-Yossef X-Patchwork-Id: 10607745 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 ABB7214DA for ; Thu, 20 Sep 2018 13:19:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9B24B2C6C0 for ; Thu, 20 Sep 2018 13:19:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9932C2C902; Thu, 20 Sep 2018 13:19:17 +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 0CB432D620 for ; Thu, 20 Sep 2018 13:19:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727078AbeITTCp (ORCPT ); Thu, 20 Sep 2018 15:02:45 -0400 Received: from foss.arm.com ([217.140.101.70]:45830 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726177AbeITTCo (ORCPT ); Thu, 20 Sep 2018 15:02:44 -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 C12917A9; Thu, 20 Sep 2018 06:19:15 -0700 (PDT) Received: from sugar.kfn.arm.com (E110176.Emea.Arm.com [10.50.4.176]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 555DF3F5BD; Thu, 20 Sep 2018 06:19:14 -0700 (PDT) From: Gilad Ben-Yossef To: Herbert Xu , "David S. Miller" Cc: ofir.drang@arm.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] crypto: OFB and tests Date: Thu, 20 Sep 2018 14:18:37 +0100 Message-Id: <1537449521-16182-1-git-send-email-gilad@benyossef.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 OFB mode generic implementation and more SM4 tests Gilad Ben-Yossef (3): crypto: testmgr: update sm4 test vectors crypto: add output feedback mode crypto: tcrypt: add OFB functional tests crypto/Kconfig | 12 +++ crypto/Makefile | 1 + crypto/ofb.c | 225 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ crypto/tcrypt.c | 17 +++++ crypto/tcrypt.h | 1 + crypto/testmgr.c | 12 +++ crypto/testmgr.h | 122 ++++++++++++++++++++++++++++-- 7 files changed, 383 insertions(+), 7 deletions(-) create mode 100644 crypto/ofb.c