diff mbox series

[06/74] backports: add id_2 argument to find_asymmetric_key()

Message ID 20240524190906.599a472c0beb.I0bc338dbb6b1c91bdd54cf656ab41d09f05b8248@changeid (mailing list archive)
State New, archived
Headers show
Series backport updates from Intel | expand

Commit Message

Johannes Berg May 24, 2024, 5:07 p.m. UTC
From: Johannes Berg <johannes.berg@intel.com>

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 backport/backport-include/keys/asymmetric-type.h | 1 +
 backport/compat/verification/key.c               | 1 +
 2 files changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/backport/backport-include/keys/asymmetric-type.h b/backport/backport-include/keys/asymmetric-type.h
index 5744de9cee0f..35ddd4008c60 100644
--- a/backport/backport-include/keys/asymmetric-type.h
+++ b/backport/backport-include/keys/asymmetric-type.h
@@ -30,6 +30,7 @@  asymmetric_key_generate_id(const void *val_1, size_t len_1,
 extern struct key *find_asymmetric_key(struct key *keyring,
 				       const struct asymmetric_key_id *id_0,
 				       const struct asymmetric_key_id *id_1,
+				       const struct asymmetric_key_id *id_2,
 				       bool partial);
 #endif
 #endif /* __BP_ASYMMETRIC_TYPE_H */
diff --git a/backport/compat/verification/key.c b/backport/compat/verification/key.c
index 329f8b22e41f..f95aca4fca0e 100644
--- a/backport/compat/verification/key.c
+++ b/backport/compat/verification/key.c
@@ -129,6 +129,7 @@  EXPORT_SYMBOL_GPL(bp_key_create_or_update);
 struct key *find_asymmetric_key(struct key *keyring,
 				const struct asymmetric_key_id *id_0,
 				const struct asymmetric_key_id *id_1,
+				const struct asymmetric_key_id *id_2,
 				bool partial)
 {
 	struct key *key;