Message ID | 20210204214359.1993065-8-thara.gopinath@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp1655776jah; Thu, 4 Feb 2021 13:46:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJywzjQcJh7oK8M0S/3TTBJNX70mihY9TvkVCO190c4tkka6fe4/rzrGyMMiHmJ+udV2lXXJ X-Received: by 2002:a50:d58c:: with SMTP id v12mr583658edi.71.1612475207662; Thu, 04 Feb 2021 13:46:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612475207; cv=none; d=google.com; s=arc-20160816; b=C3XtyXb6zlXtvRtMdi17g+C3EniYt+0jj7vT+bKU6vabVYKJBZStXt518Ir33Fschi OZduhKLZj4P6qws2vZIP4Kb7R5C1zlhvc6XnwwT6q2OXeS64aob0f6Ae4GQ756liGn6h vstgHIoiqOz2J6VH/fLSXLbU+fOFthTtr5UMethpjHF5/ll32fiiZYztbfInGd8ItBB0 zMt6X/bCYdaC0G9gyXgUunMZUK84yNZYfeU7lHjYU3g5votsdJfaNdphy9AZd4Cq140x FslujVEoxmH5vcscmm9VI0I2gNi340AMXpHF1lUo6kIs+RSsQxAya1ZxRn6B4UuvBaxT o3Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KjZ2FfLW1/QZmo1tCtVZh16jkU5d2sBI2rN7J1hvIYw=; b=sQSE3bAeKjlOTGq1oGit7axnUHnSOgk06YLMYTqXhxwI1XeSdZDciU0W7Hx+v+eTtA 1Y6AcbBUzYqTQOX10AQPTKzXK/foAOTGzR+++iNzgXUACwabVqpSslkp8I2IQKUPA8IE SRdt2ySHkmGqpylBVeCVy1b1IdMOxSIxNjRlW7zJB6ebnD4dqEnPqM7se6JVNfUHT9HU Dzl2jC+mHeQc0Ykg2HKPlsFa+RY5e+wpE/SLsXsrhj7o8h6HCQvqCLccQIK8STBMhr9+ yO/7yJ8DRq55iXBsQ5E1/Ov5bhCOwBWlQFWMy93ZBisNEhlZfU08sAAN1eK8OKWJWEAL zN2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g5EgL9oK; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id j4si3983455ejv.17.2021.02.04.13.46.47; Thu, 04 Feb 2021 13:46:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g5EgL9oK; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 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 S230098AbhBDVqO (ORCPT <rfc822; sumit.garg@linaro.org> + 2 others); Thu, 4 Feb 2021 16:46:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230114AbhBDVp1 (ORCPT <rfc822;linux-crypto@vger.kernel.org>); Thu, 4 Feb 2021 16:45:27 -0500 Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA970C06121C for <linux-crypto@vger.kernel.org>; Thu, 4 Feb 2021 13:44:07 -0800 (PST) Received: by mail-qv1-xf2a.google.com with SMTP id l11so2523440qvt.1 for <linux-crypto@vger.kernel.org>; Thu, 04 Feb 2021 13:44:07 -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=KjZ2FfLW1/QZmo1tCtVZh16jkU5d2sBI2rN7J1hvIYw=; b=g5EgL9oKkFrP4qrDMqJXWuVtfqL+27lOlV4TwftWzdFlWpIMb6cY1CPR2U7M/CM8r7 EoCtl2w4xW5UovRh4KwzaRDDjowaeSougjpE0WSpQB1/7EVGEd4X0CI577NJkKIqbOdl i5/VH5hfpVECB5EUfIhpUtFXAqaUkR8VOTD3F+mtD2SyuMdVrNmvkGN+fs32lbJVtC/S FX3fC9rRsZ/C/7IcF+R9fxfCliW7b8InuPEypVnzhHv/n8UliqJgCPc3aqTmpNsSyvJd nO812hYm+e5ghRyx+XQtUBgc24kq63WR3lT6jMjS9vPR1ZpO7u9LD+4EGLA6dPo9KxLR VVpQ== 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=KjZ2FfLW1/QZmo1tCtVZh16jkU5d2sBI2rN7J1hvIYw=; b=G4FNa8zM+ltIUome/jTaRw22G3iEMTHYMTo2XfZiLxfvUtP24wXLQwUdJpCI7bGq4t gsBuJjbfsnajDUhqbXCuZvHOaqacsN3S4NZG0IXitrTekpKmtVFS0yOydHSji6QMTKN9 x2A397V+gZeFE4+OGmxGrtJ8/uAXbAeWr3fInZwHNdy5Zj2lyn1z9ZQxnSCxboXw5TiV XClzwwmr7+Dit+opWtbWJGymj6VMHF8sRFFrJ+plbkaigjWCaq+QT8yAv6JIu3Kdn/G3 /o9hCfY5WKTWCMyEjGUixwNKyiqcR7LNaIKM/rJRD4ppGgzZEXVpmYkBu2yXufeMeThY +Ezw== X-Gm-Message-State: AOAM532LOXhIwSeGzQ4syOj0biCKWUAVq3aPLr3U+U8URHdaSDW8cawR e5atEyeUpTmAuD0rQ77j4vwNPQ== X-Received: by 2002:a0c:ffc5:: with SMTP id h5mr1622019qvv.48.1612475047129; Thu, 04 Feb 2021 13:44:07 -0800 (PST) Received: from pop-os.fios-router.home (pool-71-163-245-5.washdc.fios.verizon.net. [71.163.245.5]) by smtp.googlemail.com with ESMTPSA id h185sm6353858qkd.122.2021.02.04.13.44.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Feb 2021 13:44:06 -0800 (PST) From: Thara Gopinath <thara.gopinath@linaro.org> To: herbert@gondor.apana.org.au, davem@davemloft.net, bjorn.andersson@linaro.org Cc: ebiggers@google.com, ardb@kernel.org, sivaprak@codeaurora.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 07/11] crypto: qce: skcipher: Set ivsize to 0 for ecb(aes) Date: Thu, 4 Feb 2021 16:43:55 -0500 Message-Id: <20210204214359.1993065-8-thara.gopinath@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210204214359.1993065-1-thara.gopinath@linaro.org> References: <20210204214359.1993065-1-thara.gopinath@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-crypto.vger.kernel.org> X-Mailing-List: linux-crypto@vger.kernel.org |
Series |
Regression fixes/clean ups in the Qualcomm crypto engine driver
|
expand
|
diff --git a/drivers/crypto/qce/skcipher.c b/drivers/crypto/qce/skcipher.c index 28bea9584c33..10e85b1fc0fd 100644 --- a/drivers/crypto/qce/skcipher.c +++ b/drivers/crypto/qce/skcipher.c @@ -356,7 +356,7 @@ static const struct qce_skcipher_def skcipher_def[] = { .name = "ecb(aes)", .drv_name = "ecb-aes-qce", .blocksize = AES_BLOCK_SIZE, - .ivsize = AES_BLOCK_SIZE, + .ivsize = 0, .min_keysize = AES_MIN_KEY_SIZE, .max_keysize = AES_MAX_KEY_SIZE, },
ECB transformations do not have an IV and hence set the ivsize to 0 for ecb(aes). Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org> --- drivers/crypto/qce/skcipher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1