Message ID | Y1thZ/+Gh/ONyf7x@gondor.apana.org.au |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp623233wru; Thu, 27 Oct 2022 22:04:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM66JisIOkbmADaWqY27ODadzwOsHxkwyCM2i6bFGZLfnjOTVOzgeOrR3+MazCFC8M1+efI3 X-Received: by 2002:a17:902:b944:b0:179:fdb0:1c39 with SMTP id h4-20020a170902b94400b00179fdb01c39mr53287096pls.98.1666933454979; Thu, 27 Oct 2022 22:04:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666933454; cv=none; d=google.com; s=arc-20160816; b=XxtPIiZ+a6zfbBBtk1phjn0g9TXokgpauSwjxkYX0FCwmJbiSjLzfPYccgH61Xrdfj QJ6YAhfmBif99U49XTpJsVe2TyvFgFvSdgwmslmr5BaeJDdSvXBXS1PYHooTf17lMaAH rNajOx6W2/kX2k/qUpqbEXAMsrDiUhsODk/2ujgtICn7qSaP69KWbodOpsSm6Ie8764M 4qRlTnQakXgebFH+XTVyFZXoTPEFiEHrKC7sWuAdmaQSurG2MbL2Fojin7qQUwki7MGG zAqTn0WTq7bsdc/6dnt6calN7KEm+e7kpXiJ+LLvI/9W8HSbCgHqqwjeTNp38C6sCXHk TmIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:to:from:date; bh=3ncqu+yNhB7yYFvXqoj6V8AxCjV8F6tFjO9ufkOizIY=; b=ZgeWVFmf9dfx+Hup2gxmqHlcnVwf44FHK5/aI2acuki7bwgVJdApHlhHa4jdAxIIQI /lJI+1cwFt+HQZbM8e+l8dT22WQ9eTwvfkdESLdxvR4XuXnb9tb/ZdmGzE3COvgL0LbL I0wrGf38lhTS0LcUN6vR2g5vkx8BWNMJ6lthL5NaKIpQ/4FBiRMZpaLWoG8ZW61ROFuP BjJyGzWA+yHg/iATG3RWFU4EUEL8iuW6nlLZSqVnqtZXusqzuEk5USxJDEYoB3/j2lip r/dvbGtzVLoCpCOtOoxe2jya9TLstZG7g+PJSMwkItjIieERfeUh6n8OhtA/4NaA0a3F KmGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e1-20020a630f01000000b0044c3e11a7b4si4565680pgl.42.2022.10.27.22.04.02; Thu, 27 Oct 2022 22:04:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229670AbiJ1E6Y (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Fri, 28 Oct 2022 00:58:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229544AbiJ1E6X (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 28 Oct 2022 00:58:23 -0400 Received: from formenos.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A58A219844A; Thu, 27 Oct 2022 21:58:22 -0700 (PDT) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1ooHR5-007Ut7-7o; Fri, 28 Oct 2022 12:58:16 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 28 Oct 2022 12:58:15 +0800 Date: Fri, 28 Oct 2022 12:58:15 +0800 From: Herbert Xu <herbert@gondor.apana.org.au> To: Linus Torvalds <torvalds@linux-foundation.org>, "David S. Miller" <davem@davemloft.net>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Linux Crypto Mailing List <linux-crypto@vger.kernel.org> Subject: [GIT PULL] Crypto Fixes for 6.1 Message-ID: <Y1thZ/+Gh/ONyf7x@gondor.apana.org.au> References: <20211029041408.GA3192@gondor.apana.org.au> <20211112104815.GA14105@gondor.apana.org.au> <YcKz4wHYTe3qlW7L@gondor.apana.org.au> <YgMn+1qQPQId50hO@gondor.apana.org.au> <YjE5yThYIzih2kM6@gondor.apana.org.au> <YkUdKiJflWqxBmx5@gondor.apana.org.au> <YpC1/rWeVgMoA5X1@gondor.apana.org.au> <Yqw7bf7ln6vtU/VH@gondor.apana.org.au> <Yr1XPJsAH2l1cx3A@gondor.apana.org.au> <Y0zcWCmNmdXnX8RP@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <Y0zcWCmNmdXnX8RP@gondor.apana.org.au> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746909170159444832?= X-GMAIL-MSGID: =?utf-8?q?1747906414596399858?= |
Series |
[GIT,PULL] Crypto Fixes for 6.1
|
|
Pull-request
git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git tags/v6.1-p3Message
Herbert Xu
Oct. 28, 2022, 4:58 a.m. UTC
Hi Linus: The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780: Linux 6.1-rc1 (2022-10-16 15:36:24 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git tags/v6.1-p3 for you to fetch changes up to 9f6035af06b526e678808d492fc0830aef6cfbd8: crypto: x86/polyval - Fix crashes when keys are not 16-byte aligned (2022-10-21 19:05:05 +0800) ---------------------------------------------------------------- This push fixes an alignment crash in x86/polyval. ---------------------------------------------------------------- Nathan Huckleberry (1): crypto: x86/polyval - Fix crashes when keys are not 16-byte aligned arch/x86/crypto/polyval-clmulni_glue.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) Thanks,
Comments
On Thu, Oct 27, 2022 at 9:58 PM Herbert Xu <herbert@gondor.apana.org.au> wrote: > > This push fixes an alignment crash in x86/polyval. I'm surprised that there isn't a cra_ctxalignment field. Instead there is crypto_tfm_ctx_alignment(), but that is just an odd way to write CRYPTO_MINALIGN. Linus
The pull request you sent on Fri, 28 Oct 2022 12:58:15 +0800:
> git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git tags/v6.1-p3
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/05c31d25cc9678cc173cf12e259d638e8a641f66
Thank you!
On Fri, Oct 28, 2022 at 10:00:34AM -0700, Linus Torvalds wrote: > > I'm surprised that there isn't a cra_ctxalignment field. Instead there > is crypto_tfm_ctx_alignment(), but that is just an odd way to write > CRYPTO_MINALIGN. It's a micro-optimisation to elide the align operaton because most algorithms don't need it. I've been meaning to add a helper for it though: https://lore.kernel.org/all/E1noNhu-00BzV4-4N@fornost.hmeau.com/ But I got side tracked by the vacillating DMA discussion. Cheers,