The application relates to a
chip security mechanism self-checking
system, method,
computer device and storage medium. The
system comprises a self-checking control module, a pseudo-
random number generation module, a security mechanism unit and a
cyclic redundancy check module. The self-checking control module is used for sending a
control signal to the security mechanism unit needing self-checking according to configuration, enabling the self-checking function of the security mechanism unit, sending a pseudo-
random number seed to the pseudo-
random number generation module, comparing a check code sent by the
cyclic redundancy check module with a check value, and outputting a self-checking result according to a comparison result. The pseudo-
random number generation module is used for generating a plurality of pseudo-random numbers according to the pseudo-
random number seed. The security mechanism unit is used for starting self-checking according to the
control signal, receiving the pseudo-random number excitation and generating output data. The
cyclic redundancy check module is used for performing cyclic redundancy check operation on the output data of each security mechanism unit, generating a corresponding check code, and sending the current check code to the self-checking control module when the pseudo-random number is traversed. The
system can improve the self-checking coverage, reduce the test time and
power consumption.