/base/tee/tee_client/services/authentication/ |
H A D | tee_auth_system.cpp | 35 tloge("invaild based64 string, size %zu\n", encodedLen);
in Base64Decode() 39 tloge("decode string len too short, %zu, %u\n", encodedLen, (unsigned int)*decodedLen);
in Base64Decode() 45 tloge("EVP DecodeBlock failed, ret %d\n", ret);
in Base64Decode() 59 tloge("invaild base64 padding len, %u\n", padLen);
in Base64Decode() 64 tloge("base64 decoded failed, decoded len %u, pad len %u\n", ret, padLen);
in Base64Decode() 78 tloge("buf too short, %u, %zu, %u\n", (unsigned int)sizeof(caInfo->certs), packageName.length(), pubKeyLen);
in FillEccHapCaInfo() 99 tloge("copy ecc pubkey x point failed\n");
in FillEccHapCaInfo() 110 tloge("copy ecc pubkey y point failed\n");
in FillEccHapCaInfo() 123 tloge("get hap token info failed, ret %d\n", ret);
in ConstructHapCaInfoFromToken() 129 tloge("ha in ConstructHapCaInfoFromToken() [all...] |
H A D | tee_get_native_cert.c | 34 tloge("buffer overflow for pathLen\n"); in SetPathToBuf() 40 tloge("copy pkgname length failed\n"); in SetPathToBuf() 50 tloge("buffer overflow for path\n"); in SetPathToBuf() 56 tloge("copy pkgname failed\n"); in SetPathToBuf() 74 tloge("buffer overflow for pubkeyLen\n"); in SetUidToBuf() 80 tloge("copy uid length failed\n"); in SetUidToBuf() 90 tloge("buffer overflow for pubkey\n"); in SetUidToBuf() 96 tloge("copy uid failed\n"); in SetUidToBuf() 111 tloge("set uid failed\n"); in SetUserInfoToBuf() 124 tloge("Para in TeeGetNativeCert() [all...] |
H A D | tee_auth_common.c | 27 tloge("fopen is error: %d\n", errno); in ReadCmdLine() 33 tloge("cannot read from cmdline\n"); in ReadCmdLine() 42 tloge("copy caName failed\n"); in ReadCmdLine() 61 tloge("input :caName invalid\n"); in TeeGetCaName() 67 tloge("tee get ca name snprintf_s err\n"); in TeeGetCaName() 79 tloge("path is null or path len overflow\n"); in TeeGetPkgName() 84 tloge("get ca name failed\n"); in TeeGetPkgName()
|
H A D | tcu_authentication.c | 47 tloge("input parameter error\n");
in GetCaHashFileList() 63 tloge("filename is invalid ...\n");
in IsNotValidFname() 69 tloge("filename should not include .. dir\n");
in IsNotValidFname() 112 tloge("size read is invalid\n");
in GetFileSize() 139 tloge("open file failed\n");
in GetFileInfo() 145 tloge("read file read number:%d\n", fileSize);
in GetFileInfo() 163 tloge("wrong buflen\n");
in InitTempBuf() 169 tloge("malloc failed!\n");
in InitTempBuf() 175 tloge("memset failed!\n");
in InitTempBuf() 194 tloge("ini in ReadXmlFile() [all...] |
/base/tee/tee_client/services/teecd/src/ |
H A D | tee_ca_auth.c | 34 tloge("CERT check failed<%d>\n", ret);
in GetLoginInfo() 38 tloge("Failed to set login information for client err=%d!\n", ret);
in GetLoginInfo() 52 tloge("bad parameters\n");
in SendLoginInfo() 58 tloge("malloc fail.\n");
in SendLoginInfo() 63 tloge("memset failed, ret=0x%x\n", ret);
in SendLoginInfo() 69 tloge("get cert failed\n");
in SendLoginInfo() 75 tloge("Failed set login info for client err=%d!\n", ret);
in SendLoginInfo() 92 tloge("bad parameter\n");
in RecvCaMsg() 98 tloge("message memset_s failed\n");
in RecvCaMsg() 116 tloge("teec in RecvCaMsg() [all...] |
H A D | tee_ca_daemon.c | 70 tloge("memset failed!\n");
in SendFileDescriptor() 76 tloge("memset failed!\n");
in SendFileDescriptor() 86 tloge("init msg failed!\n");
in SendFileDescriptor() 108 tloge("sendmsg failed ret=0x%x:%d.\n", ret, errno);
in SendFileDescriptor() 121 tloge("Failed to send version back. ret = %d\n", ret);
in ProcessCaMsg() 129 tloge("Failed to open %s: %d\n", TC_NS_CLIENT_DEV_NAME, errno);
in ProcessCaMsg() 135 tloge("Failed to send login info. ret=%d\n", ret);
in ProcessCaMsg() 142 tloge("Failed to send fd. ret=%d\n", ret);
in ProcessCaMsg() 162 tloge("accept() to server socket failed, errno=%d", errno);
in ProcessAccept() 168 tloge("peercre in ProcessAccept() [all...] |
H A D | secfile_load_agent.c | 45 tloge("fseek error\n"); in GetImgLen() 50 tloge("file is not exist or size is too large, filesize = %ld\n", *totalLlen); in GetImgLen() 55 tloge("fseek error\n"); in GetImgLen() 68 tloge("fd of tzdriver is valid!\n"); in SecFileLoadWork() 72 tloge("realpath open file err=%d, filePath=%s\n", errno, filePath); in SecFileLoadWork() 76 tloge("realpath -%s- is invalid\n", realPath); in SecFileLoadWork() 81 tloge("open file err=%d, path=%s\n", errno, filePath); in SecFileLoadWork() 99 tloge("param erro!\n"); in LoadSecFile() 112 tloge("totalLen is invalid\n"); in LoadSecFile() 119 tloge("allo in LoadSecFile() [all...] |
H A D | tee_load_dynamic_drv.c | 36 tloge("no need to load\n"); in LoadOneFile() 41 tloge("only support sec file\n"); in LoadOneFile() 46 tloge("mem set failed, name: %s, size: %u\n", name, (uint32_t)sizeof(name)); in LoadOneFile() 50 tloge("dir name too long: %s\n", dynDir); in LoadOneFile() 54 tloge("drv name too long: %s\n", dirFile->d_name); in LoadOneFile() 60 tloge("real path failed err=%d\n", errno); in LoadOneFile() 66 tloge("open drv failed: %s\n", realLoadFile); in LoadOneFile() 72 tloge("load dynamic drv or srv failed: %s\n", realLoadFile); in LoadOneFile() 96 tloge("load dynamic failed\n"); in LoadOneDynamicDir()
|
H A D | fs_work_agent.c | 64 tloge("malloc OpenedFile failed\n"); in AddOpenFile() 75 tloge("the tail is null\n"); in AddOpenFile() 100 tloge("the next or the prev is null\n"); in DelOpenFile() 156 tloge("chmod failed: %d\n", errno); in ChownSecStorage() 168 tloge("path is too long\n"); in CheckPathLen() 192 tloge("strdup error\n"); in CreateDir() 212 tloge("mkdir fail err %d \n", errno); in CreateDir() 233 tloge("Invalid file name\n"); in CheckFileNameAndPath() 255 tloge("strncpy_s failed %d\n", rc); in GetPathStorage() 287 tloge("snprintf_ in JoinFileNameTransient() [all...] |
H A D | tee_agent.c | 62 tloge("open tee client dev failed, fd is %d\n", fd); in AgentInit() 72 tloge("ioctl failed\n"); in AgentInit() 90 tloge("ioctl failed\n"); in AgentExit() 107 tloge("fs agent init failed\n"); in ProcessAgentInit() 115 tloge("misc agent init failed\n"); in ProcessAgentInit() 121 tloge("secfile load agent init failed\n"); in ProcessAgentInit() 167 tloge("get system time failed ret=0x%x\n", ret); in SyncSysTimeToSecure() 178 tloge("Failed to open %s: %d\n", TC_PRIVATE_DEV_NAME, errno); in SyncSysTimeToSecure() 183 tloge("failed to send sys time to teeos\n"); in SyncSysTimeToSecure() 197 tloge("faile in TrySyncSysTimeToSecure() [all...] |
H A D | misc_work_agent.c | 46 tloge("snprintf_s error %d\n", rc); in GetTimeWork() 49 tloge("get localtime error\n"); in GetTimeWork() 70 tloge("misc file is not open\n"); in MiscWorkThread() 79 tloge("misc agent wait event failed, errno = %d\n", errno); in MiscWorkThread() 93 tloge("misc agent error cmd\n"); in MiscWorkThread() 107 tloge("misc agent send reponse failed\n"); in MiscWorkThread()
|
H A D | late_init_agent.c | 38 tloge("open tee client dev failed, fd is %d\n", fd); in InitLateWorkThread() 44 tloge("failed to set late init, errno = %d\n", errno); in InitLateWorkThread()
|
/base/tee/tee_client/frameworks/libteec_vendor/ |
H A D | tee_client_app_load.c | 45 tloge("param is null\n"); in TEEC_GetApp() 55 tloge("teec load app erro, ta path is not NULL\n"); in TEEC_GetApp() 67 tloge("get file name err\n"); in TEEC_GetApp() 76 tloge("file path too long\n"); in TEEC_GetApp() 82 tloge("teec load app erro\n"); in TEEC_GetApp() 96 tloge("invalid fp\n"); in GetTaVersion() 103 tloge("read file failed, ret=%d, error=%d\n", ret, ferror(fp)); in GetTaVersion() 120 tloge("fseek error\n"); in GetTaVersion() 130 tloge("fseek error\n"); in GetTaVersion() 150 tloge("ge in TEEC_GetImageLenth() [all...] |
H A D | load_sec_file.c | 33 tloge("fseek end error\n"); in GetImgLen() 38 tloge("file is not exist or size is too large, filesize = %ld\n", *totalLlen); in GetImgLen() 43 tloge("fseek head error\n"); in GetImgLen() 57 tloge("param erro!\n"); in LoadSecFile() 70 tloge("totalLen is invalid\n"); in LoadSecFile() 77 tloge("alloc TA file buffer(size=%ld) failed\n", totalLen); in LoadSecFile() 85 tloge("read ta file failed, read size/total size=%ld/%ld\n", fileSize, totalLen); in LoadSecFile() 95 tloge("memcpy uuid fail\n"); in LoadSecFile() 101 tloge("ioctl to load sec file failed, ret = 0x%x\n", ret); in LoadSecFile()
|
H A D | tee_client_socket.c | 41 tloge("bad parameter\n");
in ConnectTeecdSocket() 52 tloge("can't open stream socket, errno=%d", errno);
in ConnectTeecdSocket() 61 tloge("strncpy_s failed, errno=%d", rc);
in ConnectTeecdSocket() 69 tloge("connect() failed, errno=%d\n", errno);
in ConnectTeecdSocket() 87 tloge("param error!\n");
in InitRecvMsg() 126 tloge("init msg failed!/n");
in RecvFileDescriptor() 162 tloge("alloc mem failed.\n");
in FillMsgBuffer() 167 tloge("memset failed\n");
in FillMsgBuffer() 173 tloge("memcpy_s error!\n");
in FillMsgBuffer() 220 tloge("c in CaDaemonConnectWithCaInfo() [all...] |
H A D | tee_client_api.c | 76 tloge("get share mem bit lock failed\n"); in ClearBitWithLock() 135 tloge("get share mem bit lock failed\n"); in GetAndSetBitWithLock() 195 tloge("unlock mutex: not exe, mutex not in lock state. lockRet = %d\n", lockRet); in MutexUnlockContext() 214 tloge("get session lock failed.\n"); in AddSessionList() 237 tloge("find context: context is NULL!\n"); in FindBnContext() 261 tloge("get context lock failed.\n"); in GetBnContext() 275 tloge("put context: context is NULL!\n"); in PutBnContext() 293 tloge("get context lock failed.\n"); in FindAndRemoveBnContext() 328 tloge("get session: context or session is NULL!\n"); in GetBnSession() 334 tloge("ge in GetBnSession() [all...] |
/base/tee/tee_client/services/tlogcat/src/ |
H A D | tlogcat.c | 102 tloge("log dir is not exist\n"); in GetLogPathBasePos() 145 tloge("mkdir %s fail, errno %d\n", temp, errno); in LogFilesMkdirR() 151 tloge("chmod %s err %d\n", temp, ret); in LogFilesMkdirR() 170 tloge("convert uuid to string failed\n"); in GetUuidStr() 190 tloge("memcpy log name failed\n"); in LogFilesAdd() 196 tloge("memcpy uuid failed\n"); in LogFilesAdd() 240 tloge("open error:logName %s, errno %d\n", logName, errno); in LogFilesOpen() 247 tloge("fileno is error\n"); in LogFilesOpen() 253 tloge("chmod error\n"); in LogFilesOpen() 265 tloge("writ in LogFilesOpen() [all...] |
H A D | tarzip.c | 108 tloge("snprintf_s failed: %d\n", rc); in WriteHeader() 118 tloge("snprintf_s failed: %d\n", rc); in WriteHeader() 138 tloge("fd or fileName or fileSize invalid\n"); in WriteZipContent() 150 tloge("read failed\n"); in WriteZipContent() 156 tloge("gzwrite failed\n"); in WriteZipContent() 159 tloge("incomplete gzwrite\n"); in WriteZipContent() 178 tloge("open file failed\n"); in OpenZipFile() 183 tloge("change fd to file failed\n"); in OpenZipFile() 189 tloge("chown failed\n"); in OpenZipFile() 195 tloge("chmo in OpenZipFile() [all...] |
H A D | proc_tag.c | 123 tloge("wrong format log buffer\n"); in GetLogItemTag() 131 tloge("too long task name\n"); in GetLogItemTag() 137 tloge("memcpy tag str is failed\n"); in GetLogItemTag() 152 tloge("malloc ta tag node failed\n"); in InsertTaTagNode() 159 tloge("memcpy_s uuid error %d\n", rc); in InsertTaTagNode() 184 tloge("malloc driver tag node failed\n"); in InsertDriverTagNode() 242 tloge("snprintf_s for ta tag name is failed:0x%x\n", ret); in GetTagName() 248 tloge("insert tag node to list is failed:0x%x\n", ret); in GetTagName() 270 tloge("find ta task name is failed\n"); in JudgeLogTag()
|
/base/tee/tee_client/services/cadaemon/src/ca_daemon/ |
H A D | cadaemon_stub.cpp | 102 tloge("recv str length check fail\n"); in GetChar() 107 tloge("copy str fail, errno = %{public}d\n", errno); in GetChar() 120 tloge("CaDaemonStub: InitContextRecvProc interface token check failed!"); in InitContextRecvProc() 127 tloge("InitContextRecvProc: get name failed\n"); in InitContextRecvProc() 132 tloge("initialize context failed\n"); in InitContextRecvProc() 144 tloge("CaDaemonStub: FinalContextRecvProc interface token check failed!"); in FinalContextRecvProc() 171 tloge("getContext: operation memcpy failed\n"); in GetContextFromData() 187 tloge("getSession: operation memcpy failed\n"); in GetSessionFromData() 204 tloge("getShamem: operation memcpy failed\n"); in GetSharedMemFromData() 217 tloge("operatio in GetOperationFromData() [all...] |
H A D | cadaemon_service.cpp | 53 tloge("failed to init CaDaemonService"); in OnStart() 58 tloge("get the tee version failed\n"); in OnStart() 61 tloge("the tee version is %x\n", mTeeVersion); in OnStart() 71 tloge("Failed to open %s: %d\n", TC_PRIVATE_DEV_NAME, errno); in GetTEEVersion() 78 tloge("Failed to get tee version, err=%d\n", ret); in GetTEEVersion() 100 tloge("teeTuiThreadFunc is null\n"); in CreateTuiThread() 114 tloge("CaDaemonService::Init Publish failed!"); in Init() 181 tloge("can not find context in outProcdata\n"); in RemoveContextFromProcData() 194 tloge("not exe, mutex not in lock state. lock_ret = %{public}d\n", lockRet); in TidMutexUnlock() 199 tloge("ex in TidMutexUnlock() [all...] |
/base/tee/tee_client/interfaces/kits/c/src/ |
H A D | tee_client.cpp | 42 tloge("get call back handle failed\n"); in SetCallBack() 48 tloge("write token failed\n"); in SetCallBack() 54 tloge("write notify failed\n"); in SetCallBack() 60 tloge("send notify failed\n"); in SetCallBack() 78 tloge("new mNotify failed\n"); in InitTeecService() 85 tloge("get system ability failed\n"); in InitTeecService() 91 tloge("get teec service failed\n"); in InitTeecService() 97 tloge("new death notify failed\n"); in InitTeecService() 105 tloge("set service to ca failed\n"); in InitTeecService() 113 tloge("se in InitTeecService() [all...] |
/base/tee/tee_client/services/cadaemon/src/tui_daemon/ |
H A D | tui_event.cpp | 76 tloge("get hashstr error\n");
in TUISaveTTFHash() 82 tloge("ttf hash invalid\n");
in TUISaveTTFHash() 87 tloge("copy hash string failed\n");
in TUISaveTTFHash() 114 tloge("open tzdriver fd failed\n");
in TUISendEventToTz() 122 tloge("Failed to send tui event[%{public}d] to tzdriver, ret is %{public}d \n",
in TUISendEventToTz() 139 tloge("tui font hash len invalid\n");
in TUISendTTFHashToTeeos() 157 tloge("send notch msg failed\n");
in TUISendTTFHashToTeeos() 160 tloge("memcpy tui font hash failed");
in TUISendTTFHashToTeeos() 178 tloge("GetDefaultDisplay: failed!\n");
in TUIGetPannelInfo() 193 tloge("ge in TUIGetPannelInfo() [all...] |
H A D | tee_tui_daemon.cpp | 57 tloge("can not open %{public}s , %{public}d", TUI_LISTEN_PATH, errno);
in GetTuiDevFd() 72 tloge("get TuiFd failed\n");
in GetEvent() 81 tloge("TUI read state fail %{public}d, len=%{public}d\n", ferror(g_mTuiFp), readSize);
in GetEvent() 139 tloge("failed to get c_state, stop ThreadLoop\n");
in TuiThreadLoop() 152 tloge("get event failed, something wrong\n");
in TuiThreadLoop()
|
/base/tee/tee_client/frameworks/include/ |
H A D | tee_log.h | 43 #define tloge(...) HILOG_ERROR(LOG_CORE, __VA_ARGS__) macro 53 #define tloge(...) printf(__VA_ARGS__) macro
|