/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/ |
D | dlp_crypt_test.cpp | 107 struct DlpCipherParam tagIv = {{16, g_iv}}; variable 108 struct DlpUsageSpec usageSpec = {DLP_MODE_CTR, &tagIv}; 150 struct DlpCipherParam tagIv = {{16, g_iv}}; variable 151 struct DlpUsageSpec usageSpec = {DLP_MODE_CTR, &tagIv}; 171 struct DlpCipherParam tagIv = {{16, g_iv}}; variable 172 struct DlpUsageSpec usageSpec = {DLP_MODE_CTR, &tagIv}; 192 struct DlpCipherParam tagIv = {{16, g_iv}}; variable 193 struct DlpUsageSpec usageSpec = {DLP_MODE_CTR, &tagIv}; 235 struct DlpCipherParam tagIv = {{16, g_iv}}; variable 236 struct DlpUsageSpec usageSpec = {DLP_MODE_CTR, &tagIv}; [all …]
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/ |
D | dlp_file_manager.cpp | 122 struct DlpCipherParam* tagIv = new (std::nothrow) struct DlpCipherParam; in PrepareDlpEncryptParms() local 123 if (tagIv == nullptr) { in PrepareDlpEncryptParms() 130 res = DlpOpensslGenerateRandomKey(IV_SIZE * BIT_NUM_OF_UINT8, &tagIv->iv); in PrepareDlpEncryptParms() 135 delete tagIv; in PrepareDlpEncryptParms() 136 tagIv = nullptr; in PrepareDlpEncryptParms() 141 usage.algParam = tagIv; in PrepareDlpEncryptParms() 143 policy.SetIv(tagIv->iv.data, tagIv->iv.size); in PrepareDlpEncryptParms() 151 delete[] tagIv->iv.data; in PrepareDlpEncryptParms() 152 tagIv->iv.data = nullptr; in PrepareDlpEncryptParms() 153 delete tagIv; in PrepareDlpEncryptParms() [all …]
|
D | dlp_file.cpp | 61 cipher_.tagIv.iv.data = nullptr; in DlpFile() 62 cipher_.tagIv.iv.size = 0; in DlpFile() 78 if (cipher_.tagIv.iv.data != nullptr) { in ~DlpFile() 79 (void)memset_s(cipher_.tagIv.iv.data, cipher_.tagIv.iv.size, 0, cipher_.tagIv.iv.size); in ~DlpFile() 80 delete[] cipher_.tagIv.iv.data; in ~DlpFile() 81 cipher_.tagIv.iv.data = nullptr; in ~DlpFile() 249 int32_t res = CopyBlobParam(spec.algParam->iv, cipher_.tagIv.iv); in SetCipher() 259 CleanBlobParam(cipher_.tagIv.iv); in SetCipher() 264 cipher_.usageSpec.algParam = &cipher_.tagIv; in SetCipher()
|
/base/security/huks/test/reliability/src/ |
D | api_pressure_test.cpp | 116 struct HksParam tagIv; in AESModeRandForCiper() local 133 tagIv = { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = iv } }; in AESModeRandForCiper() 134 HksAddParams(paramInSet, &tagIv, 1); in AESModeRandForCiper() 138 tagIv = { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = iv } }; in AESModeRandForCiper() 139 HksAddParams(paramInSet, &tagIv, 1); in AESModeRandForCiper() 141 tagIv = { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = iv } }; in AESModeRandForCiper() 142 HksAddParams(paramInSet, &tagIv, 1); in AESModeRandForCiper() 153 tagIv = { .tag = HKS_TAG_NONCE, .blob = { .size = IV_SIZE, .data = iv } }; in AESModeRandForCiper() 154 HksAddParams(paramInSet, &tagIv, 1); in AESModeRandForCiper() 1298 struct HksParam tagIv = { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = iv } }; variable [all …]
|
D | pressure_test.cpp | 589 struct HksParam tagIv = { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = iv } }; variable 590 HksAddParams(paramInSet, &tagIv, 1); 645 struct HksParam tagIv = { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = iv } }; variable 646 HksAddParams(paramInSet, &tagIv, 1); 1054 struct HksParam tagIv = { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = iv } }; variable 1055 HksAddParams(paramInSet, &tagIv, 1); 1114 struct HksParam tagIv = { .tag = HKS_TAG_IV, .blob = { .size = IV_SIZE, .data = iv } }; variable 1115 HksAddParams(paramInSet, &tagIv, 1);
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/include/ |
D | dlp_file.h | 45 struct DlpCipherParam tagIv; member
|