From patchwork Sun Jun 30 16:50:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 168179 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1934225ilk; Sun, 30 Jun 2019 09:50:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwiEmBd5L2xXfA4MrAIjPVa20h+wx0htywRCygpfgi9QmeB1ru2l5XkCO9eQ7jdN581krXI X-Received: by 2002:a63:b547:: with SMTP id u7mr20614684pgo.322.1561913452950; Sun, 30 Jun 2019 09:50:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561913452; cv=none; d=google.com; s=arc-20160816; b=GsFraZyUMKOv+n/Z4yEp2y6NrpPtZ25ewSJwEklwYjDklXP+Tq9jnijrWWCoFpLazt S1839lM3/pgg3gwpZt9T+8z/O8KboxPic6r/Hxgsif+XMMk/PHtyb7telwska/MNzMT9 GwLtgVDsDyXPbaXjGvH/2JPZsisIcE5N1rapxgIEk6hkqoIsS03bQ3Q40k2artqKKUef IQNqlqTWBYg6mdLsR+GANfvOtUfNsvvwGlECO5dfcPARyiiKNzkQG4lPpWOaxpP+ezd+ Dxk0GG81c/uOl/eVVKo8ElAIfwePppzy1Tk0f2WI47s51Y39T5FcwO5JGQu3VwfSD5Hp WzAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=IbJk8yGtVibJ3jA8F/L0xfrbsqoU6XoewNPY2ugJCBA=; b=iWTwHOLYdT+a6nZpP3iHHoOe79xv0YC0XD3efSMbh76kR/t+GEel9WJHG2pG7PRM5M oO41D1LS+Vtdkl7o7SJaCn07mnckOIXtwbowryaFJytFjJWjSarWGWEl6YKm1386IkqT GBAdm9vqCB8g8XxSH6dpoC3Ez6gMf+ilGNgeiFH6fY1+6rm2YA/kw8T5K6O4lEF1pN00 fvDTr0Qf8ofItGaFwSvs3SB01ceg1ZllutPtchA8wbXnRDC4H1JfIL1pgq3zBlRlOZFH /12zyedBdp+J/5Po0fVkRwgUloXA6wP/ENxi2hybC8mDZQES5j6NkwyPl2ma3cfeireP Lntw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QF+fb7tr; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 6si7947678pld.293.2019.06.30.09.50.52; Sun, 30 Jun 2019 09:50:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QF+fb7tr; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726647AbfF3Quw (ORCPT + 3 others); Sun, 30 Jun 2019 12:50:52 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:32881 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726668AbfF3Quv (ORCPT ); Sun, 30 Jun 2019 12:50:51 -0400 Received: by mail-lf1-f68.google.com with SMTP id y17so7149304lfe.0 for ; Sun, 30 Jun 2019 09:50:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=IbJk8yGtVibJ3jA8F/L0xfrbsqoU6XoewNPY2ugJCBA=; b=QF+fb7trOvbjVq88KkcG2JWbeyUjCx5AtXyv1/BUbp/DH9VTjzns/hGeZUDLKLibnZ 1FvFAvbFGGyclYgSZSWg3GI1X223PwJHMXyvS3L6yDylJf9ytZ2kdV19xpCJd6xtFN/i Gb+s0752ff+klGixdQDmu3BY5buISnJjUngYVeb2dy6EuSfp+BN8dSp4OVGto3f8buKA nk/1JP++zpFsRXBXSskYx6dxKgBltrVugLvk4yobiBB19zZJrvHtgWfYBYuzfKusLMwQ u53gO2UOMJjGCFXSJ0wiBYzo5oQ8TY4LZ5L5gwnPeT1uWXbZVXHHxo29AdlSoxNcTb7w YHHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=IbJk8yGtVibJ3jA8F/L0xfrbsqoU6XoewNPY2ugJCBA=; b=mHhR1jfMBkqM8R1G4ur/jQn5Q7GniBKPp9fty7MF8HPNFkMlDN6/nyKptTOtchmYhN dQPyNR0fwueVrDp1ypZimDe+TpV5YBq4XXcfHwt0Rl3IF4BQu3+xg4WIwxhFmpdbVECz An9v6QpJhgPs/CUopYASKrPqjJtKOCdH6Y8Y4EAZH6xos9GWlfuoaAiz0V52katFhA58 JmlYw1HxPEDZRU0XqIPCvTsRFaN+r37r9TXzesx10PEleb428RADd+wzKjMKoTxU8G2y ZYGhoM4dIrsRi0OwZ6jk2G38AhftMDY05ujv4k07gI9JEhK3dMM/pKfhBKu//tmPsLti 6aXw== X-Gm-Message-State: APjAAAWS3lhvixWfJJdlHQKutYvaRw4C++71TmDJdoAF8eYDHoosn+7Z ZkG/cjBKh/LVWswpFsaGJ6+vWO4AV1TLYg== X-Received: by 2002:a19:ccc6:: with SMTP id c189mr9527080lfg.160.1561913449522; Sun, 30 Jun 2019 09:50:49 -0700 (PDT) Received: from e111045-lin.arm.com (89-212-78-239.static.t-2.net. [89.212.78.239]) by smtp.gmail.com with ESMTPSA id t15sm2097367lff.94.2019.06.30.09.50.48 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 30 Jun 2019 09:50:48 -0700 (PDT) From: Ard Biesheuvel To: linux-crypto@vger.kernel.org Cc: Ard Biesheuvel , Eric Biggers , Ondrej Mosnacek , Herbert Xu , Steve Capper , Milan Broz , Ard Biesheuvel Subject: [PATCH v3 7/7] crypto: tcrypt - add a speed test for AEGIS128 Date: Sun, 30 Jun 2019 18:50:31 +0200 Message-Id: <20190630165031.26365-8-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190630165031.26365-1-ard.biesheuvel@linaro.org> References: <20190630165031.26365-1-ard.biesheuvel@linaro.org> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Signed-off-by: Ard Biesheuvel --- crypto/tcrypt.c | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.17.1 diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 798253f05203..72dc84e1c647 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c @@ -2332,6 +2332,13 @@ static int do_test(const char *alg, u32 type, u32 mask, int m, u32 num_mb) 0, speed_template_32); break; + case 221: + test_aead_speed("aegis128", ENCRYPT, sec, + NULL, 0, 16, 8, speed_template_16); + test_aead_speed("aegis128", DECRYPT, sec, + NULL, 0, 16, 8, speed_template_16); + break; + case 300: if (alg) { test_hash_speed(alg, sec, generic_hash_speed_template);