Home
last modified time | relevance | path

Searched refs:key_spec (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/fs/crypto/
Dkeyring.c501 if (!valid_key_spec(&arg.key_spec)) in fscrypt_ioctl_add_key()
517 switch (arg.key_spec.type) { in fscrypt_ioctl_add_key()
542 NULL, 0, arg.key_spec.u.identifier, in fscrypt_ioctl_add_key()
547 if (copy_to_user(uarg->key_spec.u.identifier, in fscrypt_ioctl_add_key()
548 arg.key_spec.u.identifier, in fscrypt_ioctl_add_key()
558 err = add_master_key(sb, &secret, &arg.key_spec); in fscrypt_ioctl_add_key()
782 if (!valid_key_spec(&arg.key_spec)) in do_remove_key()
792 if (arg.key_spec.type == FSCRYPT_KEY_SPEC_TYPE_DESCRIPTOR && in do_remove_key()
797 key = fscrypt_find_master_key(sb, &arg.key_spec); in do_remove_key()
914 if (!valid_key_spec(&arg.key_spec)) in fscrypt_ioctl_get_key_status()
[all …]
/Linux-v5.4/tools/include/uapi/linux/
Dfscrypt.h113 struct fscrypt_key_specifier key_spec; member
121 struct fscrypt_key_specifier key_spec; member
131 struct fscrypt_key_specifier key_spec; member
/Linux-v5.4/include/uapi/linux/
Dfscrypt.h113 struct fscrypt_key_specifier key_spec; member
121 struct fscrypt_key_specifier key_spec; member
131 struct fscrypt_key_specifier key_spec; member
/Linux-v5.4/Documentation/filesystems/
Dfscrypt.rst455 `FS_IOC_ADD_ENCRYPTION_KEY`_. Then, the ``key_spec.u.identifier``
619 struct fscrypt_key_specifier key_spec;
642 ``key_spec.type`` must contain FSCRYPT_KEY_SPEC_TYPE_DESCRIPTOR, and
643 ``key_spec.u.descriptor`` must contain the descriptor of the key
651 policies, then ``key_spec.type`` must contain
652 FSCRYPT_KEY_SPEC_TYPE_IDENTIFIER, and ``key_spec.u.identifier`` is
770 struct fscrypt_key_specifier key_spec;
779 - The key to remove is specified by ``key_spec``:
782 ``key_spec.type`` to FSCRYPT_KEY_SPEC_TYPE_DESCRIPTOR and fill
783 in ``key_spec.u.descriptor``. To remove this type of key, the
[all …]
/Linux-v5.4/drivers/scsi/
Dgdth.h951 u8 key_spec[3]; member