Home
last modified time | relevance | path

Searched refs:remoteUdid (Results 1 - 6 of 6) sorted by relevance

/drivers/peripheral/user_auth/hdi_service/coauth/inc/
H A Dcoauth.h68 uint8_t remoteUdid[UDID_LEN]; member
79 uint8_t remoteUdid[UDID_LEN]; member
/drivers/peripheral/user_auth/hdi_service/service/
H A Duser_auth_interface_service.cpp1420 int32_t UserAuthInterfaceService::PrepareRemoteAuth(const std::string &remoteUdid) in PrepareRemoteAuth() argument
1460 int32_t UserAuthInterfaceService::GetLocalScheduleFromMessage(const std::string &remoteUdid, in GetLocalScheduleFromMessage() argument
1464 if ((g_localUdid.empty()) || (remoteUdid.empty()) || (message.size() == 0)) { in GetLocalScheduleFromMessage()
1490 if (memcpy_s(scheduleParam->remoteUdid, sizeof(scheduleParam->remoteUdid), remoteUdid.c_str(), in GetLocalScheduleFromMessage()
1491 remoteUdid.length()) != EOK) { in GetLocalScheduleFromMessage()
1492 IAM_LOGE("remoteUdid copy failed"); in GetLocalScheduleFromMessage()
1496 remoteUdidArray = { scheduleParam->remoteUdid, sizeof(scheduleParam->remoteUdid) }; in GetLocalScheduleFromMessage()
1524 GetSignedExecutorInfo(const std::vector<int32_t>& authTypes, int32_t executorRole, const std::string& remoteUdid, std::vector<uint8_t>& signedExecutorInfo) GetSignedExecutorInfo() argument
1612 GetAuthResultFromMessage(const std::string& remoteUdid, const std::vector<uint8_t>& message, HdiAuthResultInfo& authResultInfo) GetAuthResultFromMessage() argument
[all...]
/drivers/peripheral/user_auth/hdi_service/user_auth/inc/
H A Duser_auth_funcs.h81 ResultCode GenerateScheduleFunc(const Buffer *tlv, Uint8Array remoteUdid, ScheduleInfoParam *scheduleInfo);
/drivers/peripheral/user_auth/hdi_service/coauth/src/
H A Dexecutor_message.c772 Uint8Array remoteUdid = { scheduleInfo->remoteUdid, sizeof(scheduleInfo->remoteUdid) }; in SetExecutorCollectMsgToAttribute() local
785 result = SetAttributeUint8Array(attribute, ATTR_PEER_UDID, remoteUdid); in SetExecutorCollectMsgToAttribute()
916 Uint8Array remoteUdid = { scheduleInfo->remoteUdid, UDID_LEN }; in GetScheduleInfoFromAttributeInner() local
917 result = GetAttributeUint8Array(attribute, ATTR_VERIFIER_UDID, &remoteUdid); in GetScheduleInfoFromAttributeInner()
919 LOG_ERROR("GetAttributeUint8Array remoteUdid failed"); in GetScheduleInfoFromAttributeInner()
1034 Uint8Array peerUdid = { .data = authResultInfo->remoteUdid, .len = UDID_LEN }; in CreateAuthResultInfo()
/drivers/peripheral/user_auth/test/fuzztest/user_auth/userauthhdi_fuzzer/
H A Duser_auth_hdi_fuzzer.cpp524 std::string remoteUdid = parcel.ReadString(); in FuzzGetLocalScheduleFromMessage() local
529 g_service.GetLocalScheduleFromMessage(remoteUdid, msg, scheduleInfo); in FuzzGetLocalScheduleFromMessage()
539 std::string remoteUdid = parcel.ReadString(); in FuzzGetSignedExecutorInfo() local
542 g_service.GetSignedExecutorInfo(authTypes, executorRole, remoteUdid, signedExecutorInfo); in FuzzGetSignedExecutorInfo()
/drivers/peripheral/user_auth/hdi_service/user_auth/src/
H A Duser_auth_funcs.c454 ResultCode GenerateScheduleFunc(const Buffer *tlv, Uint8Array remoteUdid, ScheduleInfoParam *scheduleInfo) in GenerateScheduleFunc() argument
456 if (!IsBufferValid(tlv) || IS_ARRAY_NULL(remoteUdid) || (scheduleInfo == NULL)) { in GenerateScheduleFunc()
460 ResultCode result = CreateScheduleInfo(tlv, remoteUdid, scheduleInfo); in GenerateScheduleFunc()

Completed in 8 milliseconds