summaryrefslogtreecommitdiffstats
path: root/include/keys
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2020-05-12 15:03:53 +0200
committerDavid Howells <dhowells@redhat.com>2020-06-02 18:22:31 +0200
commitb6f61c31464940513ef4eccb3a030a405b4256d6 (patch)
tree96a2e83c12c0e7e2f4c1119461c55987165cb2e8 /include/keys
parentsecurity/keys: rewrite big_key crypto to use library interface (diff)
downloadlinux-b6f61c31464940513ef4eccb3a030a405b4256d6.tar.xz
linux-b6f61c31464940513ef4eccb3a030a405b4256d6.zip
keys: Implement update for the big_key type
Implement the ->update op for the big_key type. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'include/keys')
-rw-r--r--include/keys/big_key-type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/keys/big_key-type.h b/include/keys/big_key-type.h
index 3fee04f81439..988d90d77f53 100644
--- a/include/keys/big_key-type.h
+++ b/include/keys/big_key-type.h
@@ -18,5 +18,6 @@ extern void big_key_revoke(struct key *key);
extern void big_key_destroy(struct key *key);
extern void big_key_describe(const struct key *big_key, struct seq_file *m);
extern long big_key_read(const struct key *key, char *buffer, size_t buflen);
+extern int big_key_update(struct key *key, struct key_preparsed_payload *prep);
#endif /* _KEYS_BIG_KEY_TYPE_H */