Searched refs:kern_policy (Results 1 – 1 of 1) sorted by relevance
286 } kern_policy; in EnsurePolicy() local287 memset(&kern_policy, 0, sizeof(kern_policy)); in EnsurePolicy()298 kern_policy.v1.version = FSCRYPT_POLICY_V1; in EnsurePolicy()299 kern_policy.v1.contents_encryption_mode = policy.options.contents_mode; in EnsurePolicy()300 kern_policy.v1.filenames_encryption_mode = policy.options.filenames_mode; in EnsurePolicy()301 kern_policy.v1.flags = policy.options.flags; in EnsurePolicy()302 policy.key_raw_ref.copy(reinterpret_cast<char*>(kern_policy.v1.master_key_descriptor), in EnsurePolicy()311 kern_policy.v2.version = FSCRYPT_POLICY_V2; in EnsurePolicy()312 kern_policy.v2.contents_encryption_mode = policy.options.contents_mode; in EnsurePolicy()313 kern_policy.v2.filenames_encryption_mode = policy.options.filenames_mode; in EnsurePolicy()[all …]