Disclosed are a method and an apparatus for trusted measurement, where the method includes: obtaining, when start-up of a system is completed, a first processing result by performing a first-manner processing on a code segment in a memory, and using a result obtained by performing a second-manner processing on the first processing result as a reference value (101); obtaining, at a first moment when the system is running, a second processing result by performing the first-manner processing on the code segment in the memory, and obtaining a first measurement value by performing the second-manner processing on the second processing result (102); and determining whether the first measurement value and the reference value are equal, and if the first measurement value and the reference value are equal, the system is trusted (103), where the code segment in the memory is a code segment that does not change with normal running of the system during one start-up and a running process of the system.
展开▼