Home
last modified time | relevance | path

Searched refs:key_payload_reserve (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/security/keys/
Duser_defined.c107 ret = key_payload_reserve(key, prep->datalen); in user_update()
133 key_payload_reserve(key, 0); in user_revoke()
Dkeyring.c1329 ret = key_payload_reserve(keyring, in __key_link_begin()
1393 key_payload_reserve(keyring, in __key_link_end()
1511 key_payload_reserve(keyring, keyring->datalen - KEYQUOTA_LINK_BYTES); in __key_unlink()
1662 key_payload_reserve(keyring, 0); in keyring_clear()
1684 key_payload_reserve(keyring, 0); in keyring_revoke()
Dkey.c369 int key_payload_reserve(struct key *key, size_t datalen) in key_payload_reserve() function
401 EXPORT_SYMBOL(key_payload_reserve);
1103 ret = key_payload_reserve(key, prep->quotalen); in generic_key_instantiate()
Dbig_key.c312 key_payload_reserve(key, 0); in big_key_revoke()
Dtrusted.c948 ret = key_payload_reserve(key, sizeof *p); in trusted_payload_alloc()
/Linux-v5.4/include/linux/
Dkey-type.h168 extern int key_payload_reserve(struct key *key, size_t datalen);
/Linux-v5.4/fs/crypto/
Dkeyring.c106 return key_payload_reserve(key, FSCRYPT_MAX_KEY_SIZE); in fscrypt_user_key_instantiate()
/Linux-v5.4/security/keys/encrypted-keys/
Dencrypted.c651 ret = key_payload_reserve(key, payload_datalen + datablob_len in encrypted_key_alloc()
/Linux-v5.4/Documentation/security/keys/
Dcore.rst1362 int key_payload_reserve(struct key *key, size_t datalen);
1426 keytype->def_datalen, then key_payload_reserve() should be called.
1448 key_payload_reserve() should be called if the data length might change
1458 key_payload_reserve() should be called before the changes are made, but