Searched refs:key_spec (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/fs/crypto/ |
| H A D | keyring.c | 556 struct fscrypt_key_specifier *key_spec) in add_master_key() argument 575 key_spec->u.identifier, in add_master_key() 580 return do_add_master_key(sb, secret, key_spec); in add_master_key() 721 if (!valid_key_spec(&arg.key_spec)) in fscrypt_ioctl_add_key() 760 copy_to_user(uarg->key_spec.u.identifier, arg.key_spec.u.identifier, in fscrypt_ioctl_add_key() 814 struct fscrypt_key_specifier *key_spec) in fscrypt_add_test_dummy_key() argument 820 err = add_master_key(sb, &secret, key_spec); in fscrypt_add_test_dummy_key() 1035 if (!valid_key_spec(&arg.key_spec)) in do_remove_key() 1050 mk = fscrypt_find_master_key(sb, &arg.key_spec); in do_remove_key() 1156 if (!valid_key_spec(&arg.key_spec)) in fscrypt_ioctl_get_key_status() [all …]
|
| H A D | policy.c | 37 struct fscrypt_key_specifier *key_spec) in fscrypt_policy_to_key_spec() argument 41 key_spec->type = FSCRYPT_KEY_SPEC_TYPE_DESCRIPTOR; in fscrypt_policy_to_key_spec() 42 memcpy(key_spec->u.descriptor, policy->v1.master_key_descriptor, in fscrypt_policy_to_key_spec() 46 key_spec->type = FSCRYPT_KEY_SPEC_TYPE_IDENTIFIER; in fscrypt_policy_to_key_spec() 47 memcpy(key_spec->u.identifier, policy->v2.master_key_identifier, in fscrypt_policy_to_key_spec()
|
| H A D | fscrypt_private.h | 631 struct fscrypt_key_specifier *key_spec); 712 struct fscrypt_key_specifier *key_spec);
|
| /linux-6.15/tools/include/uapi/linux/ |
| H A D | fscrypt.h | 128 struct fscrypt_key_specifier key_spec; member 137 struct fscrypt_key_specifier key_spec; member 147 struct fscrypt_key_specifier key_spec; member
|
| /linux-6.15/include/uapi/linux/ |
| H A D | fscrypt.h | 128 struct fscrypt_key_specifier key_spec; member 137 struct fscrypt_key_specifier key_spec; member 147 struct fscrypt_key_specifier key_spec; member
|
| /linux-6.15/Documentation/filesystems/ |
| H A D | fscrypt.rst | 832 struct fscrypt_key_specifier key_spec; 863 ``key_spec.u.descriptor`` must contain the descriptor of the key 870 policies, then ``key_spec.type`` must contain 886 the raw key and whose ``type`` field matches ``key_spec.type``. 1012 struct fscrypt_key_specifier key_spec; 1021 - The key to remove is specified by ``key_spec``: 1031 in ``key_spec.u.identifier``. 1109 struct fscrypt_key_specifier key_spec; 1123 The caller must zero all input fields, then fill in ``key_spec``: 1127 in ``key_spec.u.descriptor``. [all …]
|