This invention discloses a security
chip based on a configurable
lookup table. The security
chip includes: at least one configurable
logic block, each containing at least one configurable
lookup table unit; a dynamic
mask generator connected to the configurable
lookup table unit, dynamically generating a
mask sequence according to the current
processing clock cycle; a reconfiguration controller connected to the dynamic
mask generator, changing the configuration values of the configurable lookup table units in real time according to a
security policy; and a security execution engine, whose input is connected to the output of the configurable lookup table unit, performing secure operations based on the masked lookup results; wherein the configurable lookup table unit presents different
truth table mappings for the same logic input in at least two different
clock cycles. This invention enables the lookup table unit to present different
truth table mappings in different
clock cycles, breaking the deterministic correlation between
power consumption characteristics and data, and effectively resisting side-channel attacks such as differential
power analysis.