/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/ |
H A D | hichain_pake_test.cpp | 72 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 D | deviceauth_test.cpp | 128 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 D | virtual_device.cpp | 67 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 D | pake_client.h | 30 struct hc_pin pin; member 66 struct pake_client *build_pake_client(const struct session_identity *identity, const struct hc_pin *pin,
|
H A D | pake_server.h | 71 struct hc_pin pin; member
|
/base/account/os_account/test/fuzztest/iamaccount_stub/addcredentialstub_fuzzer/ |
H A D | addcredentialstub_fuzzer.cpp | 70 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 D | updatecredentialstub_fuzzer.cpp | 67 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 D | pake_client.c | 36 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 D | pake_server.c | 44 (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 D | task.rs | 15 use std::pin::Pin;
|
/base/request/request/services/src/manage/ |
H A D | database.rs | 17 use std::pin::Pin;
|
/base/telephony/ril_adapter/interfaces/innerkits/include/ |
H A D | hril_vendor_sim_defs.h | 368 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 D | build_object.c | 189 struct hc_pin pin = { 0, {0} }; in build_pake_client_object() local 193 hichain->cb.get_protocol_params(&hichain->identity, hichain->operation_code, &pin, ¶); 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, ¶.self_auth_id, ¶.peer_auth_id); in build_pake_client_object()
|
/base/telephony/core_service/test/fuzztest/unlockpin_fuzzer/ |
H A D | unlockpin_fuzzer.cpp | 58 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 D | operator.rs | 15 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 D | upload.rs | 16 use std::pin::Pin; 121 Box::pin(async { in reuse()
|
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/dellocalauthinfo_fuzzer/ |
H A D | dellocalauthinfo_fuzzer.cpp | 34 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 D | destroy_fuzzer.cpp | 34 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 D | getinstance_fuzzer.cpp | 36 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 D | istrustpeer_fuzzer.cpp | 34 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 D | at_sim.h | 92 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 D | sim_test_util.cpp | 270 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 D | ril_sim_test.cpp | 755 * @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 D | authenticatepeer_fuzzer.cpp | 36 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 D | receivedata_fuzzer.cpp | 46 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
|