Searched refs:key_spec (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/crypto/ |
| A D | keyring.c | 555 struct fscrypt_key_specifier *key_spec) in add_master_key() argument 574 key_spec->u.identifier, in add_master_key() 579 return do_add_master_key(sb, secret, key_spec); in add_master_key() 720 if (!valid_key_spec(&arg.key_spec)) in fscrypt_ioctl_add_key() 759 copy_to_user(uarg->key_spec.u.identifier, arg.key_spec.u.identifier, in fscrypt_ioctl_add_key() 813 struct fscrypt_key_specifier *key_spec) in fscrypt_add_test_dummy_key() argument 819 err = add_master_key(sb, &secret, key_spec); in fscrypt_add_test_dummy_key() 1034 if (!valid_key_spec(&arg.key_spec)) in do_remove_key() 1049 mk = fscrypt_find_master_key(sb, &arg.key_spec); in do_remove_key() 1155 if (!valid_key_spec(&arg.key_spec)) in fscrypt_ioctl_get_key_status() [all …]
|
| 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()
|
| A D | fscrypt_private.h | 631 struct fscrypt_key_specifier *key_spec); 712 struct fscrypt_key_specifier *key_spec);
|
| /linux/tools/include/uapi/linux/ |
| 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/include/uapi/linux/ |
| 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/Documentation/filesystems/ |
| A D | fscrypt.rst | 836 struct fscrypt_key_specifier key_spec; 867 ``key_spec.u.descriptor`` must contain the descriptor of the key 874 policies, then ``key_spec.type`` must contain 890 the raw key and whose ``type`` field matches ``key_spec.type``. 1016 struct fscrypt_key_specifier key_spec; 1025 - The key to remove is specified by ``key_spec``: 1035 in ``key_spec.u.identifier``. 1113 struct fscrypt_key_specifier key_spec; 1127 The caller must zero all input fields, then fill in ``key_spec``: 1131 in ``key_spec.u.descriptor``. [all …]
|
Completed in 31 milliseconds