aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/keys.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/keys.txt')
-rw-r--r--Documentation/keys.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/keys.txt b/Documentation/keys.txt
index e4dbbdb1bd96..cf68d1fed95d 100644
--- a/Documentation/keys.txt
+++ b/Documentation/keys.txt
@@ -1062,6 +1062,13 @@ The structure has a number of fields, some of which are mandatory:
1062 viable. 1062 viable.
1063 1063
1064 1064
1065 (*) int (*vet_description)(const char *description);
1066
1067 This optional method is called to vet a key description. If the key type
1068 doesn't approve of the key description, it may return an error, otherwise
1069 it should return 0.
1070
1071
1065 (*) int (*instantiate)(struct key *key, const void *data, size_t datalen); 1072 (*) int (*instantiate)(struct key *key, const void *data, size_t datalen);
1066 1073
1067 This method is called to attach a payload to a key during construction. 1074 This method is called to attach a payload to a key during construction.