Home
last modified time | relevance | path

Searched refs:master_key_descriptor (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/fs/crypto/
H A Dkeysetup_v1.c193 memcpy(&hash_key, ci->ci_policy.v1.master_key_descriptor, in find_or_insert_direct_key()
198 if (memcmp(ci->ci_policy.v1.master_key_descriptor, in find_or_insert_direct_key()
241 memcpy(dk->dk_descriptor, ci->ci_policy.v1.master_key_descriptor, in fscrypt_get_direct_key()
307 ci->ci_policy.v1.master_key_descriptor, in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
311 ci->ci_policy.v1.master_key_descriptor, in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
H A Dpolicy.c42 memcpy(key_spec->u.descriptor, policy->v1.master_key_descriptor, in fscrypt_policy_to_key_spec()
317 memcpy(ctx->master_key_descriptor, in fscrypt_new_context()
318 policy->master_key_descriptor, in fscrypt_new_context()
319 sizeof(ctx->master_key_descriptor)); in fscrypt_new_context()
378 memcpy(policy->master_key_descriptor, in fscrypt_policy_from_context()
379 ctx->master_key_descriptor, in fscrypt_policy_from_context()
380 sizeof(policy->master_key_descriptor)); in fscrypt_policy_from_context()
794 memset(policy->v1.master_key_descriptor, 0x42, in fscrypt_parse_test_dummy_encryption()
H A Dfscrypt_private.h41 u8 master_key_descriptor[FSCRYPT_KEY_DESCRIPTOR_SIZE]; member
/openbmc/linux/include/uapi/linux/
H A Dfscrypt.h48 __u8 master_key_descriptor[FSCRYPT_KEY_DESCRIPTOR_SIZE]; member
/openbmc/linux/tools/include/uapi/linux/
H A Dfscrypt.h48 __u8 master_key_descriptor[FSCRYPT_KEY_DESCRIPTOR_SIZE]; member
/openbmc/linux/Documentation/filesystems/
H A Dfscrypt.rst536 __u8 master_key_descriptor[FSCRYPT_KEY_DESCRIPTOR_SIZE];
591 - For v1 encryption policies, ``master_key_descriptor`` specifies how
593 to userspace to choose a unique ``master_key_descriptor`` for each
600 For v2 encryption policies, ``master_key_descriptor`` has been
811 ``master_key_descriptor`` field of struct fscrypt_policy_v1.
908 ``master_key_descriptor`` that was set in the encryption policy. The
1320 u8 master_key_descriptor[FSCRYPT_KEY_DESCRIPTOR_SIZE];