Searched refs:kern_policy (Results 1 – 1 of 1) sorted by relevance
307 } kern_policy; in EnsurePolicy() local308 memset(&kern_policy, 0, sizeof(kern_policy)); in EnsurePolicy()319 kern_policy.v1.version = FSCRYPT_POLICY_V1; in EnsurePolicy()320 kern_policy.v1.contents_encryption_mode = policy.options.contents_mode; in EnsurePolicy()321 kern_policy.v1.filenames_encryption_mode = policy.options.filenames_mode; in EnsurePolicy()322 kern_policy.v1.flags = policy.options.flags; in EnsurePolicy()323 policy.key_raw_ref.copy(reinterpret_cast<char*>(kern_policy.v1.master_key_descriptor), in EnsurePolicy()332 kern_policy.v2.version = FSCRYPT_POLICY_V2; in EnsurePolicy()333 kern_policy.v2.contents_encryption_mode = policy.options.contents_mode; in EnsurePolicy()334 kern_policy.v2.filenames_encryption_mode = policy.options.filenames_mode; in EnsurePolicy()[all …]