Message ID | 20181204131333.15046-2-ard.biesheuvel@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp8053760ljp; Tue, 4 Dec 2018 05:13:43 -0800 (PST) X-Google-Smtp-Source: AFSGD/VvnHxmDsrVvnKNRfmFzhNYQcL8UDBHPVJVZ205rMaeDuO1mxTtJqo1vxUdG1eN++ukSwwS X-Received: by 2002:a62:5d0c:: with SMTP id r12mr20692028pfb.0.1543929223587; Tue, 04 Dec 2018 05:13:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543929223; cv=none; d=google.com; s=arc-20160816; b=IsE2FwXym+GB8vh8+PmRXRAlEhvtfMQJ9thlpcHj/W+4AS5rPviq7n0DOivLJ0vuZR lMUyG2iZW33+aoBnIAJ2IJKwCRnp2hKYAK1Xta3JMzendCmdhnlFSLdKu+03IXh9Fkjq Iyq7fn8xrXFQUOL2wiXe/bQ420zYw9erYeLaVrqz0dFzJikdr9MUzgtQxqN2i0QpBzOG 0Es8hISGnqXslANpBkB0pNg3kG6CeKrxrfHnPPBZJCCGwzmDCPt4iuw5fu0x8KKuJD6o Knvxrm66Ub/URqwPJwTA+X13xFnhoOFaAvBRYjs85Oz/SUehCJmJXl7d2CMna5OdVJO0 AmgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XUVVmoWaqU+ay+UsIAQhe3mrclh60T/XOlD7VEDAAno=; b=JqoNafCOvVGV1+cWiIHZ/cRu42t/pI3UEt98j+aFoBZWNJtvtpkXVVy0BETF0bh1B2 +aSZhXGTdzd/HvwRaYySXuVTv/Z8ZZzs0u9meuUM/AFTggeVHTT8PqMVI96nMU+bLc6/ mJ7SqbcrtIJ5utU52wKDcyfJzhIbc27VpvF7FYsFrajXItZ2l/8hPtcyDEfOey0YODBR uQ/iXOYH0YFQVbnH0TmWScqvbtaW81z2kzt99bcAABJJr89HIqED5GdBD6bP6mgdI50r KLMXC4zyPgMUjaCQngsT3DgU7hOHfFL2S5v68nsh3GhdJLb9SBkxEwcu5MaPJTRg7+ZH i5Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ggSmZfRd; 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: <linux-crypto-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c10si15936314pll.271.2018.12.04.05.13.43; Tue, 04 Dec 2018 05:13:43 -0800 (PST) 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=ggSmZfRd; 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 S1725802AbeLDNNm (ORCPT <rfc822;ard.biesheuvel@linaro.org> + 2 others); Tue, 4 Dec 2018 08:13:42 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:35772 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726134AbeLDNNl (ORCPT <rfc822;linux-crypto@vger.kernel.org>); Tue, 4 Dec 2018 08:13:41 -0500 Received: by mail-wr1-f67.google.com with SMTP id 96so15935027wrb.2 for <linux-crypto@vger.kernel.org>; Tue, 04 Dec 2018 05:13:40 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=XUVVmoWaqU+ay+UsIAQhe3mrclh60T/XOlD7VEDAAno=; b=ggSmZfRdOjuVL+kIgHPBFbxLOpkaR88Sx7vhEIKfblwaOylUgdkDN2KVgUonPJvzI/ MMiPz1EgBgHfFltCfbWFYD50gUIBtQlSyLxj7A3AAvR/JEM3axcApvd1YL6iCIjHrCY2 Sl7SILhX12kklRlVaSKasrt/b5EJKUu9e0AWM= 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:mime-version:content-transfer-encoding; bh=XUVVmoWaqU+ay+UsIAQhe3mrclh60T/XOlD7VEDAAno=; b=NHJ29orvbdPU0lAAFxyofYfeEvR/tH4gEtpHlY2utBmTUQnE2oe2tWtNCmlyoXyOAs TAVwiYnLrqgCaqLmyedyKXXg0M1e1+WVgjGxK6Jr4e4FkuvwBZKNNPG0pxmebltwUsLe 810j1oLn3q32Ims38Ki5GP3itc6cDgNZpItuKu1RKyIRpbnHxQP7BP68lySxICRgSau7 mbvQmlTYhzGHf6UJTK7Diu5q7ED6ZCJjnWuXAhLs9M7YnTGOlSS05LVRv6b9HL2KGJcF IF61YmiaFfqyP6pseXdaoX8HdhTg6fLpInsm//sLV5q5YGA3ePy/k9c/iXyBaXPi4jsD NArA== X-Gm-Message-State: AA+aEWa0PB7LrBekgOY/yWNeW8XXeRZJOhE3SOK6xaYcUmfWppXbP98U AbRB6rwQpt1ccuYOd4GTZZSn3mEG8g7N2A== X-Received: by 2002:adf:bb8d:: with SMTP id q13mr17968001wrg.183.1543929219748; Tue, 04 Dec 2018 05:13:39 -0800 (PST) Received: from harold.home ([2a01:cb1d:112:6f00:90ed:187a:cfaf:c404]) by smtp.gmail.com with ESMTPSA id p6sm13054707wrx.50.2018.12.04.05.13.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Dec 2018 05:13:38 -0800 (PST) From: Ard Biesheuvel <ard.biesheuvel@linaro.org> To: linux-crypto@vger.kernel.org Cc: herbert@gondor.apana.org.au, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Eric Biggers <ebiggers@kernel.org>, Martin Willi <martin@strongswan.org> Subject: [PATCH v2 1/3] crypto: tcrypt - add block size of 1472 to skcipher template Date: Tue, 4 Dec 2018 14:13:31 +0100 Message-Id: <20181204131333.15046-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181204131333.15046-1-ard.biesheuvel@linaro.org> References: <20181204131333.15046-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: <linux-crypto.vger.kernel.org> X-Mailing-List: linux-crypto@vger.kernel.org |
Series |
crypto: arm64/chacha - performance improvements
|
expand
|
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 0590a9204562..e7fb87e114a5 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c @@ -81,7 +81,7 @@ static char *check[] = { NULL }; -static u32 block_sizes[] = { 16, 64, 256, 1024, 8192, 0 }; +static u32 block_sizes[] = { 16, 64, 256, 1024, 1472, 8192, 0 }; static u32 aead_sizes[] = { 16, 64, 256, 512, 1024, 2048, 4096, 8192, 0 }; #define XBUFSIZE 8
In order to have better coverage of algorithms operating on block sizes that are in the ballpark of a VPN packet, add 1472 to the block_sizes array. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> --- crypto/tcrypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.19.2