The invention relates to a computer-implemented method for improving
data security in a computing device (10), wherein the computing device (10) includes a computer
system (12) with a processor (16) for executing
machine instructions (18) and a physical memory (20) with access for the processor (16), wherein the computer
system (12) is designed as an implementation of a
computer architecture that is suitable for switching between a Trusted Execution Environment (22) for executing a
trusted computing process (24) and a Rich Execution Environment (26) for executing a
client computing process (28) corresponding to the
trusted computing process (24), wherein access of the Rich Execution Environment (26) to the Trusted Execution Environment (22) is restricted and / or secured, wherein the Rich Execution Environment (26) and the Trusted Execution Environment (24) each switch between a user mode (30),in which the execution of one or more selected
machine instructions (18) for accessing the physical memory (20) is restricted and / or secured, and a kernel mode (32) in which the execution of the
machine instructions (18) is unrestricted and / or unsecured, are switchable, wherein the Rich Execution Environment (26) and the Trusted Execution Environment (24) jointly utilize a
shared memory (34) of the physical memory (20), wherein the
shared memory (34) provides a
communication channel (36) including related process data (38) for communication between the
client computing process (28) and the
trusted computing process (24).