CN107483172A - A kind of password protecting circuit for being used to defend energy consumption to attack - Google Patents

A kind of password protecting circuit for being used to defend energy consumption to attack Download PDF

Info

Publication number
CN107483172A
CN107483172A CN201710765535.1A CN201710765535A CN107483172A CN 107483172 A CN107483172 A CN 107483172A CN 201710765535 A CN201710765535 A CN 201710765535A CN 107483172 A CN107483172 A CN 107483172A
Authority
CN
China
Prior art keywords
current
voltage
planarization module
low
electric
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710765535.1A
Other languages
Chinese (zh)
Inventor
王晨旭
罗敏
韩良
王安
王新胜
刘晓宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbin Institute of Technology Weihai
Original Assignee
Harbin Institute of Technology Weihai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Harbin Institute of Technology Weihai filed Critical Harbin Institute of Technology Weihai
Priority to CN201710765535.1A priority Critical patent/CN107483172A/en
Publication of CN107483172A publication Critical patent/CN107483172A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/002Countermeasures against attacks on cryptographic mechanisms
    • H04L9/003Countermeasures against attacks on cryptographic mechanisms for power analysis, e.g. differential power analysis [DPA] or simple power analysis [SPA]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Logic Circuits (AREA)

Abstract

A kind of password protecting circuit for being used to defend energy consumption to attack, is related to electronic circuit field.Solve existing encrypted circuit and be vulnerable to power consumption attack, the problem of causing to reveal key.It includes low-frequency current planarization module, high frequency electric planarization module and voltage modulator;Low-frequency current planarization module, for producing the smooth electric current i of constant target, and using the smooth electric current i of the constant target to load current i1Compensate, load current i1For providing electric energy to by protection circuit;Wherein, i=i1+i2, i2To compensate electric current;Low-frequency current planarization module, it is additionally operable to carry out High frequency filter to the voltage of power supply VCC outputs;High frequency electric planarization module, for the load current i exported to low-frequency current planarization module1Low frequency filtering is carried out, and filtered current signal is subjected to voltage conversion by voltage modulator, the voltage of voltage modulator output by protection circuit for being powered.Present invention is mainly used for encrypted circuit is protected.

Description

A kind of password protecting circuit for being used to defend energy consumption to attack
Technical field
The present invention relates to electronic circuit field.
Background technology
The encryption devices such as smart card are able to extensively should in the various industries department such as telecommunications, finance, enterprise security and government With its safe importance is self-evident.Although the embedded characteristic of encryption device makes attacker can not directly contact code core Key information in piece, but can leak the side such as certain power consumption, electromagnetic radiation channel information, differential power consumption during crypto chip work Analysis (Differential Power Analysis, DPA) attack technology utilizes related between key data and these information Property, the value for drawing key can be analyzed by modes such as mathematical statistics.Due to the noninvasive of DPA attacks, universality and it is simple easily The features such as row, its security to crypto chips such as smart cards cause serious threat.Resistance DPA attacks most basic thought The correlation for the data that the operating current of elimination crypto chip uses when performing algorithm with it.
Circuit-level protection is an important research direction of anti-power consumption attack independently of specific cryptographic algorithm.
The content of the invention
The present invention is in order to which existing encrypted circuit is vulnerable to power consumption attack, the problem of causing to reveal key.The present invention provides A kind of password protecting circuit that can be used for defence energy consumption attack.
A kind of password protecting circuit for being used to defend energy consumption to attack, it includes low-frequency current planarization module, high-frequency electrical levelling Mould preparation block and voltage modulator;
Low-frequency current planarization module, for producing the smooth electric current i of constant target, and utilize the smooth electricity of constant target I is flowed to load current i1Compensate, load current i1For providing electric energy to by protection circuit;Wherein, i=i1+i2, i2To mend Repay electric current;
Low-frequency current planarization module, it is additionally operable to carry out High frequency filter to the voltage of power supply VCC outputs;
High frequency electric planarization module, for the load current i exported to low-frequency current planarization module1Carry out low frequency filtering, And filtered current signal is subjected to voltage conversion by voltage modulator, the voltage of voltage modulator output is for being protected Protection circuit is powered;
Described by protection circuit is encrypted circuit.
Preferably, described low-frequency current planarization module includes single-pole double-throw switch (SPDT) S1, target current gear setting electricity Road P1, amplifier U1 and N-type MOS transistor;
The control terminal of the single-pole double-throw switch (SPDT) S1 is connected with power supply VCC voltage output end, and the 1 of single-pole double-throw switch (SPDT) S1 Number output end is connected with the current input terminal of high frequency electric planarization module, single-pole double-throw switch (SPDT) S1 No. 2 output ends and target electricity Gear initialization circuit P1 electric signal input end connection is flowed, target current gear initialization circuit P1 target current output end is with putting The drain electrode of big device U1 in-phase input end, the current input terminal and N-type MOS transistor M0 of high frequency electric planarization module connects simultaneously Connect,
Amplifier U1 inverting input is connected with variable voltage source V1;
Amplifier U1 output end is connected with N-type MOS transistor M0 grid, and N-type MOS transistor M0 source electrode connects power supply Ground.
Preferably, described voltage modulator includes amplifier U2, resistance R1, resistance R2 and N-type MOS transistor M1;
The reverse input end of the amplifier U2 is used to access variable voltage source V2, amplifier U2 input in the same direction and resistance R1 one end and resistance R2 one end connect simultaneously, resistance R2 another termination power, resistance the R1 other end and p-type MOS Transistor M1 drain electrode connection, the voltage output end of the resistance R1 other end as voltage modulator;
Amplifier U2 power input and high frequency electric planarization module voltage output end, N-type MOS transistor M1 source electrode Connect simultaneously, amplifier U2 ground connection termination power,
Amplifier U2 output end is connected with N-type MOS transistor M1 grid.
Preferably, described high frequency electric planarization module is low pass filter.
The present invention has efficiently easily implementation and compatibility, suitable for the protection of various AES chips.This hair It is bright can according to the load voltage demand in practical application scene and load current excursion come adjust output voltage with it is smooth Electric current gear.
A kind of password protecting circuit that can be used for defence energy consumption to attack of the present invention is that a kind of electric current that is based on planarizes Defence DPA attack scheme.Because the crypto chip energy consumption in encrypted circuit changes has strong correlation, attacker with password Key can be cracked out by gathering the power consumption profile of crypto chip.Therefore the present invention planarizes encryption chip electric current, you can The correlation of chip power-consumption and password is eliminated, reduces the signal to noise ratio of effective current information and noise so that current information is hidden in In noise, so that it may lift the difficulty of power consumption attack.
The beneficial effect that the present invention is brought is, the present invention planarizes encryption chip electric current, you can eliminate chip power-consumption with The correlation of password, reduce the signal to noise ratio of effective current information and noise so that current information is hidden in noise, so that it may is lifted The difficulty of power consumption attack so that the intensity for resisting the Differential power attack analysis of crypto chip improves more than 10%.The present invention The smooth of Whole frequency band current signal can be realized.For the signal of low-frequency range, suppressed using low-frequency current planarization module, for height Band current target signal filter, low pass filter can be used.
Brief description of the drawings
Fig. 1 is a kind of principle schematic of password protecting circuit that can be used for defence energy consumption to attack of the present invention;
Fig. 2 is the inhibition figure that low-frequency current planarization module integrates with high frequency electric planarization module, wherein, K fTPlace Power current signal and encrypted circuit current ratio.
Embodiment
Embodiment one:Illustrate present embodiment referring to Fig. 1, one kind described in present embodiment is used to defend energy consumption The password protecting circuit of attack, it includes low-frequency current planarization module 1, high frequency electric planarization module 2 and voltage modulator 3;
Low-frequency current planarization module 1, for producing the smooth electric current i of constant target, and it is smooth using the constant target Electric current i is to load current i1Compensate, load current i1For providing electric energy to by protection circuit 4;Wherein, i=i1+i2, i2 To compensate electric current;
Low-frequency current planarization module 1, it is additionally operable to carry out High frequency filter to the voltage of power supply VCC outputs;
High frequency electric planarization module 2, for the load current i exported to low-frequency current planarization module 11Carry out low frequency filter Ripple, and filtered current signal is subjected to voltage conversion by voltage modulator 3, the voltage that voltage modulator 3 exports is used for It is powered to by protection circuit 4,
Described by protection circuit 4 is encrypted circuit.
In present embodiment, low-frequency current planarization module 1, for the smooth low-frequency current composition by protection circuit 4, low frequency The value that electric current planarization module 1 presets a constant target smooth electric current i, electric current i needs to be higher than by protection circuit 4 Current peak.Low-frequency current planarization module 1 can detect load current i in real time1With the constant smooth electric current i of target difference, lead to Feedback control loop is crossed, compensates corresponding difference current so that load current i1With compensating electric current i2Summation be equal to preset one The smooth electric current i of constant target, so as to reach the purpose of electric current planarization.
High frequency electric planarization module 2 is used to filter out by the high-frequency current component of protection circuit 4.Voltage modulator 3 can root According to the different supply voltage demands by protection circuit 4, corresponding output voltage is set.
During concrete application, attacker is mainly attacked the power supply inputted by protection circuit 4 when attacking, because This, is adding a kind of password protecting circuit for being used to defend energy consumption to attack of the present invention by the front end of protection circuit 4, is making It must be input to by the electric current planarization of protection circuit 4, improve to by the protective capacities of protection circuit 4.
Embodiment two:Illustrate present embodiment referring to Fig. 1, present embodiment with described in embodiment one A kind of difference for the password protecting circuit for being used to defend energy consumption to attack is that described low-frequency current planarization module 1 includes hilted broadsword Commutator S1, target current gear initialization circuit P1, amplifier U1 and N-type MOS transistor;
The control terminal of the single-pole double-throw switch (SPDT) S1 is connected with power supply VCC voltage output end, and the 1 of single-pole double-throw switch (SPDT) S1 Number output end is connected with the current input terminal of high frequency electric planarization module 2, single-pole double-throw switch (SPDT) S1 No. 2 output ends and target electricity Gear initialization circuit P1 electric signal input end connection is flowed, target current gear initialization circuit P1 target current output end is with putting The drain electrode of big device U1 in-phase input end, the current input terminal and N-type MOS transistor M0 of high frequency electric planarization module 2 connects simultaneously Connect,
Amplifier U1 inverting input is connected with variable voltage source V1;
Amplifier U1 output end is connected with N-type MOS transistor M0 grid, and N-type MOS transistor M0 source electrode connects power supply Ground.
Embodiment three:Illustrate present embodiment, present embodiment and the institute of embodiment one or two referring to Fig. 1 A kind of difference for the password protecting circuit for being used to defend energy consumption to attack stated is that described voltage modulator 3 includes amplifier U2, resistance R1, resistance R2 and N-type MOS transistor M1;
The reverse input end of the amplifier U2 is used to access variable voltage source V2, amplifier U2 input in the same direction and resistance R1 one end and resistance R2 one end connect simultaneously, resistance R2 another termination power, resistance the R1 other end and p-type MOS Transistor M1 drain electrode connection, the voltage output end of the resistance R1 other end as voltage modulator 3;
Amplifier U2 power input and the voltage output end of high frequency electric planarization module 2, N-type MOS transistor M1 source Pole connects simultaneously, amplifier U2 ground connection termination power,
Amplifier U2 output end is connected with N-type MOS transistor M1 grid.
Embodiment four:Illustrate present embodiment referring to Fig. 1, present embodiment with described in embodiment one A kind of difference for the password protecting circuit for being used to defend energy consumption to attack is that described high frequency electric planarization module 2 is low pass filtered Ripple device.
The scheme that the present invention is combined using low-frequency current planarization module 1 with high frequency electric planarization module 2, is realized to Whole frequency band Current signal suppression.The high-frequency current component of encrypted circuit is filtered out using high frequency electric planarization module 2.Overall suppression effect Whether the frequency band that fruit depends on after the two is combined being superimposed is enough.The bandwidth f of high frequency electric planarization module 231Determining to filter out The frequency range of high-frequency signal, the bandwidth f of low-frequency current planarization module 132The scope of low frequency signal can be suppressed by determining, two After circuits cascading, the two can process signal frequency band it is superimposed, worst inhibiting rate appears in the overlapping of two circuit frequency bands Position, middle f as shown in Figure 2TPosition.If the bandwidth of high frequency electric planarization module 2 and the bandwidth of low-frequency current planarization module 1 The scope of the frequency band of aliasing is sufficiently large so that fTThe power current signal at place and the current ratio K of encrypted circuit are as low as possible, electricity The inhibition of the whole circuit of levelling is optimal.

Claims (4)

1. a kind of password protecting circuit for being used to defend energy consumption to attack, it is characterised in that it includes low-frequency current planarization module (1), high frequency electric planarization module (2) and voltage modulator (3);
Low-frequency current planarization module (1), for producing the smooth electric current i of constant target, and utilize the smooth electricity of constant target I is flowed to load current i1Compensate, load current i1For providing electric energy to by protection circuit (4);Wherein, i=i1+i2, i2 To compensate electric current;
Low-frequency current planarization module (1), it is additionally operable to carry out High frequency filter to the voltage of power supply VCC outputs;
High frequency electric planarization module (2), for the load current i exported to low-frequency current planarization module (1)1Carry out low frequency filtering, And filtered current signal is subjected to voltage conversion by voltage modulator (3), the voltage of voltage modulator (3) output is used for It is powered to by protection circuit (4),
Described by protection circuit (4) is encrypted circuit.
2. a kind of password protecting circuit for being used to defend energy consumption to attack according to claim 1, it is characterised in that described Low-frequency current planarization module (1) includes single-pole double-throw switch (SPDT) S1, target current gear initialization circuit P1, amplifier U1 and N-type MOS Transistor;
The control terminal of the single-pole double-throw switch (SPDT) S1 is connected with power supply VCC voltage output end, and No. 1 of single-pole double-throw switch (SPDT) S1 is defeated Go out end to be connected with the current input terminal of high frequency electric planarization module (2), single-pole double-throw switch (SPDT) S1 No. 2 output ends and target current Gear initialization circuit P1 electric signal input end connection, target current gear initialization circuit P1 target current output end and amplification The drain electrode of device U1 in-phase input end, the current input terminal and N-type MOS transistor M0 of high frequency electric planarization module (2) connects simultaneously Connect,
Amplifier U1 inverting input is connected with variable voltage source V1;
Amplifier U1 output end is connected with N-type MOS transistor M0 grid, and N-type MOS transistor M0 source electrode is with connecing power supply.
A kind of 3. password protecting circuit for being used to defend energy consumption to attack according to claim 1 or 2, it is characterised in that institute The voltage modulator (3) stated includes amplifier U2, resistance R1, resistance R2 and N-type MOS transistor M1;
The reverse input end of the amplifier U2 is used to access variable voltage source V2, and amplifier U2 input in the same direction is with resistance R1's One end and resistance R2 one end connect simultaneously, resistance R2 another termination power, resistance the R1 other end and p-type MOS crystal Pipe M1 drain electrode connection, the voltage output end of the resistance R1 other end as voltage modulator (3);
Amplifier U2 power input and high frequency electric planarization module (2) voltage output end, N-type MOS transistor M1 source electrode Connect simultaneously, amplifier U2 ground connection termination power,
Amplifier U2 output end is connected with N-type MOS transistor M1 grid.
4. a kind of password protecting circuit for being used to defend energy consumption to attack according to claim 1, it is characterised in that described High frequency electric planarization module (2) is low pass filter.
CN201710765535.1A 2017-08-30 2017-08-30 A kind of password protecting circuit for being used to defend energy consumption to attack Pending CN107483172A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710765535.1A CN107483172A (en) 2017-08-30 2017-08-30 A kind of password protecting circuit for being used to defend energy consumption to attack

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710765535.1A CN107483172A (en) 2017-08-30 2017-08-30 A kind of password protecting circuit for being used to defend energy consumption to attack

Publications (1)

Publication Number Publication Date
CN107483172A true CN107483172A (en) 2017-12-15

Family

ID=60603915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710765535.1A Pending CN107483172A (en) 2017-08-30 2017-08-30 A kind of password protecting circuit for being used to defend energy consumption to attack

Country Status (1)

Country Link
CN (1) CN107483172A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446556A (en) * 2018-03-01 2018-08-24 北京智芯微电子科技有限公司 The anti-power consumption analysis circuit and method of crypto chip
CN110716604A (en) * 2019-10-11 2020-01-21 哈尔滨理工大学 Protection circuit of anti power consumption attack based on current levels technique
CN114580003A (en) * 2022-04-28 2022-06-03 北京密码云芯科技有限公司 Data protection device aiming at energy attack and use method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004006574A1 (en) * 2004-02-11 2005-09-08 Golawski, Herbert, , Dipl.-Ing. Physical protection for microcontroller-based encoding systems against reading processing status information has low pass network enclosing controller, only allowing external access to supply voltage connections, communications cables
WO2009099089A1 (en) * 2008-02-06 2009-08-13 Nec Corporation Device for evaluating side-channel attack resistance, method for evaluating side-channel attack resistance, and program for evaluating side-channel attack resistance
CN203180937U (en) * 2012-11-15 2013-09-04 北京昆腾微电子有限公司 A voltage-stablizer preventing power consumption analysis attack for a crypto chip, and the crypto chip

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004006574A1 (en) * 2004-02-11 2005-09-08 Golawski, Herbert, , Dipl.-Ing. Physical protection for microcontroller-based encoding systems against reading processing status information has low pass network enclosing controller, only allowing external access to supply voltage connections, communications cables
WO2009099089A1 (en) * 2008-02-06 2009-08-13 Nec Corporation Device for evaluating side-channel attack resistance, method for evaluating side-channel attack resistance, and program for evaluating side-channel attack resistance
CN203180937U (en) * 2012-11-15 2013-09-04 北京昆腾微电子有限公司 A voltage-stablizer preventing power consumption analysis attack for a crypto chip, and the crypto chip

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
GIRISH B. RATANPA等: "An On-Chip Signal Suppression Countermeasure to Power Analysis Attacks", 《IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING》 *
王晨旭: "密码芯片抗功耗攻击技术研究", 《中国博士学位论文全文数据库》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446556A (en) * 2018-03-01 2018-08-24 北京智芯微电子科技有限公司 The anti-power consumption analysis circuit and method of crypto chip
CN108446556B (en) * 2018-03-01 2020-04-07 北京智芯微电子科技有限公司 Power consumption resisting analysis circuit and method for cryptographic chip
CN110716604A (en) * 2019-10-11 2020-01-21 哈尔滨理工大学 Protection circuit of anti power consumption attack based on current levels technique
CN110716604B (en) * 2019-10-11 2023-06-13 哈尔滨理工大学 Protection circuit for resisting power consumption attack based on current leveling technology
CN114580003A (en) * 2022-04-28 2022-06-03 北京密码云芯科技有限公司 Data protection device aiming at energy attack and use method

Similar Documents

Publication Publication Date Title
CN107483172A (en) A kind of password protecting circuit for being used to defend energy consumption to attack
CN100382102C (en) Smart cards having protection circuits therein that inhibit power analysis attacks and methods of operating same
TW200723546A (en) Variable breakdown characteristic diode
CN101931206B (en) Over-current protection method
CN108574462A (en) Protect circuit, circuit protection method
EP1034509B1 (en) Data carrier provided with data processing means and current peak pattern suppression means
CN103296665B (en) A kind of Transient Voltage Suppressor
CN105096857B (en) A kind of gate driving circuit and liquid crystal display
EP4095753A1 (en) Self limiting charge pump
CN207150552U (en) Analog switching circuit
Hayashi et al. Non-invasive trigger-free fault injection method based on intentional electromagnetic interference
CN105186483B (en) A kind of ESD protection device, mobile terminal and its means of defence
Araghi et al. An enhanced modified homotopy perturbation method for solving nonlinear volterra and fredholm integro-differential equation
CN108401043A (en) Burn-out-proof card circuit, method and mobile terminal based on single-pole double-throw switch (SPDT)
CN107493084A (en) A kind of anti-static protection circuit of radio frequency chip high power amplifier
Ikematsu et al. Suppression of information leakage from electronic devices based on SNR
CN108446556B (en) Power consumption resisting analysis circuit and method for cryptographic chip
CN110190480B (en) USB data line
CN104463311A (en) Circuit for improving contactless card strong field modulation waveform and modulation length
Sabath System oriented view on high-power electromagnetic (HPEM) effects and intentional electromagnetic interference (IEMI)
SU1053296A1 (en) Device for protecting amplifiers from short-term overvoltages
Jin et al. Optimal Energy Efficient Design of Artificial Noise to Prevent Side-Channel Attacks
CN206517425U (en) A kind of energy spectrometer detects circuit
CN102722923A (en) Quick-response photonic key
CN103268771B (en) There is the portable hard drive of interference prevention function

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171215