Message ID | Y0zcWCmNmdXnX8RP@gondor.apana.org.au |
---|---|
State | New |
Headers | show |
Series | [GIT,PULL] Crypto Fixes for 6.1 | expand |
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,