mirror of
https://github.com/openharmony/tee_tee_os_framework.git
synced 2026-07-20 23:46:14 -04:00
no message
Match-id-b25b257a1dfa0043c06dc96c0bebd894da16d354
This commit is contained in:
@@ -34,11 +34,9 @@ TEE_Result get_device_id_prop(uint8_t *dst, uint32_t len)
|
||||
msg.data.deviceid_msg.size = len;
|
||||
msg.header.send.msg_id = CMD_HUK_GET_DEVICEID;
|
||||
|
||||
if (huk_srv_msg_call(&msg, &rsp) < 0 || rsp.data.ret != TEE_SUCCESS) {
|
||||
tloge("get device id msg call failed\n");
|
||||
rsp.data.ret = TEE_ERROR_GENERIC;
|
||||
if (huk_srv_msg_call(&msg, &rsp) < 0)
|
||||
goto clean;
|
||||
}
|
||||
|
||||
if (memcpy_s(dst, len, dev_id_shared, len) != EOK) {
|
||||
tloge("copy device id shared failed\n");
|
||||
rsp.data.ret = TEE_ERROR_GENERIC;
|
||||
|
||||
Reference in New Issue
Block a user