Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\crypto\policy.c Create Date:2022-07-28 20:24:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:scrypt_policies_equal - check whether two encryption policies are the same* Return: %true if equal, else %false

Proto:bool fscrypt_policies_equal(const union fscrypt_policy *policy1, const union fscrypt_policy *policy2)

Type:bool

Parameter:

TypeParameterName
const union fscrypt_policy *policy1
const union fscrypt_policy *policy2
26  If version != version Then Return false
29  Return Not memcmp(policy1, policy2, Return the size expected for the given fscrypt_policy based on its version* number, or 0 if the policy version is unrecognized.)