Searched refs:key_spec (Results 1 – 5 of 5) sorted by relevance
| /linux/fs/crypto/ |
| H A D | keyring.c | 556 struct fscrypt_key_specifier *key_spec) in add_master_key() argument 560 if (key_spec->type == FSCRYPT_KEY_SPEC_TYPE_IDENTIFIER) { in add_master_key() 598 key_spec->u.identifier, in add_master_key() 601 return do_add_master_key(sb, secret, key_spec); in add_master_key() 763 if (!valid_key_spec(&arg.key_spec)) in fscrypt_ioctl_add_key() 774 if (arg.key_spec.type == FSCRYPT_KEY_SPEC_TYPE_DESCRIPTOR && in fscrypt_ioctl_add_key() 783 if (arg.key_spec.type != FSCRYPT_KEY_SPEC_TYPE_IDENTIFIER) in fscrypt_ioctl_add_key() 791 err = get_keyring_key(arg.key_id, arg.key_spec.type, arg.flags, in fscrypt_ioctl_add_key() 804 err = add_master_key(sb, &secret, &arg.key_spec); in fscrypt_ioctl_add_key() 810 if (arg.key_spec.type == FSCRYPT_KEY_SPEC_TYPE_IDENTIFIER && in fscrypt_ioctl_add_key() [all …]
|
| H A D | policy.c | 39 struct fscrypt_key_specifier *key_spec) in fscrypt_policy_to_key_spec() argument 43 key_spec->type = FSCRYPT_KEY_SPEC_TYPE_DESCRIPTOR; in fscrypt_policy_to_key_spec() 44 memcpy(key_spec->u.descriptor, policy->v1.master_key_descriptor, in fscrypt_policy_to_key_spec() 48 key_spec->type = FSCRYPT_KEY_SPEC_TYPE_IDENTIFIER; in fscrypt_policy_to_key_spec() 49 memcpy(key_spec->u.identifier, policy->v2.master_key_identifier, in fscrypt_policy_to_key_spec()
|
| H A D | fscrypt_private.h | 697 struct fscrypt_key_specifier *key_spec); 778 struct fscrypt_key_specifier *key_spec);
|
| /linux/include/uapi/linux/ |
| H A D | fscrypt.h | 128 struct fscrypt_key_specifier key_spec; member 139 struct fscrypt_key_specifier key_spec; 149 struct fscrypt_key_specifier key_spec; 137 struct fscrypt_key_specifier key_spec; global() member 147 struct fscrypt_key_specifier key_spec; global() member
|
| /linux/tools/include/uapi/linux/ |
| H A D | fscrypt.h | 128 struct fscrypt_key_specifier key_spec; member 139 struct fscrypt_key_specifier key_spec; member 149 struct fscrypt_key_specifier key_spec; member
|