From patchwork Mon Nov 9 08:31:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 321204 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BBAB3C2D0A3 for ; Mon, 9 Nov 2020 08:32:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4AB0720719 for ; Mon, 9 Nov 2020 08:32:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604910779; bh=gevEFAL9at2tNPhrsj7B6CkAl+nAQAei2cauoSzXsR8=; h=From:To:Cc:Subject:Date:List-ID:From; b=tji+vRKVmM6vyZKUNnbQaA9q73P7cQu/EKKWXJuI+1CHFiCphZEOiWnBkRr1ka8ty yzKSbX4sw9VEv6XdGwQkqVUtWotWjxz7QYJwHmrgtlAqifOrTFGFWxFydpYkVs0u2L 8CgMeHuPiX+tL8Q4aA2rIV9/0SFhdhImDEG9ckb0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725854AbgKIIc6 (ORCPT ); Mon, 9 Nov 2020 03:32:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:38026 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726646AbgKIIc6 (ORCPT ); Mon, 9 Nov 2020 03:32:58 -0500 Received: from e123331-lin.nice.arm.com (lfbn-nic-1-188-42.w2-15.abo.wanadoo.fr [2.15.37.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AFD8F206ED; Mon, 9 Nov 2020 08:32:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604910778; bh=gevEFAL9at2tNPhrsj7B6CkAl+nAQAei2cauoSzXsR8=; h=From:To:Cc:Subject:Date:From; b=hcy16/uZTutlK++0Tln87hZTIciuuBxSZTQP4+ZVdU94rkqi/YMDRKyZaRS/GxCTf decDw4i83KXh/rwA4FA7WWwVDMovHQcVrLvf5ZsxoEm2NwQOXJnZGJYEE0mStY00S9 1mpmL/uOyZ/On07WD1WhyVzdHMiYhVR5T2okGXa4= From: Ard Biesheuvel To: linux-crypto@vger.kernel.org Cc: herbert@gondor.apana.org.au, ebiggers@kernel.org, Ard Biesheuvel Subject: [PATCH 0/3] crypto: tcrypt enhancements Date: Mon, 9 Nov 2020 09:31:40 +0100 Message-Id: <20201109083143.2884-1-ardb@kernel.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Some tcrypt enhancements that I have been using locally to test and benchmark crypto algorithms on the command line using KVM: - allow tcrypt.ko to be builtin and defer its initialization to late_initcall - add 1420 byte blocks to the list of benchmarked block sizes for AEADs and skciphers, to get an estimate of the performance in the context of a VPN Ard Biesheuvel (3): crypto: tcrypt - don't initialize at subsys_initcall time crypto: tcrypt - permit tcrypt.ko to be builtin crypto: tcrypt - include 1420 byte blocks in aead and skcipher benchmarks crypto/Kconfig | 2 +- crypto/tcrypt.c | 83 +++++++++++--------- 2 files changed, 46 insertions(+), 39 deletions(-)