Lines Matching refs:key
165 void big_key_revoke(struct key *key) in big_key_revoke() argument
167 struct big_key_payload *payload = to_big_key_payload(key->payload); in big_key_revoke()
170 key_payload_reserve(key, 0); in big_key_revoke()
171 if (key_is_positive(key) && payload->length > BIG_KEY_FILE_THRESHOLD) in big_key_revoke()
178 void big_key_destroy(struct key *key) in big_key_destroy() argument
180 struct big_key_payload *payload = to_big_key_payload(key->payload); in big_key_destroy()
194 int big_key_update(struct key *key, struct key_preparsed_payload *prep) in big_key_update() argument
198 ret = key_payload_reserve(key, prep->datalen); in big_key_update()
202 if (key_is_positive(key)) in big_key_update()
203 big_key_destroy(key); in big_key_update()
205 return generic_key_instantiate(key, prep); in big_key_update()
211 void big_key_describe(const struct key *key, struct seq_file *m) in big_key_describe() argument
213 struct big_key_payload *payload = to_big_key_payload(key->payload); in big_key_describe()
215 seq_puts(m, key->description); in big_key_describe()
217 if (key_is_positive(key)) in big_key_describe()
227 long big_key_read(const struct key *key, char *buffer, size_t buflen) in big_key_read() argument
229 struct big_key_payload *payload = to_big_key_payload(key->payload); in big_key_read()