Re: [GIT PULL] TPM DEVICE DRIVER updates for v5.18

From: Eric Biggers
Date: Tue Mar 08 2022 - 13:10:38 EST


On Tue, Mar 08, 2022 at 02:58:49PM +0200, Jarkko Sakkinen wrote:
> KEYS: asymmetric: enforce that sig algo matches key algo

It looks like you applied v1 of this patch
(https://lore.kernel.org/r/20220201003414.55380-2-ebiggers@xxxxxxxxxx) rather
than v2 (https://lore.kernel.org/r/20220208052448.409152-2-ebiggers@xxxxxxxxxx).
I think that v2 is necessary because some callers of
public_key_verify_signature() leave pkey_algo as NULL.

Sorry for not spotting that you applied v1 earlier.

- Eric