Home
last modified time | relevance | path

Searched refs:aeskeyLen_ (Results 1 – 4 of 4) sorted by relevance

/base/security/dlp_permission_service/frameworks/common/src/
Dpermission_policy.cpp106 FreeUint8Buffer(&aeskey_, aeskeyLen_); in FreePermissionPolicyMem()
121 aeskeyLen_ = 0; in PermissionPolicy()
135 aeskeyLen_ = 0; in PermissionPolicy()
148 … CheckAccountType(this->ownerAccountType_) && CheckAesParam(this->aeskey_, this->aeskeyLen_) && in IsValid()
156 FreeUint8Buffer(&aeskey_, aeskeyLen_); in SetAeskey()
163 FreeUint8Buffer(&aeskey_, aeskeyLen_); in SetAeskey()
173 aeskeyLen_ = keyLen; in SetAeskey()
174 if (memcpy_s(aeskey_, aeskeyLen_, key, keyLen) != EOK) { in SetAeskey()
176 FreeUint8Buffer(&aeskey_, aeskeyLen_); in SetAeskey()
188 return aeskeyLen_; in GetAeskeyLen()
[all …]
/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/
Dpermission_policy_test.cpp57 policy->aeskeyLen_ = AES_KEY_LEN; in InitNormalPolicy()
169 policy->aeskeyLen_ = 0;
174 policy->aeskeyLen_ = AES_KEY_LEN;
298 ASSERT_NE(policy->aeskeyLen_, AES_KEY_LEN + 1);
/base/security/dlp_permission_service/frameworks/common/include/
Dpermission_policy.h128 uint32_t aeskeyLen_; variable
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/
Ddlp_file_manager_test.cpp117 policy.aeskeyLen_ = 16;
150 policy.aeskeyLen_ = 16;