/base/security/huks/services/huks_standard/huks_service/main/core/src/ |
D | hks_client_service.c | 49 int32_t ret = HksStoreGetKeyBlob(processInfo, keyAlias, mode, key); in GetKeyData() local 50 if (ret != HKS_SUCCESS) { in GetKeyData() 51 HKS_LOG_E("get key blob from storage failed, ret = %d", ret); in GetKeyData() 53 return ret; in GetKeyData() 60 int32_t ret = HksStoreGetToatalSize(&size); in CheckKeyCondition() local 61 if (ret != HKS_SUCCESS) { in CheckKeyCondition() 62 HKS_LOG_E("get total size from storage failed, ret = %d", ret); in CheckKeyCondition() 63 return ret; in CheckKeyCondition() 68 ret = HksStoreIsKeyBlobExist(processInfo, keyAlias, HKS_STORAGE_TYPE_KEY); in CheckKeyCondition() 69 if (ret != HKS_SUCCESS) { in CheckKeyCondition() [all …]
|
D | hks_storage.c | 147 int32_t ret = HKS_SUCCESS; in ConstructBlob() local 153 ret = HKS_ERROR_INVALID_KEY_FILE; /* keyfile name invalid */ in ConstructBlob() 167 if (ret != HKS_SUCCESS) { in ConstructBlob() 169 return ret; in ConstructBlob() 179 ret = HKS_ERROR_BAD_STATE; in ConstructBlob() 184 return ret; in ConstructBlob() 219 … int32_t ret = GetPath(path, processName, fileInfo->mainPath.processPath, fileInfo->mainPath.size, in GetFullPath() local 221 if (ret != HKS_SUCCESS) { in GetFullPath() 222 HKS_LOG_E("get processPath failed, ret = %d.", ret); in GetFullPath() 223 return ret; in GetFullPath() [all …]
|
/base/security/huks/test/unittest/src/common/ |
D | hks_test_curve25519.c | 36 int32_t ret = HksInitParamSet(¶mSet); in TestGenerateEd25519Key() local 37 HKS_TEST_ASSERT(ret == 0); in TestGenerateEd25519Key() 41 ret = HksAddParams(paramSet, &algParam, 1); in TestGenerateEd25519Key() 42 HKS_TEST_ASSERT(ret == 0); in TestGenerateEd25519Key() 46 ret = HksAddParams(paramSet, &keySizeParam, 1); in TestGenerateEd25519Key() 47 HKS_TEST_ASSERT(ret == 0); in TestGenerateEd25519Key() 51 ret = HksAddParams(paramSet, &purposeParam, 1); in TestGenerateEd25519Key() 52 HKS_TEST_ASSERT(ret == 0); in TestGenerateEd25519Key() 56 ret = HksAddParams(paramSet, &digestParam, 1); in TestGenerateEd25519Key() 57 HKS_TEST_ASSERT(ret == 0); in TestGenerateEd25519Key() [all …]
|
/base/sensors/sensor_lite/interfaces/kits/native/test/unittest/src/ |
D | sensor_agent_interfaces_test.cpp | 61 int32_t ret = GetAllSensors(&sensorInfo, &count); variable 71 EXPECT_EQ(ret, 0) << "GetAllSensors ret = " << ret << endl; 84 int32_t ret = GetAllSensors(sensorInfo, (int32_t *)NULLPTR); variable 85 EXPECT_EQ(ret, SENSOR_ERROR_INVALID_PARAM) << "GetAllSensors ret = " << ret << endl; 99 int32_t ret = GetAllSensors(sensorInfo, &count); variable 100 EXPECT_EQ(ret, SENSOR_ERROR_INVALID_PARAM) << "GetAllSensors ret = " << ret << endl; 113 int32_t ret = GetAllSensors(&sensorInfo, (int32_t *)NULLPTR); variable 114 EXPECT_EQ(ret, SENSOR_ERROR_INVALID_PARAM) << "GetAllSensors ret = " << ret << endl; 127 int32_t ret = ActivateSensor(-1, &sensorUser); variable 128 EXPECT_EQ(ret, SENSOR_ERROR_INVALID_PARAM) << "ActivateSensor ret = " << ret << endl; [all …]
|
/base/security/huks/interfaces/innerkits/huks_standard/test/unittest/src/ |
D | hks_test_curve25519.c | 34 int32_t ret = HksInitParamSet(¶mSet); in TestGenerateEd25519Key() local 35 HKS_TEST_ASSERT(ret == 0); in TestGenerateEd25519Key() 39 ret = HksAddParams(paramSet, &algParam, 1); in TestGenerateEd25519Key() 40 HKS_TEST_ASSERT(ret == 0); in TestGenerateEd25519Key() 44 ret = HksAddParams(paramSet, &keySizeParam, 1); in TestGenerateEd25519Key() 45 HKS_TEST_ASSERT(ret == 0); in TestGenerateEd25519Key() 49 ret = HksAddParams(paramSet, &purposeParam, 1); in TestGenerateEd25519Key() 50 HKS_TEST_ASSERT(ret == 0); in TestGenerateEd25519Key() 54 ret = HksAddParams(paramSet, &digestParam, 1); in TestGenerateEd25519Key() 55 HKS_TEST_ASSERT(ret == 0); in TestGenerateEd25519Key() [all …]
|
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/ |
D | hks_ipc_service.c | 68 int32_t ret; in HksIpcServiceGenerateKey() local 72 ret = HksGenerateKeyUnpack(srcData, &keyAlias, &inParamSet, &keyOut); in HksIpcServiceGenerateKey() 73 if (ret != HKS_SUCCESS) { in HksIpcServiceGenerateKey() 82 ret = HKS_ERROR_MALLOC_FAIL; in HksIpcServiceGenerateKey() 88 ret = HksGetProcessInfoForIPC(context, &processInfo); in HksIpcServiceGenerateKey() 89 if (ret != HKS_SUCCESS) { in HksIpcServiceGenerateKey() 90 HKS_LOG_E("HksGetProcessInfoForIPC fail, ret = %d", ret); in HksIpcServiceGenerateKey() 94 ret = HksServiceGenerateKey(&processInfo, &keyAlias, inParamSet, &keyOut); in HksIpcServiceGenerateKey() 95 if (ret != HKS_SUCCESS) { in HksIpcServiceGenerateKey() 96 HKS_LOG_E("HksServiceGenerateKey fail, ret = %d", ret); in HksIpcServiceGenerateKey() [all …]
|
D | hks_ipc_serialization.c | 147 int32_t ret = GetBlobFromBuffer(keyAlias, srcData, offset); in GetKeyAndParamSetFromBuffer() local 148 if (ret != HKS_SUCCESS) { in GetKeyAndParamSetFromBuffer() 150 return ret; in GetKeyAndParamSetFromBuffer() 153 ret = GetParamSetFromBuffer(paramSet, srcData, offset); in GetKeyAndParamSetFromBuffer() 154 if (ret != HKS_SUCCESS) { in GetKeyAndParamSetFromBuffer() 158 return ret; in GetKeyAndParamSetFromBuffer() 164 int32_t ret = GetUint32FromBuffer(&blobSize, srcData, offset); in MallocBlobFromBuffer() local 165 if (ret != HKS_SUCCESS) { in MallocBlobFromBuffer() 167 return ret; in MallocBlobFromBuffer() 188 int32_t ret = GetUint32FromBuffer(¶mSetOutSize, srcData, offset); in MallocParamSetFromBuffer() local [all …]
|
/base/security/permission/interfaces/innerkits/permission_standard/permissionsdk/test/unittest/cpp/src/ |
D | permission_kit_test.cpp | 76 int ret = PermissionKit::GetDefPermission(TEST_PERMISSION_NAME_ALPHA, permissionDefResultAlpha); variable 77 ASSERT_EQ(RET_SUCCESS, ret); 80 ret = PermissionKit::GetDefPermission(TEST_PERMISSION_NAME_BETA, permissionDefResultBeta); 81 ASSERT_EQ(RET_SUCCESS, ret); 93 int ret = PermissionKit::GetDefPermission(TEST_PERMISSION_NAME_ALPHA, permissionDefResultAlpha); variable 94 ASSERT_EQ(RET_SUCCESS, ret); 96 ret = PermissionKit::RemoveDefPermissions(TEST_BUNDLE_NAME); 97 ASSERT_EQ(RET_SUCCESS, ret); 100 ret = PermissionKit::GetDefPermission(TEST_PERMISSION_NAME_ALPHA, result); 101 ASSERT_EQ(RET_FAILED, ret); [all …]
|
/base/security/deviceauth/frameworks/src/ |
D | ipc_sdk.c | 49 int32_t ret; in DelIpcCliCallbackCtx() local 55 ret = memcmp(appId, cbCache->appId, strlen(cbCache->appId) + 1); in DelIpcCliCallbackCtx() 56 if (ret == 0) { in DelIpcCliCallbackCtx() 85 int32_t ret = HC_ERR_IPC_BAD_MSG_TYPE; in GetIpcReplyByType() local 93 ret = HC_SUCCESS; in GetIpcReplyByType() 112 ret = HC_ERR_MEMORY_COPY; in GetIpcReplyByType() 118 ret = HC_ERR_IPC_BAD_MSG_TYPE; in GetIpcReplyByType() 123 LOGI("process done, type %d, result %d", type, ret); in GetIpcReplyByType() 130 int32_t ret; in IpcGmRegCallback() local 141 ret = CreateCallCtx(&callCtx, NULL); in IpcGmRegCallback() [all …]
|
D | ipc_service.c | 44 int32_t ret; in BindRequestIdWithAppId() local 59 ret = AddReqIdByAppId(appId, requestId); in BindRequestIdWithAppId() 61 return ret; in BindRequestIdWithAppId() 67 int32_t ret; in IpcServiceGmRegCallback() local 74 ret = GetIpcRequestParamByType(ipcParams, paramNum, PARAM_TYPE_APPID, (uint8_t *)&appId, NULL); in IpcServiceGmRegCallback() 75 if (ret != HC_SUCCESS) { in IpcServiceGmRegCallback() 77 return ret; in IpcServiceGmRegCallback() 80 …ret = GetIpcRequestParamByType(ipcParams, paramNum, PARAM_TYPE_DEV_AUTH_CB, (uint8_t *)&callback, … in IpcServiceGmRegCallback() 81 if (ret != HC_SUCCESS) { in IpcServiceGmRegCallback() 83 return ret; in IpcServiceGmRegCallback() [all …]
|
/base/security/huks/frameworks/huks_standard/main/common/src/ |
D | hks_check_paramset.c | 202 int32_t ret = HksGetParam(paramSet, HKS_TAG_ALGORITHM, &algParam); in CheckAndGetAlgorithm() local 203 if (ret != HKS_SUCCESS) { in CheckAndGetAlgorithm() 208 ret = HksCheckValue(algParam->uint32Param, expectAlg, expectCnt); in CheckAndGetAlgorithm() 209 if (ret != HKS_SUCCESS) { in CheckAndGetAlgorithm() 215 return ret; in CheckAndGetAlgorithm() 222 int32_t ret = HksGetParam(paramSet, HKS_TAG_DIGEST, &digestParam); in CheckAndGetDigest() local 223 if (ret != HKS_SUCCESS) { in CheckAndGetDigest() 228 ret = HksCheckValue(digestParam->uint32Param, expectDigest, expectCnt); in CheckAndGetDigest() 229 if (ret != HKS_SUCCESS) { in CheckAndGetDigest() 235 return ret; in CheckAndGetDigest() [all …]
|
/base/usb/usb_manager/test/native/service_unittest/src/ |
D | usb_bulkcallback_test.cpp | 42 int32_t ret = 0; in InitAshmemOne() local 60 return ret; in InitAshmemOne() 66 auto ret = srvClient.SetPortRole(1, 1, 1); in SetUpTestCase() local 68 USB_HILOGI(MODULE_USB_SERVICE, "UsbBulkcallbackTest:: [Device] SetPortRole=%{public}d", ret); in SetUpTestCase() 69 ASSERT_TRUE(ret == 0); in SetUpTestCase() 70 if (ret != 0) { in SetUpTestCase() 103 auto ret = UsbSrvClient.GetDevices(devi); variable 104 EXPECT_TRUE(ret == 0); 111 ret = UsbSrvClient.OpenDevice(device, pipe); 113 __LINE__, ret); [all …]
|
D | usb_device_pipe_test.cpp | 35 auto ret = srvClient.SetPortRole(1, 1, 1); in SetUpTestCase() local 37 USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeTest:: [Device] SetPortRole=%{public}d", ret); in SetUpTestCase() 38 ASSERT_TRUE(ret == 0); in SetUpTestCase() 39 if (ret != 0) { in SetUpTestCase() 70 auto ret = UsbSrvClient.GetDevices(devi); variable 71 EXPECT_TRUE(ret == 0); 72 …I(MODULE_USB_SERVICE, "UsbDevicePipeTest::getDevices001 %{public}d ret=%{public}d", __LINE__, ret); 79 ret = UsbSrvClient.OpenDevice(device, pipe); 80 …E_USB_SERVICE, "UsbDevicePipeTest::getDevices001 %{public}d OpenDevice=%{public}d", __LINE__, ret); 81 EXPECT_TRUE(ret == 0); [all …]
|
D | usb_request_test.cpp | 42 auto ret = srvClient.SetPortRole(1, 1, 1); in SetUpTestCase() local 44 USB_HILOGI(MODULE_USB_SERVICE, "UsbdRequestTest:: [Device] SetPortRole=%{public}d", ret); in SetUpTestCase() 45 ASSERT_TRUE(ret == 0); in SetUpTestCase() 46 if (ret != 0) { in SetUpTestCase() 75 auto ret = UsbSrvClient.GetDevices(delist); variable 77 __LINE__, ret, delist.size()); 78 EXPECT_TRUE(ret == 0); 83 ret = UsbSrvClient.OpenDevice(device, pip); 85 ret); 86 EXPECT_TRUE(ret == 0); [all …]
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
D | hks_mbedtls_ecdsa.c | 44 int32_t ret = EccKeyCheck(key); in HksMbedtlsEcdsaSign() local 45 if (ret != HKS_SUCCESS) { in HksMbedtlsEcdsaSign() 46 return ret; in HksMbedtlsEcdsaSign() 50 ret = HksMbedtlsEccGetKeyCurveNist((struct KeyMaterialEcc *)(key->data), &curveNist); in HksMbedtlsEcdsaSign() 51 if (ret != HKS_SUCCESS) { in HksMbedtlsEcdsaSign() 52 return ret; in HksMbedtlsEcdsaSign() 57 ret = HksCtrDrbgSeed(&ctrDrbg, &entropy); in HksMbedtlsEcdsaSign() 58 if (ret != HKS_SUCCESS) { in HksMbedtlsEcdsaSign() 59 return ret; in HksMbedtlsEcdsaSign() 66 ret = mbedtls_ecp_group_load(&(ctx.grp), curveNist); in HksMbedtlsEcdsaSign() [all …]
|
D | hks_mbedtls_x25519.c | 157 int32_t ret = X25519CheckKeyMaterialPubPriSize(priKm); in X25519CheckKeyMaterialSize() local 158 if (ret != HKS_SUCCESS) { in X25519CheckKeyMaterialSize() 160 return ret; in X25519CheckKeyMaterialSize() 162 ret = X25519CheckKeyMaterialPubPriSize(pubKm); in X25519CheckKeyMaterialSize() 163 if (ret != HKS_SUCCESS) { in X25519CheckKeyMaterialSize() 165 return ret; in X25519CheckKeyMaterialSize() 168 ret = X25519CheckKeySize(priKey, priKm, false); in X25519CheckKeyMaterialSize() 169 if (ret != HKS_SUCCESS) { in X25519CheckKeyMaterialSize() 170 return ret; in X25519CheckKeyMaterialSize() 196 … int32_t ret = mbedtls_mpi_write_binary(&(pub->X), rawMaterial + offset, keyMaterial->pubKeySize); in X25519SaveKeyMaterial() local [all …]
|
D | hks_mbedtls_ecdh.c | 44 int32_t ret = HksEccKeyMaterialToPub(pubKey, &(ctx->Qp)); in EccKeyMaterialToCtx() local 45 if (ret != HKS_SUCCESS) { in EccKeyMaterialToCtx() 46 HKS_LOG_E("Ecc keyMaterial to public key failed! ret = 0x%X", ret); in EccKeyMaterialToCtx() 47 return ret; in EccKeyMaterialToCtx() 50 ret = HksEccKeyMaterialToPri(nativeKey, &(ctx->d)); in EccKeyMaterialToCtx() 51 if (ret != HKS_SUCCESS) { in EccKeyMaterialToCtx() 52 HKS_LOG_E("Ecc keyMaterial to private key failed! ret = 0x%X", ret); in EccKeyMaterialToCtx() 55 return ret; in EccKeyMaterialToCtx() 61 int32_t ret = EccKeyCheck(pubKey); in HksMbedtlsEcdh() local 62 if (ret != HKS_SUCCESS) { in HksMbedtlsEcdh() [all …]
|
/base/account/os_account/services/accountmgr/test/unittest/account_mgr_service_test/ |
D | account_mgr_service_test.cpp | 124 bool ret = accountMgr->UpdateOhosAccountInfo(TEST_ACCOUNT_NAME, TEST_ACCOUNT_UID, g_eventLogin); variable 125 EXPECT_EQ(true, ret); 130 ret = (testInfo.second.uid_ == TEST_EXPECTED_UID); 131 EXPECT_EQ(true, ret); 132 ret = (testInfo.second.name_ == TEST_ACCOUNT_NAME); 133 EXPECT_EQ(true, ret); 134 ret = (testInfo.second.status_ == ACCOUNT_STATE_LOGIN); 135 EXPECT_EQ(true, ret); 138 ret = accountMgr->UpdateOhosAccountInfo(TEST_ACCOUNT_NAME, TEST_ACCOUNT_UID, g_eventLogout); 139 EXPECT_EQ(true, ret); [all …]
|
/base/startup/init_lite/test/unittest/param/ |
D | dac_unittest.cpp | 48 int ret = RegisterSecurityDacOps(&initParamSercurityOps, LABEL_INIT_FOR_INIT); in TestDacInitLocalLabel() local 49 EXPECT_EQ(ret, 0); in TestDacInitLocalLabel() 55 ret = initParamSercurityOps.securityInitLabel(&label, LABEL_INIT_FOR_INIT); in TestDacInitLocalLabel() 56 EXPECT_EQ(ret, 0); in TestDacInitLocalLabel() 57 ret = initParamSercurityOps.securityFreeLabel(label); in TestDacInitLocalLabel() 58 EXPECT_EQ(ret, 0); in TestDacInitLocalLabel() 64 int ret = RegisterSecurityDacOps(&initParamSercurityOps, LABEL_INIT_FOR_INIT); in TestDacCheckFilePermission() local 65 EXPECT_EQ(ret, 0); in TestDacCheckFilePermission() 70 ret = initParamSercurityOps.securityInitLabel(&label, LABEL_INIT_FOR_INIT); in TestDacCheckFilePermission() 71 EXPECT_EQ(ret, 0); in TestDacCheckFilePermission() [all …]
|
/base/telephony/call_manager/services/call/src/ |
D | video_call_state.cpp | 93 int ret = TELEPHONY_SUCCESS; in SendUpdateCallMediaModeRequest() local 98 ret = DispatchUpdateVideoRequest(mode); in SendUpdateCallMediaModeRequest() 99 if (ret != TELEPHONY_SUCCESS) { in SendUpdateCallMediaModeRequest() 101 return ret; in SendUpdateCallMediaModeRequest() 107 ret = CALL_ERR_VIDEO_ILLEAGAL_SCENARIO; in SendUpdateCallMediaModeRequest() 118 ret = DispatchUpdateVideoRequest(mode); in SendUpdateCallMediaModeRequest() 119 if (ret != TELEPHONY_SUCCESS) { in SendUpdateCallMediaModeRequest() 121 return ret; in SendUpdateCallMediaModeRequest() 129 return ret; in SendUpdateCallMediaModeRequest() 135 int32_t ret = TELEPHONY_SUCCESS; in RecieveUpdateCallMediaModeRequest() local [all …]
|
/base/telephony/data_storage/common/src/ |
D | rdb_base_helper.cpp | 24 int ret = IsExistStore(); in Insert() local 25 if (ret == NativeRdb::E_OK) { in Insert() 26 ret = store_->Insert(id, table, initialValues); in Insert() 28 return ret; in Insert() 34 int ret = IsExistStore(); in Update() local 35 if (ret == NativeRdb::E_OK) { in Update() 36 ret = store_->Update(changedRows, table, values, whereClause, whereArgs); in Update() 38 return ret; in Update() 44 int ret = IsExistStore(); in Update() local 45 if (ret == NativeRdb::E_OK) { in Update() [all …]
|
/base/powermgr/thermal_manager/test/systemtest/src/ |
D | thermal_mgr_system_test.cpp | 105 size_t ret = fwrite(buf.c_str(), strlen(buf.c_str()), 1, stream); in WriteFile() local 106 if (ret == ERR_OK) { in WriteFile() 107 THERMAL_HILOGE(COMP_SVC, "ret=%{public}zu", ret); in WriteFile() 123 int32_t ret; in ReadFile() local 131 ret = read(fd, buf, size); in ReadFile() 132 if (ret < ERR_OK) { in ReadFile() 133 GTEST_LOG_(INFO) << "WriteFile: failed to read file" << ret; in ReadFile() 146 int32_t ret = -1; in InitNode() local 157 …ret = snprintf_s(bufTemp, PATH_MAX, sizeof(bufTemp) - 1, SIMULATION_TEMP_DIR.c_str(), iter.first.c… in InitNode() 158 if (ret < ERR_OK) { in InitNode() [all …]
|
/base/powermgr/thermal_manager/services/native/test/unittest/src/ |
D | thermal_mgr_policy_test.cpp | 46 size_t ret = fwrite(buf.c_str(), strlen(buf.c_str()), 1, stream); in WriteFile() local 47 if (ret == ERR_OK) { in WriteFile() 48 THERMAL_HILOGE(COMP_SVC, "ret=%{public}zu", ret); in WriteFile() 96 int32_t ret = ReadSysfsFile(path, buf, size); in ReadFile() local 97 if (ret != NUM_ZERO) { in ReadFile() 99 return ret; in ReadFile() 115 int32_t ret = -1; in InitNode() local 126 …ret = snprintf_s(bufTemp, PATH_MAX, sizeof(bufTemp) - 1, SIMULATION_TEMP_DIR.c_str(), iter.first.c… in InitNode() 127 if (ret < ERR_OK) { in InitNode() 128 return ret; in InitNode() [all …]
|
/base/security/huks/unittest/src/ |
D | hks_ed25519_sign_verify_test.cpp | 62 int32_t ret = HksInit(keyAlias, paramSet, &handle); in HksTestSignVerify() local 63 EXPECT_EQ(ret, HKS_SUCCESS) << "Init failed."; in HksTestSignVerify() 64 if (ret != HKS_SUCCESS) { in HksTestSignVerify() 69 ret = HksGetParam(paramSet, HKS_TAG_PURPOSE, &tmpParam); in HksTestSignVerify() 70 if (ret != HKS_SUCCESS) { in HksTestSignVerify() 75 ret = TestUpdateFinish(&handle, paramSet, tmpParam->uint32Param, inData, outData); in HksTestSignVerify() 76 EXPECT_EQ(ret, HKS_SUCCESS) << "TestUpdateFinish failed."; in HksTestSignVerify() 77 if (ret != HKS_SUCCESS) { in HksTestSignVerify() 84 ret = HksSign(keyAlias, paramSet, inData, &outData1); in HksTestSignVerify() 85 EXPECT_EQ(ret, HKS_SUCCESS) << "HksSign failed."; in HksTestSignVerify() [all …]
|
/base/security/huks/test/unittest/src/liteos_a_adapter/three_stage/src/ |
D | hks_ed25519_sign_verify_test.cpp | 63 int32_t ret = HksInit(keyAlias, paramSet, &handle); in HksTestSignVerify() local 64 EXPECT_EQ(ret, HKS_SUCCESS) << "Init failed."; in HksTestSignVerify() 65 if (ret != HKS_SUCCESS) { in HksTestSignVerify() 70 ret = HksGetParam(paramSet, HKS_TAG_PURPOSE, &tmpParam); in HksTestSignVerify() 71 if (ret != HKS_SUCCESS) { in HksTestSignVerify() 76 ret = TestUpdateFinish(&handle, paramSet, tmpParam->uint32Param, inData, outData); in HksTestSignVerify() 77 EXPECT_EQ(ret, HKS_SUCCESS) << "TestUpdateFinish failed."; in HksTestSignVerify() 78 if (ret != HKS_SUCCESS) { in HksTestSignVerify() 85 ret = HksSign(keyAlias, paramSet, inData, &outData1); in HksTestSignVerify() 86 EXPECT_EQ(ret, HKS_SUCCESS) << "HksSign failed."; in HksTestSignVerify() [all …]
|