Searched refs:payload (Results 1 – 12 of 12) sorted by relevance
/fs/crypto/ |
D | keysetup_v1.c | 100 const struct fscrypt_key *payload; in find_and_lock_process_key() local 118 payload = (const struct fscrypt_key *)ukp->data; in find_and_lock_process_key() 121 payload->size < 1 || payload->size > FSCRYPT_MAX_KEY_SIZE) { in find_and_lock_process_key() 128 if (payload->size < min_keysize) { in find_and_lock_process_key() 131 key->description, payload->size, min_keysize); in find_and_lock_process_key() 135 *payload_ret = payload; in find_and_lock_process_key() 317 const struct fscrypt_key *payload; in fscrypt_setup_v1_file_key_via_subscribed_keyrings() local 322 ci->ci_mode->keysize, &payload); in fscrypt_setup_v1_file_key_via_subscribed_keyrings() 326 ci->ci_mode->keysize, &payload); in fscrypt_setup_v1_file_key_via_subscribed_keyrings() 331 err = fscrypt_setup_v1_file_key(ci, payload->raw); in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
|
D | keysetup.c | 342 mk = key->payload.data[0]; in setup_file_encryption_key() 405 struct fscrypt_master_key *mk = key->payload.data[0]; in put_crypt_info() 508 master_key->payload.data[0]; in fscrypt_get_encryption_info() 522 struct fscrypt_master_key *mk = master_key->payload.data[0]; in fscrypt_get_encryption_info() 584 mk = ci->ci_master_key->payload.data[0]; in fscrypt_drop_inode()
|
D | keyring.c | 65 key->payload.data[0] = (struct fscrypt_master_key *)prep->data; in fscrypt_key_instantiate() 71 free_master_key(key->payload.data[0]); in fscrypt_key_destroy() 79 const struct fscrypt_master_key *mk = key->payload.data[0]; in fscrypt_key_describe() 453 err = add_existing_master_key(key->payload.data[0], secret); in add_master_key() 629 mk = key->payload.data[0]; in fscrypt_verify_key_added() 854 mk = key->payload.data[0]; in do_remove_key() 986 mk = key->payload.data[0]; in fscrypt_ioctl_get_key_status()
|
/fs/cifs/ |
D | cifs_spnego.c | 39 char *payload; in cifs_spnego_key_instantiate() local 43 payload = kmemdup(prep->data, prep->datalen, GFP_KERNEL); in cifs_spnego_key_instantiate() 44 if (!payload) in cifs_spnego_key_instantiate() 48 key->payload.data[0] = payload; in cifs_spnego_key_instantiate() 58 kfree(key->payload.data[0]); in cifs_spnego_key_destroy() 178 struct cifs_spnego_msg *msg = spnego_key->payload.data[0]; in cifs_get_spnego_key()
|
D | cifsacl.c | 79 char *payload; in cifs_idmap_key_instantiate() local 89 if (prep->datalen <= sizeof(key->payload)) { in cifs_idmap_key_instantiate() 90 key->payload.data[0] = NULL; in cifs_idmap_key_instantiate() 91 memcpy(&key->payload, prep->data, prep->datalen); in cifs_idmap_key_instantiate() 93 payload = kmemdup(prep->data, prep->datalen, GFP_KERNEL); in cifs_idmap_key_instantiate() 94 if (!payload) in cifs_idmap_key_instantiate() 96 key->payload.data[0] = payload; in cifs_idmap_key_instantiate() 106 if (key->datalen > sizeof(key->payload)) in cifs_idmap_key_destroy() 107 kfree(key->payload.data[0]); in cifs_idmap_key_destroy() 319 ksid = sidkey->datalen <= sizeof(sidkey->payload) ? in id_to_sid() [all …]
|
D | connect.c | 3082 const char *delim, *payload; in cifs_set_cifscreds() local 3140 payload = upayload->data; in cifs_set_cifscreds() 3141 delim = strnchr(payload, upayload->datalen, ':'); in cifs_set_cifscreds() 3142 cifs_dbg(FYI, "payload=%s\n", payload); in cifs_set_cifscreds() 3150 len = delim - payload; in cifs_set_cifscreds() 3158 vol->username = kstrndup(payload, len, GFP_KERNEL); in cifs_set_cifscreds()
|
D | sess.c | 1048 msg = spnego_key->payload.data[0]; in sess_auth_kerberos()
|
D | smb2pdu.c | 1324 msg = spnego_key->payload.data[0]; in SMB2_auth_kerberos()
|
/fs/ecryptfs/ |
D | ecryptfs_kernel.h | 80 struct encrypted_key_payload *payload; in ecryptfs_get_encrypted_key_payload_data() local 85 payload = key->payload.data[0]; in ecryptfs_get_encrypted_key_payload_data() 86 if (!payload) in ecryptfs_get_encrypted_key_payload_data() 89 return (struct ecryptfs_auth_tok *)payload->payload_data; in ecryptfs_get_encrypted_key_payload_data()
|
D | keystore.c | 1132 char *payload = NULL; in decrypt_pki_encrypted_session_key() local 1143 &payload, &payload_len); in decrypt_pki_encrypted_session_key() 1148 rc = ecryptfs_send_message(payload, payload_len, &msg_ctx); in decrypt_pki_encrypted_session_key() 1186 kfree(payload); in decrypt_pki_encrypted_session_key() 1966 char *payload = NULL; in pki_encrypt_session_key() local 1975 crypt_stat, &payload, &payload_len); in pki_encrypt_session_key() 1982 rc = ecryptfs_send_message(payload, payload_len, &msg_ctx); in pki_encrypt_session_key() 2000 kfree(payload); in pki_encrypt_session_key()
|
/fs/nfs/ |
D | nfs4idmap.c | 310 const struct user_key_payload *payload; in nfs_idmap_get_key() local 329 payload = user_key_payload_rcu(rkey); in nfs_idmap_get_key() 330 if (IS_ERR_OR_NULL(payload)) { in nfs_idmap_get_key() 331 ret = PTR_ERR(payload); in nfs_idmap_get_key() 335 ret = payload->datalen; in nfs_idmap_get_key() 337 memcpy(data, payload->data, ret); in nfs_idmap_get_key()
|
/fs/orangefs/ |
D | orangefs-debugfs.c | 262 void *payload = NULL; in help_start() local 269 payload = m->private; in help_start() 271 return payload; in help_start()
|