[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z0OzDle-VrrXf8rW@gondor.apana.org.au>
Date: Mon, 25 Nov 2024 07:13:18 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Lukas Wunner <lukas@...ner.de>
Cc: Ard Biesheuvel <ardb@...nel.org>, Zorro Lang <zlang@...hat.com>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [Bug report] kernel BUG at include/linux/scatterlist.h
On Sun, Nov 24, 2024 at 05:24:12PM +0100, Lukas Wunner wrote:
>
> Hm, my impression is that this needs to be fixed in arm64's
> virt_addr_valid() macro.
Regardless of what happens on arm64, you can't put a virtual
address into an SG list in general. It's just not allowed.
In any case, we don't even need SG lists here since the correct
interface to use in rsassa-pkcs1.c is crypto_akcipher_sync_encrypt.
Thanks,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists