Lines Matching refs:key_spec
661 `FS_IOC_ADD_ENCRYPTION_KEY`_. Then, the ``key_spec.u.identifier``
836 struct fscrypt_key_specifier key_spec;
866 ``key_spec.type`` must contain FSCRYPT_KEY_SPEC_TYPE_DESCRIPTOR, and
867 ``key_spec.u.descriptor`` must contain the descriptor of the key
874 policies, then ``key_spec.type`` must contain
875 FSCRYPT_KEY_SPEC_TYPE_IDENTIFIER, and ``key_spec.u.identifier`` is
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``:
1028 ``key_spec.type`` to FSCRYPT_KEY_SPEC_TYPE_DESCRIPTOR and fill
1029 in ``key_spec.u.descriptor``. To remove this type of key, the
1034 ``key_spec.type`` to FSCRYPT_KEY_SPEC_TYPE_IDENTIFIER and fill
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``:
1130 ``key_spec.type`` to FSCRYPT_KEY_SPEC_TYPE_DESCRIPTOR and fill
1131 in ``key_spec.u.descriptor``.
1134 ``key_spec.type`` to FSCRYPT_KEY_SPEC_TYPE_IDENTIFIER and fill
1135 in ``key_spec.u.identifier``.