Home
last modified time | relevance | path

Searched refs:DlpUsageSpec (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/include/
H A Ddlp_crypt.h71 struct DlpUsageSpec { struct
101 int32_t DlpOpensslAesEncrypt(const struct DlpBlob* key, const struct DlpUsageSpec* usageSpec,
104 int32_t DlpOpensslAesDecrypt(const struct DlpBlob* key, const struct DlpUsageSpec* usageSpec,
107 …lAesEncryptInit(void** cryptoCtx, const struct DlpBlob* key, const struct DlpUsageSpec* usageSpec);
113 …lAesDecryptInit(void** cryptoCtx, const struct DlpBlob* key, const struct DlpUsageSpec* usageSpec);
H A Ddlp_file.h46 struct DlpUsageSpec usageSpec;
149 …int32_t SetCipher(const struct DlpBlob& key, const struct DlpUsageSpec& spec, const struct DlpBlob…
202 bool IsValidCipher(const struct DlpBlob& key, const struct DlpUsageSpec& spec,
214 int32_t DupUsageSpec(struct DlpUsageSpec& spec);
H A Ddlp_file_manager.h56 struct DlpUsageSpec& usage, struct DlpBlob& certData, struct DlpBlob& hmacKey) const;
59 struct DlpUsageSpec& usage, struct DlpBlob& hmacKey) const;
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/
H A Ddlp_crypt_test.cpp108 struct DlpUsageSpec usageSpec = {DLP_MODE_CTR, &tagIv};
151 struct DlpUsageSpec usageSpec = {DLP_MODE_CTR, &tagIv};
172 struct DlpUsageSpec usageSpec = {DLP_MODE_CTR, &tagIv};
193 struct DlpUsageSpec usageSpec = {DLP_MODE_CTR, &tagIv};
1066 struct DlpUsageSpec usage = {
1163 struct DlpUsageSpec usage = {
1241 struct DlpUsageSpec usage = {
1292 struct DlpUsageSpec usage = {
1347 struct DlpUsageSpec usage = {
1404 struct DlpUsageSpec usage = {
[all …]
H A Ddlp_file_test.cpp68 struct DlpUsageSpec spec = { in initDlpFileCiper()
135 struct DlpUsageSpec spec;
428 struct DlpUsageSpec spec;
454 struct DlpUsageSpec spec;
490 struct DlpUsageSpec spec;
526 struct DlpUsageSpec spec;
943 struct DlpUsageSpec spec;
973 struct DlpUsageSpec spec;
1006 struct DlpUsageSpec spec;
1122 struct DlpUsageSpec spec = {
[all …]
H A Ddlp_zip_test.cpp55 struct DlpUsageSpec spec = { in initDlpFileCiper()
H A Ddlp_file_manager_test.cpp190 struct DlpUsageSpec usage;
396 struct DlpUsageSpec spec = {
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
H A Ddlp_crypt.cpp121 …const struct DlpBlob* key, const struct DlpUsageSpec* usageSpec, bool isEncrypt, EVP_CIPHER_CTX** … in OpensslAesCipherInit()
220 … const struct DlpBlob* key, const struct DlpUsageSpec* usageSpec, bool isEncrypt, void** cryptoCtx) in OpensslAesCipherCryptInit()
406 …slAesEncryptInit(void** cryptoCtx, const struct DlpBlob* key, const struct DlpUsageSpec* usageSpec) in DlpOpensslAesEncryptInit()
509 …slAesDecryptInit(void** cryptoCtx, const struct DlpBlob* key, const struct DlpUsageSpec* usageSpec) in DlpOpensslAesDecryptInit()
635 static bool AesParamCheck(const struct DlpBlob* key, const struct DlpUsageSpec* usageSpec, in AesParamCheck()
661 int32_t DlpOpensslAesEncrypt(const struct DlpBlob* key, const struct DlpUsageSpec* usageSpec, in DlpOpensslAesEncrypt()
697 int32_t DlpOpensslAesDecrypt(const struct DlpBlob* key, const struct DlpUsageSpec* usageSpec, in DlpOpensslAesDecrypt()
H A Ddlp_file_manager.cpp172 struct DlpUsageSpec& usage, struct DlpBlob& certData, struct DlpBlob& hmacKey) const in PrepareDlpEncryptParms()
286 struct DlpUsageSpec usage = {.mode = DLP_MODE_CTR, .algParam = &param}; in ParseDlpFileFormat()
300 struct DlpUsageSpec& usage, struct DlpBlob& hmacKey) const in FreeChiperBlob()
327 struct DlpUsageSpec usage; in SetDlpFileParams()
H A Ddlp_file.cpp137 bool DlpFile::IsValidCipher(const struct DlpBlob& key, const struct DlpUsageSpec& spec, in IsValidCipher()
284 int32_t DlpFile::SetCipher(const struct DlpBlob& key, const struct DlpUsageSpec& spec, const struct… in SetCipher()
851 int32_t DlpFile::DupUsageSpec(struct DlpUsageSpec& spec) in DupUsageSpec()
892 struct DlpUsageSpec spec; in DoDlpBlockCryptOperation()