Fault injection resisting method and device, chip and computer readable storage medium
A fault injection and chip technology, applied in computer security devices, internal/peripheral computer component protection, computing, etc., can solve problems such as poor partial fault injection defense effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] figure 1 For the flow chart of the fault injection defense method provided in Embodiment 1 of the present invention, please refer to figure 1 , the fault injection defense method provided in this embodiment includes the following steps:
[0037] S101: Detect an abnormal signal of a power port of a module to be protected.
[0038] According to different methods of fault injection, such as voltage glitch injection, clock glitch injection, etc., this step includes different implementation methods:
[0039] Detecting a voltage glitch at the power port, and determining that an abnormal signal is detected when a voltage glitch is detected; and / or detecting a clock glitch at the power port, and determining that an abnormal signal is detected when a clock glitch is detected.
[0040] S102: Send an alarm signal when an abnormal signal is detected.
[0041] The implementation of the alarm signal can be an interrupt signal, or a low-level signal or a high-level signal.
[0042...
Embodiment 2
[0058] This embodiment is described by taking the chip as an SOC as an example.
[0059] In SOC, FLASH is mainly used for program storage. FLASH controller IP has always been the focus of fault injection. When the FLASH controller fails, various abnormalities may occur in reading / writing data, resulting in program operations and data failures. Mistakes will cause great harm to the safe operation of the chip. This embodiment proposes a high-security SOC FLASH controller that resists electromagnetic fault injection analysis, can resist local electromagnetic fault injection analysis, and has high cost performance.
[0060] In view of the fact that the current FLASH controller IP is very vulnerable to electromagnetic fault injection attacks, this embodiment adds a local voltage glitch unit to the power port of each sub-function module to form a voltage Glitch detection network, this function can effectively detect local voltage anomalies generated during electromagnetic fault inj...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


