The present application provides a memory security detection method and a
system on
chip, the
system on
chip includes a
security policy controller and a memory to be detected, and the
security policy controller includes a detection module. The
security policy controller receives a detection
signal, the detection
signal carries the fault to be detected and / or
attack identification of the memory to be detected, obtains a detection
algorithm corresponding to the fault to be detected and / or
attack identification from an off-
chip memory according to the fault to be detected and / or
attack identification, the off-chip memory stores a variety of detection algorithms corresponding to the fault and / or attack identification, configures the detection module according to the obtained detection
algorithm to obtain a detection circuit, and uses the detection circuit to determine whether the memory to be detected has a fault to be detected and / or an attack. To achieve security detection of the corresponding fault and / or attack of the memory to be detected, there is no need to deploy multiple complex detection circuits in the
system at the same time, and the corresponding detection circuit can be configured by calling the corresponding detection
algorithm according to different detection signals, thereby reducing
power consumption and improving efficiency.