]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
integrity: Refactor asymmetric_verify for reusability
authorStefan Berger <stefanb@linux.ibm.com>
Thu, 16 Apr 2026 15:40:38 +0000 (11:40 -0400)
committerMimi Zohar <zohar@linux.ibm.com>
Wed, 13 May 2026 12:21:19 +0000 (08:21 -0400)
commit33aa0c8cf0657b9588f835645cbbcebe44a2a1ee
tree64cacd89d90422e213eb2a4eea217f64e6b78f2a
parent474c78c26744b6921549f0c679b7507a57cfcbb9
integrity: Refactor asymmetric_verify for reusability

Refactor asymmetric_verify for reusability. Have it call
asymmetric_verify_common with the signature verification key and the
public_key structure as parameters. sigv3 support for ML-DSA will need to
check the public key type first to decide how to do the signature
verification and therefore will have these parameters available for
calling asymmetric_verify_common.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Tested-by: Kamlesh Kumar <kam@juniper.net>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
security/integrity/digsig_asymmetric.c