Home
last modified time | relevance | path

Searched refs:swap (Results 1 – 25 of 40) sorted by relevance

12

/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/
Dcrypto_hash_to_point.c114 BIGNUM *swap = BN_new(); in CurveHashToPointCalcB() local
117 if (BN_bin2bn(hash->data, hash->size, swap) == NULL) { in CurveHashToPointCalcB()
120 if (BN_mul(b, swap, swap, ctx) <= 0) { in CurveHashToPointCalcB()
126 if (BN_mul(swap, b, curvePara->u, ctx) <= 0) { in CurveHashToPointCalcB()
129 if (BN_mod(swap, swap, curvePara->p, ctx) <= 0) { in CurveHashToPointCalcB()
132 if (BN_add(b, swap, curvePara->one) <= 0) { in CurveHashToPointCalcB()
138 if (BN_mod_inverse(swap, b, curvePara->p, ctx) <= 0) { in CurveHashToPointCalcB()
141 if (BN_mul(b, swap, curvePara->minusA, ctx) <= 0) { in CurveHashToPointCalcB()
149 BN_free(swap); in CurveHashToPointCalcB()
156 BIGNUM *swap = BN_new(); in CurveHashToPointCalcA() local
[all …]
/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/
Dmock_blob.cpp32 blob_.swap(blob.blob_); in Blob()
54 blob_.swap(blob.blob_); in operator =()
/base/useriam/user_auth_framework/frameworks/native/common/attributes/src/
Dattributes.cpp161 map_.swap(out); in Impl()
598 dst.swap(out); in EncodeBoolValue()
608 dst.swap(out); in EncodeUint64Value()
618 dst.swap(out); in EncodeUint32Value()
628 dst.swap(out); in EncodeUint16Value()
636 dst.swap(out); in EncodeUint8Value()
646 dst.swap(out); in EncodeInt32Value()
658 dst.swap(out); in EncodeStringValue()
676 dst.swap(out); in EncodeUint64ArrayValue()
693 dst.swap(out); in EncodeUint32ArrayValue()
[all …]
/base/hiviewdfx/hilog/services/hilogd/include/
Dlog_msg_wrapper.h34 std::swap(msgBuffer, _msgBuffer); in HilogMsgWrapper()
/base/security/selinux/
D.gitignore3 *.swap
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_x25519.c491 mbedtls_mpi swap; in HksCurvePskCalcA() local
494 mbedtls_mpi_init(&swap); in HksCurvePskCalcA()
507 if (mbedtls_mpi_mul_mpi(&swap, &(curvePara->mpiD), &mpiE) != HKS_MBEDTLS_SUCCESS) { in HksCurvePskCalcA()
511 if (mbedtls_mpi_add_mpi(&swap, &swap, &(curvePara->mpiOne)) != HKS_MBEDTLS_SUCCESS) { in HksCurvePskCalcA()
515 if (mbedtls_mpi_mod_mpi(&swap, &swap, &(curvePara->mpiP)) != HKS_MBEDTLS_SUCCESS) { in HksCurvePskCalcA()
519 if (mbedtls_mpi_inv_mod(&swap, &swap, &(curvePara->mpiP)) != HKS_MBEDTLS_SUCCESS) { in HksCurvePskCalcA()
531 if (mbedtls_mpi_mul_mpi(&mpiE, &mpiE, &swap) != HKS_MBEDTLS_SUCCESS) { in HksCurvePskCalcA()
548 mbedtls_mpi_free(&swap); in HksCurvePskCalcA()
/base/update/updater/services/ui/strategy/
Dui_strategy.cpp83 std::unordered_map<UpdaterMode, UiStrategyCfg>().swap(strategies_); in LoadStrategy()
89 std::unordered_map<UpdaterMode, UiStrategyCfg>().swap(strategies_); in LoadStrategy()
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/parse/
Dmeminfo_data.h34 uint64_t swap; member
/base/notification/distributed_notification_service/services/test/moduletest/mock/
Dblob.cpp32 blob_.swap(blob.blob_); in Blob()
54 blob_.swap(blob.blob_); in operator =()
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
Dblob.cpp32 blob_.swap(blob.blob_); in Blob()
54 blob_.swap(blob.blob_); in operator =()
/base/update/updater/services/ui/view/layout/
Dlayout_parser.cpp46 std::vector<UxPageInfo>().swap(vec); in LoadLayout()
80 std::vector<UxViewInfo>().swap(vec); in ParseViewInfo()
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
Dblob.cpp32 blob_.swap(blob.blob_); in Blob()
54 blob_.swap(blob.blob_); in operator =()
/base/startup/init/test/fuzztest/readfileindir_fuzzer/
Dreadfileindir_fuzzer.cpp36 std::vector<std::string>().swap(fileText); in FakeParser()
/base/hiviewdfx/hilog/frameworks/libhilog/socket/
Dhilog_input_socket_server.cpp52 std::swap(m_serverThread, tmp); in StopServingThread()
/base/hiviewdfx/hidumper/interfaces/innerkits/
Ddump_usage.cpp39 memInfo.swap = 0; in InitMemInfo()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/parse/
Dparse_smaps_rollup_info.cpp71 memInfo.swap = value; in GetValue()
/base/hiviewdfx/hidumper/test/innerkits_test/
Dmain.cpp74 …ivateClean:" << info.privateClean << ",privateDirty:" << info.privateDirty << ",swap:" << info.swap in main()
/base/useriam/user_auth_framework/test/unittest/services/src/
Duser_idm_database_test.cpp69 list.swap(infos); in __anon8b6a512a0102()
88 list.swap(infos); in __anon8b6a512a0202()
118 list.swap(infos); in __anon8b6a512a0302()
174 list.swap(infos); in __anon8b6a512a0402()
Dresource_node_test.cpp86 list.swap(HDI_TEMPLATE_ID_LIST); in __anonfdc2e1ab0102()
91 key.swap(FWK_PUB_KEY); in __anonfdc2e1ab0202()
/base/telephony/core_service/services/sim/src/
Dicc_operator_rule.cpp261 this->packageName_.swap(packageName); in SetPackageName()
292 this->certificate_.swap(certificate); in SetCertificate()
302 this->accessLimit_.swap(accessLimit); in SetAccessLimit()
Dsim_sms_controller.cpp69 smsList_.swap(nullVector); in ProcessLoadDone()
235 smsList_.swap(nullVector); in ObtainAllSmsOfIcc()
/base/useriam/user_auth_framework/services/core/src/
Dschedule_node_helper.cpp48 nodes.swap(outputs); in BuildFromHdi()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/small/
Dmbedtls_ec_adapter.c247 uint8_t swap = (mbedtls_mpi_cmp_mpi(&paraBnSquare, &tmpBnE) == 1); in Elligator() local
248 status = mbedtls_mpi_safe_cond_swap(&tmpBnB, &tmpBnC, swap); in Elligator()
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Djs_callback_manager.cpp151 swap(empty, tasks); in Clear()
/base/update/updater/services/ui/language/
Dlanguage_ui.cpp152 std::vector<std::string>{3, ""}.swap(res_); in LoadLangRes()

12