[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Ye+bam3aSIjz8n9E@sol.localdomain>
Date: Mon, 24 Jan 2022 22:40:42 -0800
From: Eric Biggers <ebiggers@...nel.org>
To: "Jason A. Donenfeld" <Jason@...c4.com>
Cc: Linux ARM <linux-arm-kernel@...ts.infradead.org>,
Linux Crypto Mailing List <linux-crypto@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
llvm@...ts.linux.dev, Nick Desaulniers <ndesaulniers@...gle.com>,
Sami Tolvanen <samitolvanen@...gle.com>,
Nathan Chancellor <nathan@...nel.org>,
Herbert Xu <herbert@...dor.apana.org.au>,
Miles Chen <miles.chen@...iatek.com>,
Ard Biesheuvel <ardb@...nel.org>
Subject: Re: [PATCH v2] lib/crypto: blake2s: avoid indirect calls to
compression function for Clang CFI
On Mon, Jan 24, 2022 at 08:28:49PM +0100, Jason A. Donenfeld wrote:
> blake2s_compress_generic is weakly aliased by blake2s_generic. The
Don't you mean "weakly aliased by blake2s_compress"?
> Fixes: 6048fdcc5f26 ("lib/crypto: blake2s: include as built-in")
> Reported-by: Miles Chen <miles.chen@...iatek.com>
> Tested-by: Miles Chen <miles.chen@...iatek.com>
> Tested-by: Nathan Chancellor <nathan@...nel.org>
> Link: https://github.com/ClangBuiltLinux/linux/issues/1567
> Cc: Nick Desaulniers <ndesaulniers@...gle.com>
> Cc: Sami Tolvanen <samitolvanen@...gle.com>
> Cc: Ard Biesheuvel <ardb@...nel.org>
> Signed-off-by: Jason A. Donenfeld <Jason@...c4.com>
> ---
Otherwise this looks fine, though it's unfortunate this is needed. You can add:
Reviewed-by: Eric Biggers <ebiggers@...gle.com>
> Changes v1->v2:
> - Wrapped columns at 80 for Eric.
It is the recommended coding style, so not just for me :-)
- Eric
Powered by blists - more mailing lists