CN112019320B - Energy track extraction method and system in side channel analysis - Google Patents

Energy track extraction method and system in side channel analysis Download PDF

Info

Publication number
CN112019320B
CN112019320B CN201910462530.0A CN201910462530A CN112019320B CN 112019320 B CN112019320 B CN 112019320B CN 201910462530 A CN201910462530 A CN 201910462530A CN 112019320 B CN112019320 B CN 112019320B
Authority
CN
China
Prior art keywords
energy
track
energy track
sub
distance
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.)
Active
Application number
CN201910462530.0A
Other languages
Chinese (zh)
Other versions
CN112019320A (en
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.)
University of Science and Technology of China USTC
Original Assignee
University of Science and Technology of China USTC
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 University of Science and Technology of China USTC filed Critical University of Science and Technology of China USTC
Priority to CN201910462530.0A priority Critical patent/CN112019320B/en
Publication of CN112019320A publication Critical patent/CN112019320A/en
Application granted granted Critical
Publication of CN112019320B publication Critical patent/CN112019320B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators

Abstract

The invention provides an energy track extraction method and system in side channel analysis, wherein the method comprises the following steps: the method comprises the steps of obtaining an initial energy track, calling a sliding window, sliding from a starting point to an end point of the initial energy track by a preset stepping step length, sequentially dividing the initial energy track into a plurality of sub-energy tracks, calculating a first characteristic vector of the sub-energy track in the current sliding window during each sliding, obtaining a first characteristic distance between the first characteristic vector and a preset sample characteristic vector, recording a starting coordinate and a track length of the sub-energy track when the first characteristic distance is judged to be smaller than a preset distance threshold value, intercepting an energy track corresponding to the recorded starting coordinate and the track length from the initial energy track, and determining the intercepted energy track as a target energy track. By applying the method provided by the invention, the energy track generated when the equipment to be analyzed runs the cryptographic algorithm can be extracted without searching for a trigger pin or setting a corresponding trigger signal.

Description

Energy track extraction method and system in side channel analysis
Technical Field
The invention relates to the technical field of cryptography, in particular to an energy track extraction method and system in side channel analysis.
Background
Side channel analysis is a new cryptographic analysis technique in recent years, and compared with the traditional cryptographic analysis technique, the side channel analysis technique focuses more on collecting additional exposed physical information of the cryptographic device in the engineering implementation process, and combines the additional exposed physical information with a mathematical analysis method to analyze a key used by the cryptographic device.
In the side channel analysis process, it is important to acquire the energy track corresponding to the running interval of the cryptographic algorithm from the energy track corresponding to the leakage information. At present, trigger signals are set through various methods for acquiring energy tracks corresponding to a cryptographic algorithm running interval so as to assist in carrying out effective interval identification and then carrying out acquisition, and when a device to be analyzed cannot be programmed independently to generate the trigger signals or cannot find available trigger signals, the acquisition of the energy tracks generated when the device to be analyzed runs the cryptographic algorithm is difficult to realize.
Disclosure of Invention
In view of this, the embodiment of the present invention provides an energy trajectory extraction method, which can extract an energy trajectory generated when a device to be analyzed runs a cryptographic algorithm without using a trigger signal.
The invention also provides an energy track extraction system for ensuring the realization and application of the method in practice.
An energy track extraction method in side channel analysis comprises the following steps:
acquiring an initial energy track;
calling a preset sliding window, sliding from the starting point of the initial energy track to the end point of the initial energy track by a preset stepping step length, sequentially dividing the initial energy track into a plurality of sub-energy tracks, and executing a first operation on each divided sub-energy track, wherein the first operation comprises: calculating a feature vector of the sub-energy track, obtaining a first feature vector corresponding to the sub-energy track, obtaining a first feature distance between the first feature vector and a preset sample feature vector, and storing the first feature distance into a pre-constructed distance set;
recording the initial coordinates and the track length of the sub-energy tracks corresponding to the target characteristic distances in the distance set; the target characteristic distance is a first characteristic distance of which the distance value in the distance set is smaller than a preset distance threshold; the track length is the product of the length of the sliding window and a preset length expansion ratio;
and according to the recorded initial coordinate and track length, intercepting an energy track corresponding to the recorded initial coordinate and track length from the initial energy track, and determining the intercepted energy track as a target energy track.
Optionally, the above method, where calculating the feature vector of the sub-energy trajectory to obtain a first feature vector corresponding to the sub-energy trajectory, includes:
dividing the sub-energy tracks into a plurality of energy track sets according to a preset track dividing mode; each energy track set comprises a plurality of sampling points;
performing a second operation on each of the sets of energy trajectories, the second operation comprising: calculating the sum of sampling values corresponding to all sampling points in the energy track set to obtain a first characteristic value corresponding to the energy track set;
and performing dimension mapping on the first characteristic value corresponding to each energy track set according to a preset mapping rule to obtain a first characteristic vector corresponding to the sub-energy track.
Optionally, the above method, where the calculating a sum of sampling values corresponding to all sampling points in the energy trace set to obtain a first feature value corresponding to the energy trace set, includes:
if the current energy track set belongs to a first sub-energy track, accumulating the sampling values of all sampling points in the current energy track set to obtain a first characteristic value corresponding to the current energy track set; the current energy track set refers to an energy track set currently used for calculating a first characteristic value;
if the current energy track set does not belong to the first sub-energy track, calculating the sum of sampling values of reference sampling points of the current energy track set according to a first characteristic value of the reference set, and adding the sum of the sampling values of the reference sampling points of the current energy track set to the sampling values of the sampling points in the current energy track set except the reference sampling points one by one to obtain a first characteristic value of the current energy track set; the reference set is an energy track set corresponding to the current energy track set in a previous sub-energy track of a sub-energy track to which the current energy track set belongs; the reference sampling points are sampling points of an overlapping region of a reference set and the current energy track set in the current energy track set.
Optionally, the obtaining a first feature distance between the first feature vector and a preset sample feature vector includes:
calculating a difference value between the first characteristic value of each dimension in the first characteristic vector and the characteristic value of the corresponding dimension in a preset sample characteristic vector to obtain a difference value corresponding to each first characteristic value;
performing square operation on the difference value corresponding to each first characteristic value, and performing accumulation operation on the difference value of each first characteristic value after square operation to obtain an accumulated value;
and carrying out an evolution calculation on the accumulated value to obtain a first feature distance between the first feature vector and the sample feature vector.
The above method, optionally, the acquiring an initial energy trajectory includes:
collecting an energy signal;
and performing analog-to-digital conversion on the energy signal, and performing filtering processing on the energy signal after the analog-to-digital conversion to obtain an initial energy track corresponding to the energy signal.
In the foregoing method, optionally, after determining the intercepted energy trajectory as the target energy trajectory, the method further includes:
and storing the target energy track.
An energy trajectory extraction system in side channel analysis, comprising:
the system comprises an acquisition module, an oscillography shaping module, an extraction module and a storage module;
the acquisition module is connected to the storage module sequentially through the oscillography shaping module and the extraction module;
the acquisition module is used for acquiring energy signals of external equipment to be analyzed and transmitting the energy signals to the oscillography shaping module;
the oscillography shaping module is used for carrying out analog-to-digital conversion on the energy signals, carrying out filtering processing on the energy signals after the analog-to-digital conversion to obtain initial energy tracks corresponding to the energy signals, and transmitting the initial energy tracks to the extraction module;
the extraction module is configured to invoke a preset sliding window, slide from a start point of the initial energy trajectory to an end point of the initial energy trajectory by a preset step length, sequentially divide the initial energy trajectory into a plurality of sub-energy trajectories, and perform a first operation on each divided sub-energy trajectory, where the first operation includes: calculating a feature vector of the sub-energy track, obtaining a first feature vector corresponding to the sub-energy track, obtaining a first feature distance between the first feature vector and a preset sample feature vector, and storing the first feature distance into a pre-constructed distance set;
recording the initial coordinates and the track lengths of the sub-energy tracks corresponding to the target characteristic distances in the distance set, intercepting the energy tracks corresponding to the recorded initial coordinates and track lengths from the initial energy tracks according to the recorded initial coordinates and track lengths, determining the intercepted energy tracks as target energy tracks, and transmitting the target energy tracks to the storage module; the target characteristic distance is a first characteristic distance of which the distance value in the distance set is smaller than a preset distance threshold;
and the storage module is used for storing the target energy track transmitted by the extraction module.
The above system, optionally, the extracting module includes:
the device comprises a first feature vector extraction unit, a feature vector comparison unit and an extraction unit;
one end of the first characteristic vector extraction unit is connected with the oscillography shaping module, the other end of the first characteristic vector extraction unit is connected to one end of the extraction unit through the characteristic vector comparison unit, and the other end of the extraction unit is connected with the storage module;
the first feature vector extraction unit is configured to invoke a preset sliding window, slide from a start point of the initial energy trajectory to an end point of the initial energy trajectory by a preset step length, sequentially divide the initial energy trajectory into a plurality of sub-energy trajectories, and perform a third operation on each divided sub-energy trajectory, where the third operation includes: dividing the sub-energy tracks according to a preset dividing mode to obtain a plurality of energy track sets corresponding to the sub-energy tracks, calculating the sum of sampling values corresponding to all sampling points in each energy track set to obtain a first characteristic value corresponding to each energy track set, performing dimension mapping on the first characteristic value corresponding to each energy track set according to a preset mapping rule to obtain a first characteristic vector corresponding to the sub-energy tracks, and transmitting the first characteristic vector to the characteristic vector comparison unit;
the feature vector comparison unit is configured to calculate a first feature distance between the first feature vector and a preset sample feature vector, store the first feature distance into a pre-constructed distance set, and transmit the distance set to the extraction unit;
the extracting unit is configured to record the start coordinate and the track length of the sub-energy track corresponding to each target feature distance in the distance set, intercept an energy track corresponding to the start coordinate and the track length from the initial energy track according to the recorded start coordinate and track length, and determine the intercepted energy track as a target energy track.
The above system, optionally, the acquisition module includes:
the power consumption measuring device comprises a measuring resistor, a first power consumption acquisition probe, a second power consumption acquisition probe and a differential amplifier;
the first end of the measuring resistor is connected with an external power supply, and the second end of the measuring resistor is connected with external equipment to be analyzed;
one end of the first power consumption acquisition probe is contacted with the first end of the measuring resistor, and the other end of the first power consumption acquisition probe is connected with the first input end of the differential amplifier;
one end of the second power consumption acquisition probe is contacted with the second end of the measuring resistor, and the other end of the second power consumption acquisition probe is connected with the second input end of the differential amplifier;
and the output end of the differential amplifier is connected with the oscillography shaping module.
The above system, optionally, the acquisition module includes:
a near-field electromagnetic probe and a low noise amplifier;
the near-field electromagnetic probe is connected with the input end of the low-noise amplifier and is arranged at the close end of the external equipment to be analyzed;
and the output end of the low-noise amplifier is connected with the oscillography shaping module.
Compared with the prior art, the invention has the following advantages:
the invention provides an energy track extraction method in side channel analysis, which comprises the steps of obtaining an initial energy track, calling a preset sliding window, sliding from a starting point of the initial energy track to an end point of the initial energy track by a preset step length, sequentially dividing the initial energy track into a plurality of sub-energy tracks, calculating a first characteristic vector of the sub-energy track in the current sliding window during each sliding, obtaining a first characteristic distance between the first characteristic vector and a preset sample characteristic vector, storing the first characteristic distance into a distance set until the sliding window slides to the end point of the initial energy track, completing the obtaining of the first characteristic distance of the sub-energy track corresponding to the end point of the initial energy track, recording the first characteristic distance of which the distance value is smaller than a distance threshold value in the distance set, the starting coordinate and the track length of the corresponding sub-energy track, and intercepting an energy track corresponding to the initial coordinate and the track length from the initial energy track, and determining the intercepted energy track as a target energy track, wherein the target energy track is an energy track generated when the cryptographic algorithm runs.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for extracting an energy trajectory according to an embodiment of the present invention;
fig. 2 is a flowchart of another method of an energy trajectory extraction method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an energy trajectory extraction system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an energy trajectory extraction system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an energy trajectory extraction system according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an energy trajectory extraction system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention is operational with numerous general purpose or special purpose computing device environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multi-processor apparatus, distributed computing environments that include any of the above devices or equipment, and the like.
The embodiment of the invention provides an energy track extraction method in side channel analysis, which can be applied to a plurality of system platforms, wherein an execution main body of the method can be a processor running in various mobile devices, and a flow chart of the method is shown in fig. 1 and specifically comprises the following steps:
s101: acquiring an initial energy track;
in the method provided by the embodiment of the invention, the initial energy track generated by the equipment to be analyzed is obtained, and the initial energy track comprises all energy tracks in the password running period and the non-password running period.
S102: calling a preset sliding window, sliding from the starting point of the initial energy track to the end point of the initial energy track by a preset stepping step length, sequentially dividing the initial energy track into a plurality of sub-energy tracks, and executing a first operation on each divided sub-energy track, wherein the first operation comprises: calculating a feature vector of the sub-energy track, obtaining a first feature vector corresponding to the sub-energy track, obtaining a first feature distance between the first feature vector and a preset sample feature vector, and storing the first feature distance into a pre-constructed distance set;
in the method provided by the embodiment of the invention, after an initial energy track is obtained, a preset sliding window is called, and the initial energy track slides from a starting point to an end point of the initial energy track to the end point of the initial energy track according to a preset step length until the initial energy track slides to the end point of the initial energy track, namely the sliding window contains the end point of the initial energy track when the initial energy track slides for the last time, and the energy track is sequentially divided into a plurality of sub-energy tracks when the sliding window slides; optionally, the sliding window is slid from the start of the initial energy trajectory to the end of the initial energy trajectory in 1 step steps.
When the sliding window slides, calculating a feature vector of a sub-energy track in the current sliding window every time, obtaining a first feature vector corresponding to the sub-energy track, calculating a feature distance between the first feature vector and a preset sample feature vector, obtaining a first feature distance between the first feature vector and the preset sample feature vector, and storing the first feature distance into a distance set until the sliding window slides to the end point of the initial energy track.
It should be noted that the preset sample feature vector may be obtained according to a sample energy track segment, where the sample energy track segment is an energy track acquired by the device to be analyzed when running the cryptographic algorithm, the length of the sample energy track is consistent with the length of the sliding window, and the acquisition environment and the acquisition device of the sample energy track segment are the same as the acquisition environment and the acquisition device of the initial energy track.
It should be noted that, in the method provided in the embodiment of the present invention, after the initial energy trajectory is filled in the buffer area with the fixed size, the energy trajectory of the buffer area is divided in a sliding manner according to the preset sliding window.
S103: recording the initial coordinates and the track length of the sub-energy tracks corresponding to the target characteristic distances in the distance set; the target characteristic distance is a first characteristic distance of which the distance value in the distance set is smaller than a preset distance threshold;
in the method provided by the embodiment of the invention, after the sliding window slides to the end point of the initial energy track and the acquisition of the first characteristic distance of the sub-energy track corresponding to the end point of the initial energy track is completed, whether the first characteristic distance in the distance set is smaller than a preset distance threshold value or not is judged one by one, the first characteristic distance of which the distance value is smaller than the distance threshold value is determined as a target characteristic distance, and the initial coordinate and the track length of the sub-energy track corresponding to the target characteristic distance are determined; the first characteristic distance can represent the similarity degree of the first characteristic vector and a preset sample characteristic vector, and the smaller the first characteristic distance is, the more similar the first characteristic vector is represented to the preset sample characteristic vector; when the obtained first characteristic distance is smaller than a preset distance threshold, the sub-energy track can be regarded as an energy track generated when the equipment to be analyzed runs a cryptographic algorithm, and the initial coordinate and the track length of the sub-energy track are recorded; the track length is the product of the length of the sliding window and a preset length expansion ratio; optionally, for a device to be analyzed having an anti-side channel random delay protection function, the preset length expansion factor may be greater than 1, so as to ensure that all effective energy tracks generated by the device to be analyzed when running a cryptographic algorithm are included.
Preferably, the value range of the length expansion ratio is 1.0-1.5.
S104: and according to the recorded initial coordinate and track length, intercepting an energy track corresponding to the recorded initial coordinate and track length from the initial energy track, and determining the intercepted energy track as a target energy track.
According to the method provided by the embodiment of the invention, the energy track corresponding to the initial coordinate and the track length is intercepted from the initial energy track according to the recorded initial coordinate and the track length, the intercepted energy track is determined as the target energy track, and the determined target energy track comprises all effective energy tracks generated by the equipment to be analyzed running a cryptographic algorithm.
By applying the method provided by the embodiment of the invention, an initial energy track is obtained, a preset sliding window is called, the initial energy track slides from a starting point to an end point of the initial energy track in a preset step length, the initial energy track is sequentially divided into a plurality of sub energy tracks, a first characteristic vector of the sub energy tracks in the sliding window is calculated when the sliding window slides each time, a characteristic distance between the first characteristic vector and a sample characteristic vector is calculated, the first characteristic distance is stored in a distance set, after the sliding is finished, whether the first characteristic distance in the distance set is smaller than a preset distance threshold value or not is judged one by one, and when the first characteristic distance is smaller than the preset distance threshold value, the starting coordinate and the track length of the sub energy track corresponding to the first characteristic distance are recorded; finally, according to the recorded initial coordinate and track length, intercepting an energy track corresponding to the recorded initial coordinate and track length from the initial energy track, and determining the intercepted energy track as a target energy track; by applying the energy track extraction method in the side channel analysis provided by the embodiment of the invention, the energy track generated when the equipment to be analyzed runs the cryptographic algorithm can be extracted without searching for a trigger pin or setting a corresponding trigger signal.
As shown in fig. 2, the calculating of the feature vector of the sub-energy trajectory in step S103 disclosed in fig. 1 of the above embodiment of the present invention obtains the first feature vector corresponding to the sub-energy trajectory, and includes the following steps:
s201: dividing the sub-energy tracks into a plurality of energy track sets according to a preset track dividing mode;
in the method provided by the embodiment of the invention, when calculating the feature vector of the sub-energy track, the sub-energy track in the current sliding window is firstly divided into a plurality of energy track sets, and the number of the energy track sets corresponds to the dimension of the first feature vector. Each energy track set comprises a plurality of sampling points, and the number of the sampling points in each energy track set is the same. Preferably, the value range of the number of the energy track sets is 10-20.
S202: performing a second operation on each of the sets of energy trajectories, the second operation comprising: calculating the sum of sampling values corresponding to all sampling points in the energy track set to obtain a first characteristic value corresponding to the energy track set;
in the method provided by the embodiment of the invention, each energy track set comprises a plurality of sampling points; calculating the sum of sampling values corresponding to all sampling points in each energy track set to obtain a first characteristic value corresponding to each energy track set; the calculating of the sum of the sampling values corresponding to all sampling points in the energy track set specifically includes:
if the current energy track set belongs to a first sub-energy track, accumulating the sampling values of all sampling points in the current energy track set to obtain a first characteristic value corresponding to the current energy track set; the current energy track set refers to an energy track set currently used for calculating a first characteristic value;
if the current energy track set does not belong to the first sub-energy track, calculating the sum of sampling values of reference sampling points of the current energy track set according to a first characteristic value of the reference set, and adding the sum of the sampling values of the reference sampling points of the current energy track set to the sampling values of the sampling points in the current energy track set except the reference sampling points one by one to obtain a first characteristic value of the current energy track set; the reference set is an energy track set corresponding to the current energy track set in a previous sub-energy track of a sub-energy track to which the current energy track set belongs; the reference sampling points are sampling points of an overlapping region of a reference set and the current energy track set in the current energy track set.
In the method provided by the embodiment of the present invention, the calculation of the first eigenvalue of each energy track set corresponding to a sub-energy track is divided into two cases:
in the first case: when the current energy track set used for calculating the first characteristic value belongs to a first sub-energy track, namely the energy track set of the sub-energy track corresponding to the starting point of the initial energy track, accumulating the sampling values of all sampling points in the current energy track set to obtain the corresponding first characteristic value in the current energy track set;
in the second case: if the energy track set used for calculating the first characteristic value does not belong to the first sub-energy track, the calculation of the first characteristic value of the current energy track set does not need to accumulate the sampling values of all sampling points in the set; the process of calculating the first characteristic value corresponding to each energy track set comprises the following steps: taking an energy track set corresponding to a current energy track set in a previous energy track of a sub energy track to which the current energy track set belongs as a reference set, determining sampling points of an overlapping region between the reference set and the current energy track set according to the reference set, taking the sampling points of the overlapping region in the current energy track set as reference sampling points, determining the sum of the sampling values of the reference sampling points, obtaining the sum of the sampling values of the reference sampling points only according to a first characteristic value of the reference set without performing accumulation calculation on the sampling values of the reference sampling points again, adding the sum of the sampling values of the reference sampling points one by one, and obtaining the sampling values of the current energy track set except the reference sampling points, thereby obtaining the first characteristic value of the current energy track.
It should be noted that, for the first eigenvalue of the energy track set of the above-mentioned calculated sub-energy tracks, it can be understood that, when the sliding window slides for the first time, that is, when the sub-energy track in the sliding window is the first sub-energy track, the sampled sampling values in each energy track set in the current sliding window are accumulated to obtain the first eigenvalue of each energy track set; when the sliding window performs subsequent sliding with the step length of 1, the sampling values of all sampling points in each energy track set are not accumulated, but the first characteristic value of each energy track set in the window is obtained according to a preset updating formula.
S203: and performing dimension mapping on the first characteristic value corresponding to each energy track set according to a preset mapping rule to obtain a first characteristic vector corresponding to the sub-energy track.
In the method provided by the embodiment of the invention, after the first eigenvalue corresponding to each energy track set is obtained, dimension mapping is performed according to a preset mapping rule, the first eigenvalue corresponding to each energy track set is mapped to a dimension value of a dimension corresponding to the first eigenvalue in the first eigenvector, and the first eigenvector corresponding to the sub-energy track is obtained.
It should be noted that the calculation process of the sample feature vector is the same as the calculation process of the first feature vector, that is, after the sample energy trajectory is obtained, the sample feature vector can be obtained by calculating the sample energy trajectory by using the same calculation method as the first feature vector, and the dimension of the sample feature vector is the same as the dimension of the first feature vector.
The specific process of calculating the feature vector of the sub-energy trajectory and obtaining the first feature vector corresponding to the sub-energy trajectory is as follows:
when the current sliding window is located at the starting point of the initial energy track, that is, when the sub-energy track in the sliding window is the first sub-energy track, the calculation process of the first feature vector corresponding to the sub-energy track of the current sliding window specifically includes:
equally dividing the sub-energy tracks in the current sliding window into DNEach energy track set comprises l sampling points, and the sampling value corresponding to each sampling point is NIndicating, e.g. the sampling value of the ith sample point is denoted as Ni
Accumulating and calculating the sampling values corresponding to all the sampling points in each energy track set to obtain a first characteristic value corresponding to each energy track set, wherein the calculation formula of the first characteristic value of the energy track set corresponding to the first sub-energy track is as follows:
Figure GDA0003495180420000111
wherein beta is1,jAnd representing a first characteristic value of a j-th energy track set corresponding to the first sub-energy track.
After first eigenvalues corresponding to all energy track sets of the first sub-energy track are obtained through calculation according to the calculation formula, dimension mapping is conducted according to a preset mapping rule, the first eigenvalue corresponding to each energy track set is mapped to a dimension value of a corresponding dimension in the first eigenvector, and the first eigenvector corresponding to the first sub-energy track is obtained.
The sample feature vector is calculated in the same manner as the first feature vector of the first sub-energy track mentioned above, the feature value of each dimension of the sample feature vector can be represented by α, and the feature value of the jth dimension in the sample feature vector
Figure GDA0003495180420000112
And M is a sampling value corresponding to the sampling point in the sample energy track section, the obtained sample characteristic vector can be used as a judgment standard and is compared with the obtained first characteristic vector to determine a target energy track, namely the energy track generated when the equipment to be analyzed runs the cryptographic algorithm is determined in the initial energy track.
When the sliding window is stepped by 1 step length and starts to slide from the starting point of the initial energy track, that is, the energy track in the current sliding window is the second sub-energy track, the first characteristic value corresponding to each energy track set of the second sub-energy track is according to each energy track of the first sub-energy trackUpdating the first characteristic value corresponding to each energy track set, namely, according to a formula beta2,j=β1,j-N1+N1+jUpdating the first characteristic values corresponding to each energy track set of the second sub-energy track without performing accumulation calculation on the sampling values of all sampling points of each energy track set in the second sub-energy track;
when the sliding window performs subsequent sliding with the step length of 1, determining the energy track in the current sliding window as the ith sub-energy track, wherein the calculation process of the first characteristic value corresponding to each energy track set of the ith sub-energy track is similar to that of the second sub-energy track, and only the formula beta needs to be updatedi,j=βi-1,j-Ni-1+(j-1)*l+Ni-1+j*lUpdating each first characteristic value of the (i-1) th sub-energy track without performing accumulation calculation on the sampling values of all sampling points in each energy track set in the ith sub-energy track, wherein it needs to be noted that when the sliding window slides, each first characteristic value of the previous sub-energy track of the sub-energy track in the sliding window is updated according to a preset updating formula without performing accumulation calculation on the sampling values corresponding to all sampling points in the sub-energy track, so that the calculation amount is reduced, and the calculation speed requirement for realizing acquisition and identification positioning can be met.
By applying the energy track extraction method provided by the embodiment of the invention, the eigenvector corresponding to the sub-energy track in the current sliding window is calculated, if the sub-energy track in the current sliding window is the first sub-energy track, the sampling values corresponding to the sampling points in each energy track set corresponding to the sub-energy track are accumulated to obtain the first eigenvalue corresponding to each energy track set, if the sub-energy track in the current sliding window is not the first sub-energy track, each first eigenvalue of the previous sub-energy track of the sub-energy track is only required to be updated by a preset updating formula to obtain each first eigenvalue of the sub-energy track, each first eigenvalue is mapped to the dimension value of each dimension of the first eigenvector, the dimension of the first eigenvector is the same as the number of the energy track sets in the window, the sub-energy track is represented by the multi-dimensional characteristic vector, when the first characteristic value is calculated, the sub-energy track in the sliding window is divided through a preset dividing mode, the dimension reduction of the energy track containing a plurality of sampling points in the current sliding window is realized, the characteristic value calculation process is simplified, the window is slid by the time complexity of o (1), the first characteristic vector is updated, and the calculation speed of the first characteristic vector is accelerated.
In the embodiment of the present invention, the obtaining of the first feature distance between the first feature vector and the preset sample feature vector in step S103 disclosed in fig. 1 includes the following steps:
calculating a difference value between the first characteristic value of each dimension in the first characteristic vector and the characteristic value of the corresponding dimension in a preset sample characteristic vector to obtain a difference value corresponding to each first characteristic value;
performing square operation on the difference value corresponding to each first characteristic value, and performing accumulation operation on the difference value of each first characteristic value after square operation to obtain an accumulated value;
and carrying out an evolution calculation on the accumulated value to obtain a first feature distance between the first feature vector and the sample feature vector.
In the method provided by the embodiment of the invention, after the first eigenvector corresponding to the sub-energy trajectory in the current sliding window is obtained through calculation, the difference value between the first eigenvalue of each dimension of the sub-energy trajectory and the corresponding dimension in the preset sample eigenvector is calculated, and the difference value corresponding to each first eigenvalue is obtained. The calculation formula of the difference value corresponding to the first characteristic value is as follows:
ji,j)
wherein alpha isjIs the eigenvalue of j dimension of the sample eigenvector, betai,jThe first eigenvalue of the j dimension of the first eigenvector corresponding to the ith sub-energy track.
And finally, performing evolution operation on the accumulated value to obtain a first characteristic distance between the first characteristic vector and the sample characteristic vector. Namely, the calculation formula of the first feature distance between the first feature vector and the sample feature vector is as follows:
Figure GDA0003495180420000131
wherein L isiAnd obtaining a first characteristic distance between a first characteristic vector corresponding to the ith sub-energy track and a sample characteristic vector, wherein N is the dimension of the first characteristic vector and the sample characteristic vector, and the value of N corresponds to the number of energy track sets of the current sub-energy track.
When the method provided by the embodiment of the invention is applied, when the first characteristic distance between the first characteristic vector and the sample characteristic vector is calculated, firstly, the difference value between the first characteristic value of each dimension in the first characteristic vector and the characteristic value of the corresponding dimension in the preset sample characteristic vector is calculated, and the difference value corresponding to each first characteristic value is obtained; then, performing square operation on the difference value corresponding to each first characteristic value, and performing accumulation operation on the difference value of each first characteristic value after square operation; and finally, performing evolution calculation on the difference value of the first characteristic value after accumulation operation to obtain a first characteristic distance between the first characteristic vector and the sample characteristic vector, and completing extraction of the first characteristic vector on the whole initial energy track and calculation of the first characteristic distance in the time complexity of o (n) through a time complexity sliding window of o (1) and updating of the first characteristic vector, thereby realizing the calculation speed requirement of identification and positioning while acquisition.
The above embodiment of the present invention, the acquiring of the initial energy trajectory in step S101 disclosed in fig. 1, includes the following steps:
collecting an energy signal;
and performing analog-to-digital conversion on the energy signal, and performing filtering processing on the energy signal after the analog-to-digital conversion to obtain an initial energy track corresponding to the energy signal.
In the method provided by the embodiment of the invention, when the initial energy track is obtained, firstly, the energy signal of the device to be analyzed is collected at a certain sampling rate, then, the obtained energy signal is subjected to analog-to-digital conversion, and the energy signal subjected to the analog-to-digital conversion is subjected to filtering processing to obtain the initial energy track corresponding to the energy signal, so that the accurate initial energy track is provided for the subsequent process.
After the step S104 disclosed in fig. 1 of the above embodiment of the present invention determines the intercepted energy trajectory as the target energy trajectory, the method further includes the following steps:
and storing the target energy track.
In the method provided by the embodiment of the invention, after the intercepted energy track is determined as the target energy track, the determined target energy track can be further stored, and only the effective target energy tracks are stored, so that a large amount of calculation cost and storage space cost are saved.
An embodiment of the present invention further provides an energy trajectory extraction system, a schematic structural diagram of which is shown in fig. 4, and the energy trajectory extraction system specifically includes:
the system comprises an acquisition module 301, an oscillography shaping module 302, an extraction module 303 and a storage module 304;
the acquisition module 301 is connected to the storage module 304 sequentially through the oscillography shaping module 302 and the extraction module 303;
the acquisition module 301 is configured to acquire an energy signal of an external device to be analyzed, and transmit the energy signal to the oscillography shaping module 302;
the oscillography shaping module 302 is configured to perform analog-to-digital conversion on the energy signal, perform filtering processing on the energy signal after the analog-to-digital conversion to obtain an initial energy trajectory corresponding to the energy signal, and transmit the initial energy trajectory to the extraction module 303;
an extracting module 303, configured to invoke a preset sliding window, slide from a start point of the initial energy trajectory to an end point of the initial energy trajectory by a preset step length, sequentially divide the initial energy trajectory into a plurality of sub-energy trajectories, and perform a first operation on each divided sub-energy trajectory, where the first operation includes: calculating a feature vector of the sub-energy track, obtaining a first feature vector corresponding to the sub-energy track, obtaining a first feature distance between the first feature vector and a preset sample feature vector, and storing the first feature distance into a pre-constructed distance set;
recording the initial coordinates and the track lengths of the sub-energy tracks corresponding to the target characteristic distances in the distance set, intercepting the energy tracks corresponding to the recorded initial coordinates and track lengths from the initial energy tracks according to the recorded initial coordinates and track lengths, determining the intercepted energy tracks as target energy tracks, and transmitting the target energy tracks to the storage module 304; the target characteristic distance is a first characteristic distance of which the distance value in the distance set is smaller than a preset distance threshold;
a storage module 304, configured to store the target energy trajectory transmitted by the extraction module 303.
In the energy track extraction system provided by the embodiment of the invention, the oscillography shaping module is used for carrying out signal processing on the energy signal of the external equipment to be analyzed, which is acquired by the acquisition module, and outputting the initial energy track, the extraction module is used for extracting the energy track generated when the initial energy track comprises a password and runs, and the extracted energy track is used as a target energy track and is transmitted to the storage module for storage. The process of extracting the energy track generated when the initial energy track comprises the password in the initial energy track by the extraction module is as follows: in an initial energy track, sliding from a starting point to an end point of the initial energy track by a preset step length, sequentially dividing the initial energy track into a plurality of sub-energy tracks, calculating a characteristic vector of the sub-energy track in a sliding window when the sliding window slides each time, obtaining a first characteristic vector corresponding to the sub-energy track, calculating a first characteristic distance between the first characteristic vector and a preset sample characteristic vector, judging whether the obtained first characteristic distance is smaller than a preset distance threshold value, recording a starting coordinate and a track length of the sub-energy track when the obtained first characteristic distance is smaller than the preset distance threshold value, intercepting the energy track corresponding to the recorded starting coordinate and track length from the initial energy track according to the recorded starting coordinate and track length, and determining the intercepted energy track as a target energy track; by applying the energy track extraction system in the side channel analysis provided by the embodiment of the invention, a worker can acquire the energy track generated when the equipment to be analyzed runs the cryptographic algorithm without searching for the trigger pin or setting a corresponding trigger signal.
Based on the energy trajectory extraction system provided in the foregoing embodiment, a specific structure of the extraction module 303 is shown in fig. 4, and may specifically include:
a first feature vector extraction unit 401, a feature vector comparison unit 402, and an extraction unit 403;
one end of the first feature vector extraction unit 401 is connected with the oscillography shaping module, the other end of the first feature vector extraction unit is connected to one end of the extraction unit 403 through the feature vector comparison unit 402, and the other end of the extraction unit 403 is connected with the storage module;
a first feature vector extraction unit 401, configured to invoke a preset sliding window, slide from a start point of the initial energy trajectory to an end point of the initial energy trajectory by a preset step length, sequentially divide the initial energy trajectory into a plurality of sub-energy trajectories, and perform a third operation on each divided sub-energy trajectory, where the third operation includes: dividing the sub-energy tracks according to a preset dividing mode to obtain a plurality of energy track sets corresponding to the sub-energy tracks, calculating the sum of sampling values corresponding to all sampling points in each energy track set to obtain a first characteristic value corresponding to each energy track set, performing dimension mapping on the first characteristic value corresponding to each energy track set according to a preset mapping rule to obtain a first characteristic vector corresponding to the sub-energy tracks, and transmitting the first characteristic vector to the characteristic vector comparison unit 402;
a feature vector comparison unit 402, configured to calculate a first feature distance between the first feature vector and a preset sample feature vector, store the first feature distance into a pre-constructed distance set, and transmit the distance set to the extraction unit 403;
an extracting unit 403, configured to record a start coordinate and a track length of a sub-energy track corresponding to each target feature distance in the distance set, intercept, from the initial energy track, an energy track corresponding to the start coordinate and the track length according to the recorded start coordinate and track length, and determine the intercepted energy track as a target energy track.
Based on the energy trajectory extraction system provided in the foregoing embodiment, a specific structure of the acquisition module 301, as shown in fig. 5, may specifically include:
a measuring resistor 501, a first power consumption acquisition probe 502, a second power consumption acquisition probe 503 and a differential amplifier 504;
the first end of the measuring resistor 501 is connected with an external power supply, and the second end is connected with an external device to be analyzed;
one end of the first power consumption acquisition probe 502 is in contact with the first end of the measuring resistor 501, and the other end of the first power consumption acquisition probe is connected with the first input end of the differential amplifier 504;
one end of a second power consumption acquisition probe 503 is in contact with the second end of the measuring resistor 501, and the other end of the second power consumption acquisition probe is connected with the second input end of the differential amplifier 504;
the output of the differential amplifier 504 is connected to the oscillometric shaping module.
Based on the energy trajectory extraction system provided in the above embodiment, as shown in fig. 5, the specific structure of the acquisition module 301 may further include:
a near field electromagnetic probe 601 and a low noise amplifier 602;
the near-field electromagnetic probe 601 is connected with the input end of the low noise amplifier 602 and is arranged at the close end of the external equipment to be analyzed;
the output of the low noise amplifier 602 is connected to the oscillometric shaping module.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in a plurality of software and/or hardware when implementing the invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The energy trajectory extraction method and system in side channel analysis provided by the present invention are described in detail above, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (6)

1. An energy trajectory extraction method in side channel analysis is characterized by comprising the following steps:
acquiring an initial energy track;
calling a preset sliding window, sliding from the starting point of the initial energy track to the end point of the initial energy track by a preset stepping step length, sequentially dividing the initial energy track into a plurality of sub-energy tracks, and executing a first operation on each divided sub-energy track, wherein the first operation comprises: calculating a feature vector of the sub-energy track, obtaining a first feature vector corresponding to the sub-energy track, obtaining a first feature distance between the first feature vector and a preset sample feature vector, and storing the first feature distance into a pre-constructed distance set;
recording the initial coordinates and the track length of the sub-energy tracks corresponding to the target characteristic distances in the distance set; the target characteristic distance is a first characteristic distance of which the distance value in the distance set is smaller than a preset distance threshold; the track length is the product of the length of the sliding window and a preset length expansion ratio;
according to the recorded initial coordinate and track length, intercepting an energy track corresponding to the recorded initial coordinate and track length from the initial energy track, and determining the intercepted energy track as a target energy track;
wherein the acquiring an initial energy trajectory comprises:
collecting an energy signal;
performing analog-to-digital conversion on the energy signal, and performing filtering processing on the energy signal after the analog-to-digital conversion to obtain an initial energy track corresponding to the energy signal;
wherein the calculating the feature vector of the sub-energy trajectory to obtain a first feature vector corresponding to the sub-energy trajectory includes:
dividing the sub-energy tracks into a plurality of energy track sets according to a preset track dividing mode; each energy track set comprises a plurality of sampling points;
performing a second operation on each of the sets of energy trajectories, the second operation comprising: calculating the sum of sampling values corresponding to all sampling points in the energy track set to obtain a first characteristic value corresponding to the energy track set;
performing dimension mapping on the first characteristic value corresponding to each energy track set according to a preset mapping rule to obtain a first characteristic vector corresponding to the sub-energy track;
the calculating the sum of the sampling values corresponding to all the sampling points in the energy track set to obtain a first characteristic value corresponding to the energy track set includes:
if the current energy track set belongs to a first sub-energy track, accumulating the sampling values of all sampling points in the current energy track set to obtain a first characteristic value corresponding to the current energy track set; the current energy track set refers to an energy track set currently used for calculating a first characteristic value;
if the current energy track set does not belong to the first sub-energy track, calculating the sum of sampling values of reference sampling points of the current energy track set according to a first characteristic value of the reference set, and adding the sum of the sampling values of the reference sampling points of the current energy track set to the sampling values of the sampling points in the current energy track set except the reference sampling points one by one to obtain a first characteristic value of the current energy track set; the reference set is an energy track set corresponding to the current energy track set in a previous sub-energy track of a sub-energy track to which the current energy track set belongs; the reference sampling points are sampling points of an overlapping region of a reference set and the current energy track set in the current energy track set.
2. The method of claim 1, wherein obtaining the first feature distance between the first feature vector and a preset sample feature vector comprises:
calculating a difference value between the first characteristic value of each dimension in the first characteristic vector and the characteristic value of the corresponding dimension in a preset sample characteristic vector to obtain a difference value corresponding to each first characteristic value;
performing square operation on the difference value corresponding to each first characteristic value, and performing accumulation operation on the difference value of each first characteristic value after square operation to obtain an accumulated value;
and carrying out an evolution calculation on the accumulated value to obtain a first feature distance between the first feature vector and the sample feature vector.
3. The method of claim 1, wherein after determining the truncated energy track as the target energy track, further comprising:
and storing the target energy track.
4. An energy trajectory extraction system in side channel analysis, comprising:
the system comprises an acquisition module, an oscillography shaping module, an extraction module and a storage module;
the acquisition module is connected to the storage module sequentially through the oscillography shaping module and the extraction module;
the acquisition module is used for acquiring energy signals of external equipment to be analyzed and transmitting the energy signals to the oscillography shaping module;
the oscillography shaping module is used for carrying out analog-to-digital conversion on the energy signals, carrying out filtering processing on the energy signals after the analog-to-digital conversion to obtain initial energy tracks corresponding to the energy signals, and transmitting the initial energy tracks to the extraction module;
the extraction module is configured to invoke a preset sliding window, slide from a start point of the initial energy trajectory to an end point of the initial energy trajectory by a preset step length, sequentially divide the initial energy trajectory into a plurality of sub-energy trajectories, and perform a first operation on each divided sub-energy trajectory, where the first operation includes: calculating a feature vector of the sub-energy track, obtaining a first feature vector corresponding to the sub-energy track, obtaining a first feature distance between the first feature vector and a preset sample feature vector, and storing the first feature distance into a pre-constructed distance set;
recording the initial coordinates and the track lengths of the sub-energy tracks corresponding to the target characteristic distances in the distance set, intercepting the energy tracks corresponding to the recorded initial coordinates and track lengths from the initial energy tracks according to the recorded initial coordinates and track lengths, determining the intercepted energy tracks as target energy tracks, and transmitting the target energy tracks to the storage module; the target characteristic distance is a first characteristic distance of which the distance value in the distance set is smaller than a preset distance threshold;
the storage module is used for storing the target energy track transmitted by the extraction module;
wherein the extraction module comprises:
the device comprises a first feature vector extraction unit, a feature vector comparison unit and an extraction unit;
one end of the first characteristic vector extraction unit is connected with the oscillography shaping module, the other end of the first characteristic vector extraction unit is connected to one end of the extraction unit through the characteristic vector comparison unit, and the other end of the extraction unit is connected with the storage module;
the first feature vector extraction unit is configured to invoke a preset sliding window, slide from a start point of the initial energy trajectory to an end point of the initial energy trajectory by a preset step length, sequentially divide the initial energy trajectory into a plurality of sub-energy trajectories, and perform a third operation on each divided sub-energy trajectory, where the third operation includes: dividing the sub-energy tracks according to a preset dividing mode to obtain a plurality of energy track sets corresponding to the sub-energy tracks, calculating the sum of sampling values corresponding to all sampling points in each energy track set to obtain a first characteristic value corresponding to each energy track set, performing dimension mapping on the first characteristic value corresponding to each energy track set according to a preset mapping rule to obtain a first characteristic vector corresponding to the sub-energy tracks, and transmitting the first characteristic vector to the characteristic vector comparison unit;
the feature vector comparison unit is configured to calculate a first feature distance between the first feature vector and a preset sample feature vector, store the first feature distance into a pre-constructed distance set, and transmit the distance set to the extraction unit;
the extracting unit is configured to record the start coordinate and the track length of the sub-energy track corresponding to each target feature distance in the distance set, intercept an energy track corresponding to the start coordinate and the track length from the initial energy track according to the recorded start coordinate and track length, and determine the intercepted energy track as a target energy track.
5. The system of claim 4, wherein the acquisition module comprises:
the power consumption measuring device comprises a measuring resistor, a first power consumption acquisition probe, a second power consumption acquisition probe and a differential amplifier;
the first end of the measuring resistor is connected with an external power supply, and the second end of the measuring resistor is connected with external equipment to be analyzed;
one end of the first power consumption acquisition probe is contacted with the first end of the measuring resistor, and the other end of the first power consumption acquisition probe is connected with the first input end of the differential amplifier;
one end of the second power consumption acquisition probe is contacted with the second end of the measuring resistor, and the other end of the second power consumption acquisition probe is connected with the second input end of the differential amplifier;
and the output end of the differential amplifier is connected with the oscillography shaping module.
6. The system of claim 4, wherein the acquisition module comprises:
a near-field electromagnetic probe and a low noise amplifier;
the near-field electromagnetic probe is connected with the input end of the low-noise amplifier and is arranged at the close end of the external equipment to be analyzed;
and the output end of the low-noise amplifier is connected with the oscillography shaping module.
CN201910462530.0A 2019-05-30 2019-05-30 Energy track extraction method and system in side channel analysis Active CN112019320B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910462530.0A CN112019320B (en) 2019-05-30 2019-05-30 Energy track extraction method and system in side channel analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910462530.0A CN112019320B (en) 2019-05-30 2019-05-30 Energy track extraction method and system in side channel analysis

Publications (2)

Publication Number Publication Date
CN112019320A CN112019320A (en) 2020-12-01
CN112019320B true CN112019320B (en) 2022-04-19

Family

ID=73500902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910462530.0A Active CN112019320B (en) 2019-05-30 2019-05-30 Energy track extraction method and system in side channel analysis

Country Status (1)

Country Link
CN (1) CN112019320B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103199983A (en) * 2013-01-31 2013-07-10 国家密码管理局商用密码检测中心 N-order local area power model in side channel power analysis and application thereof
CN107247961A (en) * 2017-05-10 2017-10-13 西安交通大学 A kind of trajectory predictions method of application blurring trajectorie sequence
CN104796250B (en) * 2015-04-11 2018-05-25 成都信息工程学院 The side-channel attack method realized for rsa cryptosystem algorithm M-ary
CN108242994A (en) * 2016-12-26 2018-07-03 阿里巴巴集团控股有限公司 The treating method and apparatus of key
CN108964914A (en) * 2017-05-17 2018-12-07 中国科学技术大学 The SM2 dot product framework of preventing side-channel attack
CN109214176A (en) * 2018-09-06 2019-01-15 成都三零嘉微电子有限公司 A kind of side channel signal preprocess method based on domain analysis in short-term
CN109257160A (en) * 2018-12-05 2019-01-22 电子科技大学 A kind of side channel template attack method based on decision tree

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10873458B2 (en) * 2016-04-28 2020-12-22 Arnold G. Reinhold System and method for securely storing and utilizing password validation data

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103199983A (en) * 2013-01-31 2013-07-10 国家密码管理局商用密码检测中心 N-order local area power model in side channel power analysis and application thereof
CN104796250B (en) * 2015-04-11 2018-05-25 成都信息工程学院 The side-channel attack method realized for rsa cryptosystem algorithm M-ary
CN108242994A (en) * 2016-12-26 2018-07-03 阿里巴巴集团控股有限公司 The treating method and apparatus of key
CN107247961A (en) * 2017-05-10 2017-10-13 西安交通大学 A kind of trajectory predictions method of application blurring trajectorie sequence
CN108964914A (en) * 2017-05-17 2018-12-07 中国科学技术大学 The SM2 dot product framework of preventing side-channel attack
CN109214176A (en) * 2018-09-06 2019-01-15 成都三零嘉微电子有限公司 A kind of side channel signal preprocess method based on domain analysis in short-term
CN109257160A (en) * 2018-12-05 2019-01-22 电子科技大学 A kind of side channel template attack method based on decision tree

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Differential Power Analysis Resistant Hardware Implementation of The RSA Cryptosystem;Keklik Alptekin Bayam and Berna Ors;《IEEE》;20080613;全文 *
侧信道攻击通用框架设计及应用;王庆, 屠晨阳, 沈嘉荟;《信息网络安全》;20170510;全文 *
免触发信号的侧信道加解密区间定位方法;戴立,胡红钢;《信息网络安全》;20190310;全文 *

Also Published As

Publication number Publication date
CN112019320A (en) 2020-12-01

Similar Documents

Publication Publication Date Title
CN106683680B (en) Speaker recognition method and device, computer equipment and computer readable medium
CN105787104B (en) Method and device for acquiring user attribute information
CN108959004B (en) Disk failure prediction method, device, equipment and computer readable storage medium
JP7270617B2 (en) Pedestrian flow rate funnel generation method and device, program, storage medium, electronic device
Fernandez-Lopez et al. Optimizing resources on smartphone gait recognition
Cholewa et al. Estimation of the number of states for gesture recognition with Hidden Markov Models based on the number of critical points in time sequence
CN112613584A (en) Fault diagnosis method, device, equipment and storage medium
US9317887B2 (en) Similarity calculating method and apparatus
WO2018082080A1 (en) Pressure detection method and device
CN111191601A (en) Method, device, server and storage medium for identifying peer users
CN113827240B (en) Emotion classification method, training device and training equipment for emotion classification model
CN112019320B (en) Energy track extraction method and system in side channel analysis
CN104216940B (en) Retrieval facility and search method
CN109525339A (en) Frequency spectrum sensing method, device, equipment and the storage medium of cognitive radio
Rodda et al. Apparent translational component for rotational ground motions
KR101875472B1 (en) Finger language recognition system and method
CN116580702A (en) Speech recognition method, device, computer equipment and medium based on artificial intelligence
CN113035230B (en) Authentication model training method and device and electronic equipment
Wang et al. Hallucination detection for generative large language models by bayesian sequential estimation
Emrich et al. Accelerated Sample-Accurate R-Peak Detectors Based on Visibility Graphs
Zhou et al. Pre-classification based hidden Markov model for quick and accurate gesture recognition using a finger-worn device
CN108763050A (en) A kind of detection method and device of application memory leakage
CN109783745B (en) Method, device and computer equipment for personalized typesetting of pages
KR20130056170A (en) Real-time detection method of human abnormality using motion sequence and apparatus thereof
CN113113051A (en) Audio fingerprint extraction method and device, computer equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant