Home
last modified time | relevance | path

Searched refs:pin (Results 1 - 25 of 72) sorted by relevance

123

/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/
H A Dhichain_pake_test.cpp72 struct hc_pin *pin, struct operation_parameter *para) in GetProtocolParams()
77 pin->length = g_test_pin.length; in GetProtocolParams()
78 memcpy_s(pin->pin, pin->length, g_test_pin.pin, pin->length); in GetProtocolParams()
71 GetProtocolParams(const struct session_identity *identity, int32_t operationCode, struct hc_pin *pin, struct operation_parameter *para) GetProtocolParams() argument
H A Ddeviceauth_test.cpp128 struct hc_pin *pin, struct operation_parameter *para) in GetProtocolParams()
133 pin->length = g_testPin.length; in GetProtocolParams()
134 memcpy_s(pin->pin, pin->length, g_testPin.pin, pin->length); in GetProtocolParams()
168 struct hc_pin *pin, struct operation_parameter *para) in GetProtocolParams001()
173 pin->length = g_testPin.length; in GetProtocolParams001()
174 memcpy_s(pin in GetProtocolParams001()
127 GetProtocolParams(const struct session_identity *identity, int32_t operationCode, struct hc_pin *pin, struct operation_parameter *para) GetProtocolParams() argument
167 GetProtocolParams001(const struct session_identity *identity, int32_t operationCode, struct hc_pin *pin, struct operation_parameter *para) GetProtocolParams001() argument
182 GetProtocolParams002(const struct session_identity *identity, int32_t operationCode, struct hc_pin *pin, struct operation_parameter *para) GetProtocolParams002() argument
196 GetProtocolParams003(const struct session_identity *identity, int32_t operationCode, struct hc_pin *pin, struct operation_parameter *para) GetProtocolParams003() argument
210 GetProtocolParams004(const struct session_identity *identity, int32_t operationCode, struct hc_pin *pin, struct operation_parameter *para) GetProtocolParams004() argument
225 GetProtocolParams005(const struct session_identity *identity, int32_t operationCode, struct hc_pin *pin, struct operation_parameter *para) GetProtocolParams005() argument
[all...]
/base/msdp/device_status/tools/vdev/src/
H A Dvirtual_device.cpp67 FILE *pin = popen("cat /proc/bus/input/devices", "r"); in Execute() local
68 if (pin == nullptr) { in Execute()
72 while (!feof(pin)) { in Execute()
73 if (fgets(buffer, sizeof(buffer), pin) != nullptr) { in Execute()
78 pclose(pin); in Execute()
/base/security/device_auth/frameworks/deviceauth_lite/inc/key_agreement/
H A Dpake_client.h30 struct hc_pin pin; member
66 struct pake_client *build_pake_client(const struct session_identity *identity, const struct hc_pin *pin,
H A Dpake_server.h71 struct hc_pin pin; member
/base/account/os_account/test/fuzztest/iamaccount_stub/addcredentialstub_fuzzer/
H A Daddcredentialstub_fuzzer.cpp70 PinSubType pin = pinType.value_or(PinSubType::PIN_MAX); in AddCredentialStubFuzzTest() local
71 if (!dataTemp.WriteInt32(pin)) { in AddCredentialStubFuzzTest()
/base/account/os_account/test/fuzztest/iamaccount_stub/updatecredentialstub_fuzzer/
H A Dupdatecredentialstub_fuzzer.cpp67 PinSubType pin = pinType.value_or(PinSubType::PIN_MAX); in UpdateCredentialStubFuzzTest() local
68 if (!dataTemp.WriteInt32(pin)) { in UpdateCredentialStubFuzzTest()
/base/security/device_auth/frameworks/deviceauth_lite/source/key_agreement/
H A Dpake_client.c36 struct pake_client *build_pake_client(const struct session_identity *identity, const struct hc_pin *pin, in build_pake_client() argument
50 pake_client->pin = *pin; in build_pake_client()
68 (void)memset_s(&pake_client->pin, sizeof(struct hc_pin), 0, sizeof(struct hc_pin)); in destroy_pake_client()
200 int32_t ret = compute_hkdf((struct var_buffer *)&pake_client->pin, &pake_client->salt, in parse_start_response_data()
415 struct pake_client *build_pake_client(const struct session_identity *identity, const struct hc_pin *pin, in build_pake_client() argument
420 (void)pin; in build_pake_client()
H A Dpake_server.c44 (void)memset_s(&pake_server->pin, sizeof(struct hc_pin), 0, sizeof(struct hc_pin)); in destroy_pake_server()
/base/request/request/pre_download/netstack_rs/src/
H A Dtask.rs15 use std::pin::Pin;
/base/request/request/services/src/manage/
H A Ddatabase.rs17 use std::pin::Pin;
/base/telephony/ril_adapter/interfaces/innerkits/include/
H A Dhril_vendor_sim_defs.h368 void (*UnlockPin)(const ReqDataInfo *requestInfo, const char *pin);
369 void (*UnlockPuk)(const ReqDataInfo *requestInfo, const char *puk, const char *pin);
/base/security/device_auth/frameworks/deviceauth_lite/source/schedule/
H A Dbuild_object.c189 struct hc_pin pin = { 0, {0} }; in build_pake_client_object() local
193 hichain->cb.get_protocol_params(&hichain->identity, hichain->operation_code, &pin, &para); in build_pake_client_object()
198 if (pin.length > HC_PIN_BUFF_LEN) { in build_pake_client_object()
202 return build_pake_client(&hichain->identity, &pin, para.key_length, &para.self_auth_id, &para.peer_auth_id); in build_pake_client_object()
/base/telephony/core_service/test/fuzztest/unlockpin_fuzzer/
H A Dunlockpin_fuzzer.cpp58 std::string pin(reinterpret_cast<const char *>(data), size); in UnlockPin()
59 std::u16string pinStr = Str8ToStr16(pin); in UnlockPin()
74 std::string pin(reinterpret_cast<const char *>(data), size); in UnlockPuk()
75 std::u16string pinStr = Str8ToStr16(pin); in UnlockPuk()
/base/request/request/services/src/task/
H A Doperator.rs15 use std::pin::Pin;
83 self.sleep = Some(Box::pin(sleep(Duration::from_millis(self.more_sleep_time))));
103 self.sleep = Some(Box::pin(sleep(Duration::from_millis(sleep_time))));
H A Dupload.rs16 use std::pin::Pin;
121 Box::pin(async { in reuse()
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/dellocalauthinfo_fuzzer/
H A Ddellocalauthinfo_fuzzer.cpp34 struct hc_pin *pin, struct operation_parameter *para) in GetProtocolParamsCb()
33 GetProtocolParamsCb(const struct session_identity *identity, int32_t operationCode, struct hc_pin *pin, struct operation_parameter *para) GetProtocolParamsCb() argument
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/destroy_fuzzer/
H A Ddestroy_fuzzer.cpp34 struct hc_pin *pin, struct operation_parameter *para) in GetProtocolParamsCb()
33 GetProtocolParamsCb(const struct session_identity *identity, int32_t operationCode, struct hc_pin *pin, struct operation_parameter *para) GetProtocolParamsCb() argument
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/getinstance_fuzzer/
H A Dgetinstance_fuzzer.cpp36 struct hc_pin *pin, struct operation_parameter *para) in GetProtocolParamsCb()
35 GetProtocolParamsCb(const struct session_identity *identity, int32_t operationCode, struct hc_pin *pin, struct operation_parameter *para) GetProtocolParamsCb() argument
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/istrustpeer_fuzzer/
H A Distrustpeer_fuzzer.cpp34 struct hc_pin *pin, struct operation_parameter *para) in GetProtocolParamsCb()
33 GetProtocolParamsCb(const struct session_identity *identity, int32_t operationCode, struct hc_pin *pin, struct operation_parameter *para) GetProtocolParamsCb() argument
/base/telephony/ril_adapter/services/vendor/include/
H A Dat_sim.h92 void ReqUnlockPin(const ReqDataInfo *requestInfo, const char *pin);
93 void ReqUnlockPuk(const ReqDataInfo *requestInfo, const char *puk, const char *pin);
/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dsim_test_util.cpp270 const std::u16string pin = Str8ToStr16("1234"); in UnlockPinTestFunc() local
272 int32_t result = CoreServiceClient::GetInstance().UnlockPin(SimTest::slotId_, pin, response); in UnlockPinTestFunc()
279 const std::u16string pin = Str8ToStr16("1234"); in UnlockPinTestFunc1() local
281 int32_t result = CoreServiceClient::GetInstance().UnlockPin(SimTest::slotId1_, pin, response); in UnlockPinTestFunc1()
287 const std::u16string pin = Str8ToStr16("1234"); in UnlockPukTestFunc() local
290 int32_t result = CoreServiceClient::GetInstance().UnlockPuk(SimTest::slotId_, pin, puk, response); in UnlockPukTestFunc()
297 const std::u16string pin = Str8ToStr16("1234"); in UnlockPukTestFunc1() local
300 int32_t result = CoreServiceClient::GetInstance().UnlockPuk(SimTest::slotId1_, pin, puk, response); in UnlockPukTestFunc1()
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/
H A Dril_sim_test.cpp755 * @tc.name Unlock pin
764 std::string pin = "1234"; in HWTEST_F() local
765 int32_t ret = g_rilInterface->UnlockPin(SLOTID_1, RilTestUtil::GetSerialId(), pin); in HWTEST_F()
775 * @tc.name Unlock pin
784 std::string pin = "1234"; in HWTEST_F() local
785 int32_t ret = g_rilInterface->UnlockPin(SLOTID_2, RilTestUtil::GetSerialId(), pin); in HWTEST_F()
805 std::string pin = "1234"; in HWTEST_F() local
806 int32_t ret = g_rilInterface->UnlockPuk(SLOTID_1, RilTestUtil::GetSerialId(), puk, pin); in HWTEST_F()
826 std::string pin = "1234"; in HWTEST_F() local
827 int32_t ret = g_rilInterface->UnlockPuk(SLOTID_2, RilTestUtil::GetSerialId(), puk, pin); in HWTEST_F()
[all...]
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/authenticatepeer_fuzzer/
H A Dauthenticatepeer_fuzzer.cpp36 struct hc_pin *pin, struct operation_parameter *para) in GetProtocolParamsCb()
35 GetProtocolParamsCb(const struct session_identity *identity, int32_t operationCode, struct hc_pin *pin, struct operation_parameter *para) GetProtocolParamsCb() argument
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/receivedata_fuzzer/
H A Dreceivedata_fuzzer.cpp46 struct hc_pin *pin, struct operation_parameter *para) in GetProtocolParamsCb()
45 GetProtocolParamsCb(const struct session_identity *identity, int32_t operationCode, struct hc_pin *pin, struct operation_parameter *para) GetProtocolParamsCb() argument

Completed in 16 milliseconds

123