[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y6NxtH41JNMy3NOl@sol.localdomain>
Date: Wed, 21 Dec 2022 12:51:00 -0800
From: Eric Biggers <ebiggers@...nel.org>
To: Roberto Sassu <roberto.sassu@...weicloud.com>
Cc: dhowells@...hat.com, herbert@...dor.apana.org.au,
davem@...emloft.net, zohar@...ux.ibm.com,
dmitry.kasatkin@...il.com, paul@...l-moore.com, jmorris@...ei.org,
serge@...lyn.com, linux-integrity@...r.kernel.org,
linux-security-module@...r.kernel.org, keyrings@...r.kernel.org,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
Roberto Sassu <roberto.sassu@...wei.com>,
stable@...r.kernel.org
Subject: Re: [PATCH v3 2/2] KEYS: asymmetric: Copy sig and digest in
public_key_verify_signature()
On Wed, Dec 21, 2022 at 11:37:10AM +0100, Roberto Sassu wrote:
> + sg_init_table(&src_sg, 1);
> + sg_set_buf(&src_sg, buf, sig->s_size + sig->digest_size);
The above two function calls should be replaced with sg_init_one().
- Eric
Powered by blists - more mailing lists