Home
last modified time | relevance | path

Searched refs:SetCipher (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/
H A Ddlp_zip_test.cpp66 testFile.SetCipher(key, spec, hmacKey); in initDlpFileCiper()
H A Ddlp_file_test.cpp82 testFile.SetCipher(key, spec, hmacKey); in initDlpFileCiper()
436 ASSERT_EQ(DLP_PARSE_ERROR_VALUE_INVALID, testFile.SetCipher(key, spec, hmacKey));
471 EXPECT_EQ(DLP_PARSE_ERROR_MEMORY_OPERATE_FAIL, testFile.SetCipher(key, spec, hmacKey));
507 EXPECT_EQ(DLP_PARSE_ERROR_MEMORY_OPERATE_FAIL, testFile.SetCipher(key, spec, hmacKey));
540 ASSERT_EQ(DLP_OK, testFile.SetCipher(key, spec, hmacKey));
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
H A Ddlp_file_manager.cpp288 result = filePtr->SetCipher(key, usage, hmacKey); in ParseDlpFileFormat()
335 result = filePtr->SetCipher(key, usage, hmacKey); in SetDlpFileParams()
H A Ddlp_file.cpp284 int32_t DlpFile::SetCipher(const struct DlpBlob& key, const struct DlpUsageSpec& spec, const struct… in SetCipher() function in OHOS::Security::DlpPermission::DlpFile
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/include/
H A Ddlp_file.h149 …int32_t SetCipher(const struct DlpBlob& key, const struct DlpUsageSpec& spec, const struct DlpBlob…