Skip to main content
PLOS One logoLink to PLOS One
. 2021 Dec 23;16(12):e0261431. doi: 10.1371/journal.pone.0261431

A dual mode self-test for a stand alone AES core

Fakir Sharif Hossain 1,*,#, Taiyeb Hasan Sakib 2, Muhammad Ashar 3, Rian Ferdian 4,#
Editor: Gulistan Raja5
PMCID: PMC8699703  PMID: 34941912

Abstract

Advanced Encryption Standard (AES) is the most secured ciphertext algorithm that is unbreakable in a software platform’s reasonable time. AES has been proved to be the most robust symmetric encryption algorithm declared by the USA Government. Its hardware implementation offers much higher speed and physical security than that of its software implementation. The testability and hardware Trojans are two significant concerns that make the AES chip complex and vulnerable. The problem of testability in the complex AES chip is not addressed yet, and also, the hardware Trojan insertion into the chip may be a significant security threat by leaking information to the intruder. The proposed method is a dual-mode self-test architecture that can detect the hardware Trojans at the manufacturing test and perform an online parametric test to identify parametric chip defects. This work contributes to partitioning the AES circuit into small blocks and comparing adjacent blocks to ensure self-referencing. The detection accuracy is sharpened by a comparative power ratio threshold, determined by process variations and the accuracy of the built-in current sensors. This architecture can reduce the delay, power consumption, and area overhead compared to other works.

1 Introduction

Advanced Encryption Standard, the short form is AES, is the world’s most secured cryptographic algorithm established by Rijmen and Demon and got approval by NIST, US in 2001 [1]. Numerous crypt-analytical attacks such as brute-force, Linear crypt-analysis, differential crypt-analysis, etc., are failed to display a potential threat for the security of the AES [2]. For example, a brute force attack is a potential threat to retrieve the plaintext by reading the number of rounds in AES [3]. The AES-128 cryptography system provides an approximated time frame of one billion years to mount a brute force attack to retrieve the plane text. Due to this impressive security potentiality of AES, it is being used in various emerging applications, either in software or hardware implementations. Hardware implementation of the algorithm offers higher security and speed than that of its software implementation. Due to enormous speed and security performances, now a lot of research for hardware realization of the AES cryptoprocessor is reported in the literature [413]. Some of the researches focus on hardware resource optimization [46], while some other on speed optimization [79] and some other on power consumption optimization [1013]. A very few works on built-in-self-test (BIST) has reported in literature [1418]. Some of them focus on-chip test pattern generation on detecting circuit aging [1416], and some other structures detect Trojans [17, 18]. The testability and hardware Trojans are two major concerns that make the AES chip complex and vulnerable. The problem of testability in the complex AES chip is not addressed yet, and also, the hardware Trojan is a significant security threat that can leak secret key information easily if the hardware is compromised. Hardware Trojans are the manipulation or insertion of some extra transistors in a chip which can result in information leaking from the AES chip [19]. The research motivation of this work is to facilitate the BIST implementation in AES cryptography processors in terms of testability and hardware security domain. From a testability perspective, the on-chip BIST structure can significantly reduce the test cost with extra hardware and performance overhead. There is a great concern of hardware-based attacks from the security domain, like hardware Trojans in recent state-of-the-art. The AES chip is vulnerable to hardware Trojan attacks, as some significant research displayed. Therefore, the main purpose of this research is to address these problems by implementing a dual-mode BIST technique into the AES chip to address the testability issues and analyze the overhead of area, delay, and power.

Testing chips is a rigorous process and very costly due to Automatic Test Equipment (ATE) involvement. For years chip manufactures have been complaining about the increasing testing cost against ATE vendors [20]. Therefore, researchers are trying to find an alternative solution to reduce the test cost. The System-on chips (SoC) is one of the optimized solutions reducing the test cost. Software-based self-test is one kind of SoC testing that facilitates testing on-chip [21]. On-chip testing is becoming a widespread practice for the chip designer to reduce the test cost by eliminating the use of ATE. If a chip itself has embedded test equipment, it can reduce the cost of expensive testing externally. Software-based self-test (SBST) is an on-chip testing facility to test the chip with built-in test devices and also facilitates the advantages of online tests [2124]. A chip may fall in defects in operation, or its performance can be deteriorated or aged with time going on. SBST architecture can perform a routine test to deliver the healthy chip with its internal circuitry.

Numerous SBST structures are in practice in many industrial chips [2530]. In this work, we propose a dual-mode self-test (DMST) architecture to test the AES cryptography chip in two phases: hardware Trojans test at the post-manufacturing stage and routine fault testing after deployment chip in the device. It is the first attempt to propose a stand-alone AES core that can detect both faults and Trojans to the best of our knowledge. Our proposed approach facilitates identifying Trojans in manufacturing tests and identifies faults while the chip is in operation.

Proposed DMST rests on a power side-channel analysis-based self-referencing architecture that can identify manufacturing defects and Trojans. Circuit partitioning, adjacent blocks comparison, process variations, and environment noises are considered design-for-security states. We choose power side-channel over logic testing as the logic testing approaches require a particular pattern sequence to identify the effect of logic failure. Generating such a test vector set is challenging since the number of combinations is very high [3133]. On the other hand, there is an absolute advantage of using side-channel analysis. Faults or Trojans’ presence inside an integrated circuit (IC) causes specific distortion, affecting side-channel parameters like power, delay, and electromagnetic wave. Analyzing these effects can identify defects or malicious effects where complete triggering is not required. However, an excessive number of noises like process variations, sensor accuracy, environmental noise, etc., prevents identification. Among these, process variation is particularly a severe problem and a natural phenomenon that unavoidably arises during the manufacturing process of ICs. Due to process variations, transistor parameters deviate from their nominal values, resulting in false-positive outcomes.

To deal with the process variations, we propose a comparative power ratio (CPR) threshold, determined by process variations and sensor accuracy of our proposed built-in current sensors (BICS). It may not be possible to set the threshold value as null as there always are noises that exist. The CPR threshold parameter is considered to identify these noises. The proposed DMST approach works by partitioning the AES-128 circuit into small blocks, activating each block by several selected transition delay test patterns (TDPs), and meeting an equal power consumption to adjacent blocks to ensure self-referencing. Self-referencing is ensured by identifying a pair of test patterns denoted as PEAB (power-equal adjacent block) pairs that consume equal power in their respective adjacent blocks. The proposed DMST method needs to overcome several challenges such as test set, detection particulars, process variations, sensor accuracy, area overhead, and power consumption.

The concept of partitioning a circuit builds on our previous approach [34] that shows a more realistic clock tree-driven partitioning technique. A clock tree-defined circuit partitioning ensures a minimal hardware overhead to deliver self-referencing to eliminate the inter-chip variation effect. An augmented pattern set that provides n-detection and virtual observation point (VOP) insertion with adjacent block referencing delivers reduced intra-chip systematic and random variation effects and increases fault coverage. The proposed architecture is based on a scan-based self-test where test patterns are applied through scan chains to activate each block individually to measure the power value. Each time a single block gets activated and the remaining blocks keep frozen, the power consumption is reduced significantly. The proposed DMST architecture consists of design-for-testability and design-for-security features. The contributions of this work are:

  • to introduce the concept of dual-mode built-in-self-test technique in designing the AES Crypto-processor chip for detecting Trojans and manufacturing faults. The idea is new and not reported in the literature yet.

  • parametric measurement performed by embedding current sensors near multiple power rails to determine the power consumption by a partition’s activated cells individually. power consumption optimization by activating a single partition while keeping others frozen.

  • variation aware equal power consuming partitions pair to minimize the effect of on-chip process variations.

  • transition delay fault patterns calibrated with virtual test point insertion to deliver 100% fault coverage.

  • proposal of two testing modes: the first is in the test mode to identify Trojans once after fabrication, and the second is for the online self-test mode through scan chains.

  • optimized design to deliver minimal hardware overhead and less power consumption.

The remaining sections of this paper are presented in the following manner. Next Section-2 describes the AES algorithm and a general DMST architecture. A relation between process variation and power is considered with a literature review on fault identification with the Trojan detection technique. The proposed DMST architecture is presented in Section 3, and experimental results are shown in Section 4. Finally, the work is concluded in Section 5.

2 AES DMST and process variation

2.1 AES algorithm

Vincent Rijmen and Joen Daemen developed an advanced Encryption Standard (AES) or Rijndael algorithm. The algorithm was a derivation of the block cipher family. In 2001, the Rijndael algorithm was submitted as an entry to the National Institute of Standards and Technology’s (NIST) competition to select an Advanced Encryption Standard (AES) to replace Data Encryption Standard (DES). Rijndael won the battle, and NIST officially selected the 128, 192, and 256-bit versions of Rijndael as the Advanced Encryption Standard.

The AES has two main processes, the encryption process, and the cipher key scheduling process. The encryption has four sub-processes, which are subByte, shiftRows, mixColumns, and addRoundKey. The subByte substitutes each byte from the input data into a new byte from a pre-generate lookup table. Furthermore, shiftRows cyclically shift the last three rows of the previous step state in a certain number of shifts. The mixColumns then combines every four of the previous state data by utilizing a Galois Field Matrix multiplication. The addRoundKeys performs a bitwise XOR process between the data state and the obtained round keys.

The second process in the AES is scheduling the chipper key by performing an XOR operation between the current state of the cipher key with round constants (rCon). In AES, the cipher key is an array of 32 bits. The round constant is obtained from the first column of the current state cipher key array. This column is shift rotated then non-linear transformed in subByte operation. However, the AES still considered having a detailed Keyschedule and basic encryption operations. Many attacks are stringent upon this property. On the mentioned bit versions of the AES, 128-bit is focused on this work. Understanding this version may provide the necessary background to understand other versions as well.

2.2 AES DMST

A built-in self-test or BIST is a structural test method that adds logic to an IC, which allows the IC to test its operation periodically. BIST allows ICs to test themselves with onboard testers. In conventional BIST, one defect in the circuit can affect thousands of test vector outputs. Therefore, the main challenge is to detect the exact fault location in the IC from thousands of signature test responses. The dual-mode self-test (DMST) is a promising method to overcome the fault detecting problem. DMST is a technique to detect the fault location by acquiring direct access to the circuit under test (CUT) nodes. The DMST technique can guarantee correct fault detection regardless of the number of errors in the test output vectors.

DMST localizes the Trojan detection into several blocks in an IC. Implementing DMST can minimize the complexity and improve the quality of translating the test vector, resulting in detecting the circuit irregularity. However, the DMST requires additional flip-flops to gain direct access to the IC blocks. The additional sub-circuit also affects the whole system area and power. Thus, the researchers have provided several results on reducing the number of flip-flops elements.

The general DMST structure can be seen in Fig 1. The linear feedback shift register (LFSR) is utilized to create signature input patterns for the CUT. The signature pattern here is explicitly designed to detect each node defect. Then N nodes in the CUT are directly connected to the scan flip-flop to record the response.

Fig 1. A general dual-mode self-test (DMST) structure.

Fig 1

2.3 Process variation in power side-channel

With the rapid growth of transistor scaling, modern ICs often suffer from elevated process variations. Side-channel parameters experiencing process variations always cause the fundamental IC properties to diverge from their nominal design specifications in random and systematic manners. Process variations are categorized into inter-chip systematic variation, intra-chip systematic variation, and random variation, and these affect side-channel signatures, including power and delay [35].

It is reported that process variation results in up to twenty times variation in standby leakage and around 30% in chip frequency in 180nm technology [36]. The breakdown of process variations in ring oscillator frequencies for 65nm technology is reported to be systematic 70% of inter-chip, 20% of intra-chip, and random 10% variations [37]. An experiment in real IC for 130nm technology showed that two cells within 1 or 2 m distance have a strong correlation in critical dimension. In contrast, cells have a low correlation if they are separated by over 10m [38].

There are two power sources, dynamic power, and leakage power. Leakage power is an important design consideration as it exponentially increases depending on device parameters, such as threshold voltage. Leakage powers from different chips distribute in a wide range of variation windows caused by inter-chip variation as reported in [39]. Though leakage power also depends on patterns, the same chip’s leakage powers keep the same trend of inter-die variation, and the variation window for one chip is much narrower than the variation window for different chips. Regarding dynamic power, it involves only switching cells. Inter-chip and intra-chip systematic variations affect dynamic power when more cells get switching. Oppositely, the standard deviation caused by random variations becomes small if more cells switch concurrently. When n cells switches, the standard deviation becomes σ/n for the standard variation σ of one cell. Therefore, if a sufficient number of cells switches, their random variation effects can cancel each other. However, it is the case where the same set of switching occurs in different chips. When multiple cells are switching, the more cells are switching, the more dynamic power is affected by variation if the cells have similar variation trends.

2.4 Related works

2.4.1 Parametric fault detection

Parametric fault detection is conveniently used for circuit testing to determine components’ catastrophic faults and fractional deviations from their nominal values. Traditional techniques of fault detection require checking performance parameters against tolerance ranges given by the designers [40]. These techniques take complex computation and significant time. Therefore, researchers proposed various parametric tests for fault detection among which mentionable are transfer function coefficients [41], input current waveform [42], network parameters [43] and polynomial coefficients of input voltage [44].

The probabilistic nature of faults under process variations is considered in parametric fault simulation in [45]. Parametric faults are mainly due to poor manufacturing control. For high-frequency systems, diagnostics for analog and digital parts require different methods. Hence, making the testability is difficult and limited. Structural testing is deployed to solve this problem [46]. The minimum node selection method to increase parametric fault detection efficiency is discussed in [47].

2.4.2 Power side-channel based hardware Trojan detection

Up until 2021, the presence of Hardware Trojans did not be detected in practical products [48]. However, researchers have defined several techniques to determine hardware Trojans to ensure future chip security. Detection of hardware Trojans is susceptible and requires testing before marketing. Power side-channel analysis is one of the potential detection techniques among numerous techniques. Trojan detection with IC fingerprints using power or temperature is earlier works [49]. Power consumption of the device under testing is measured and compared with a golden device to detect Trojans [48]. A related experiment was carried out with FPGA and oscilloscopes to detect Trojan employing power fluctuation [50]. Trojans are introduced below the noise power level of the device, and detection is based on power consumption level [51]. Power-based side-channel attack is studied in [52].

2.5 Self-test based fault and Trojan detection

DMST is a technique to localize the Trojan detection into several blocks in the AES chip. The implementation of DMST can minimize the complexity and improve the quality of translating the test vector results to detect the circuit’s irregularity. However, the DMST requires additional flip-flops to gain direct access to the AES partition. The additional sub-circuit also affects the whole system area and power. Thus, the researchers have provided several results on reducing the number of flip-flops elements [53].

Further development in the test vector set of DMST with pseudo-random numbers reduces the test’s deterministic pattern. It enables a lower number of flip-flops while improving the detection quality [54]. The compression technique was also introduced to lower the area of the required sub-circuit [55, 56]. There are some other proposals for reducing the energy requirement of the DMST circuit. The lower energy consumption in the test sub-circuit can be obtained by applying a clock disabling mechanism [57]. The DMST technique improvement also includes methods to reduce the test points and the testing time [58].

3 Proposed DMST architecture

A self-referencing method is proposed utilizing circuit partitioning and selecting variation-aware test patterns to measure the current of a single block and stored in a memory to compare with neighboring blocks. A clock tree-based circuit partitioning and transition-delay patterns are the main components for the current sensors to measure power values. The proposed power equal adjacent block (PEAB) pair consumes similar power to the neighboring partitions or blocks. Each block is activated through test patterns, and a gating clock controller freezes other blocks of the chip.

A variation-aware transition delay test pattern selection process is proposed to obtain Trojans and parametric defect-free AES chips. The test patterns set is variation-aware because a comparison of two adjacent blocks eliminates inter-chip and reduces intra-chip process variation effects. If a sufficient number of cells in a block can be activated applying test patterns, a reduced effect of intra-chip random variation can be achieved. PEAB pairs ensure a sufficient number of cells toggling to diminish intra-chip random variation effects.

3.1 Fault and threat models

Fault injection is a testing purpose to learn about system behavior under unusual stress on the system. Fault injection can perform virtually or in a real chip. The proposed method injects fault by changing the hardware in a chip, called hardware fault injection. In the case of hardware Trojans, it takes extra hardware inserting in a chip, which may consume excessive power consumption if activated. Hardware fault injection is introduced in two ways; hardware fault injection with contact and without contact as reported in [59]. This paper considers only internal fault injection and extra hardware insertion to evaluate the proposed approach.

A fault model is a group of faults where it considers various faults like permanent fault like stuck-at-fault, transition delay fault, aging fault, temperature fault, and some others. The assumption is that a fault may change the parametric value like power consumption of the faulty block of a chip and show deviation of power value compared to two adjacent blocks. Similarly, the proposed threat model is to insert some extra logical hardware into some blocks of a chip, and a power difference of two blocks may result in Trojan identification. It acknowledges that the common activation of a Trojan by two adjacent blocks may fail to deliver sufficient power, failing to detect.

The hardware Trojans are detected with self-referencing using PEAB pairs; however, it may be possible that the PEAB pairs can be created with Trojans already included. In this case, it may not be possible to detect the Trojans through power consumption measurement, although the parametric defect detection through self-test using the proposed architecture can be done normally. Even if the PEAB pairs are created through the simulation, it is not easy to guarantee that the simulation is performed on a Trojan-free golden circuit. Therefore, we consider the AES-128 circuit netlist from TrustHub [60] as a trusted and golden netlist. All the simulations are performed on the golden netlist of the AES-128.

3.2 Overview

Parametric defects and Trojans are detected in power equal adjacent block self-referencing approach if a sufficient power difference can be measured in two adjacent blocks. As the PEAB pairs are power equal, an adequate difference in power values can identify parametric defects or Trojan inserted. Although there is no defect or Trojan in the chip, it may have false positive detection because of a significant power difference. This false positive is due to process variations. The proposed method identified this level of process variation and termed it as a variation threshold. The variation threshold ensures the minimum power difference value from the process variation below which PEAB pairs cannot identify the chip as faulty. Process characteristics set the threshold.

The proposed approach signifies the idea of circuit partitioning utilizing the clock tree of the circuit. We select a set of Launch-on-Capture (LOC) transition patterns so that it delivers power equal blocks in a pair to perform self-referencing. For a clear understanding, some terminologies are provided that are used throughout this paper.

  • Node: A node is a clock buffer in the clock tree. There are 50 end nodes in the AES circuit.

  • Block: A group of sequential elements or flip-flops connected to a clock node, see Fig 2.

  • Region: A set of cells activated by one block and a test pattern. A block is said to be a region if a set of both combinational and sequential cells are activated simultaneously by test patterns through scan chains. The scan flip-flops create a virtual boundary of activated cells after applying a test pattern. Therefore, a set of test patterns applying to a single node while keeping other nodes gated delivers a virtual boundary for the node, which is termed as a region. Activating a single region by test patterns follows a one-hot criterion, thus activating one block per pattern while keeping remaining blocks frozen see Fig 2.

  • Adjacent blocks: Two blocks are adjacent if their sequential elements are located within a distance threshold. The distance threshold is measured by the geometric distance of flip-flops in the chip layout. The distance threshold value is kept sufficiently low so that the difference of dynamic power consumption due to the intra-chip process variation diminished significantly see Fig 2.

  • PEAB pair: Equal Power consuming test pattern pairs defined by a block ID and test pattern specification for each. The PEAB pair is a pair of tuples of a block and a test pattern. Let Bi and Bj be two blocks, and ti and tj be test patterns. A couple of two tuples (Bi, ti) and (Bj, tj) is a PEAB pair whose simulated power values when ti is applied to Bi and when tj is applied to Bj are almost identical see Fig 2.

Fig 2. Definition of nodes, adjacent blocks, region, distance threshold and PEAB pairs.

Fig 2

The proposed PEAB pair is generated from transition delay patterns in launch-on-capture mode by the ATPG tool. Patterns are selected by inserting virtual observation points (VOP)s in the circuit’s netlist, and 100% toggling is ensured through n-detect test. Selected PEAB pairs deliver numerous benefits. A PEAB pair compares two blocks in a chip. It eliminates the inter-chip variation effect, and a strong spatial correlation between adjacent blocks reduces the intra-chip systematic variation effect. Activation of a sufficient number of cells facilitates a reduced intra-chip random variation. These considerations can deliver a reduced variation threshold, thus significantly identifying defects and Trojans.

PEAB pair generation meets a sensitive detection under various noises. Fig 3 shows an overview of the proposed method. Circuit blocks are generated by selecting clock buffer or node in the clock [34]. PEAB pairs are generated through partitioned blocks and test patterns. Initial partitioned blocks are the primary set of pairs. This preliminary set is selected as the final one if it delivers sufficient toggling. Insufficient toggling is improved by inserting VOPs by ensuring each cell toggles. A sufficient toggling is further ensured by n-detect test.

Fig 3. Flowchart representation of the proposed PEAB pair generation.

Fig 3

Clock nodes are selected by applying test patterns into the netlist on balancing mean dynamic power across nodes. The circuit netlist and initial transition patterns are the candidates to select several nodes in the clock tree. If the mean dynamic power balancing does not ensure sufficient equality of blocks, shifting the flip-flop (FF) among adjacent blocks provides partitioned blocks’ adequateness. Gating hardware, interconnections, and reconnection of clock signals are added to the selected blocks. Clock signal reconnections require if FFs are shifted to balance blocks in power equality. Such shifting is realized by Engineering Changed Order (ECO) to have minimal impacts on the design.

In the design phase, analyzing the maximum number of partitions for a given netlist is performed. Based on the analysis, the clock gating controller circuit can be put into the design to gate several clock buffers in the clock tree. It synthesizes the netlist with the clock gating controller and determines the clock buffer position after the placement. After the clock tree is synthesized, some clock buffers can be modified to the clock gating controller option. It may change the connection of FFs to the clock tree by taking care of the position of FFs. Components can be added between the clock gating controller and the design. An ECO option is utilized to re-route the modified design to exhibit a minimum impact on clock signal routing.

3.3 Clock tree based circuit partitioning

3.3.1 Clock-tree partitioning

The partition algorithm is from the previous work [34]. A sample clock-tree is shown in Fig 4 to understand the partitioning algorithm. Assuming the clock tree has 23 clock nodes or buffers where R1 is the root buffer. The rectangular boxes indicate flip-flops. There are twelve leaf nodes of clock buffers where the FFs are connected directly.

Fig 4. The clock-tree partitioning algorithm that partitions clock nodes into blocks.

Fig 4

The clock-tree partitioning algorithm selects gating points in the clock-tree in a top-down tree traversal fashion. The clock tree with the number of clock nodes or buffers and the number of blocks are given as inputs. The function recursively determines gating points from the root of the clock tree. If the number of leaf nodes is less than a given number of blocks, the process assigns gating points to all the leaf nodes. If there are more leaf nodes, the number of children nodes are assigned to gating points based on their mean dynamic power values. Since the transient power when applying a pattern consists of dynamic power from an activated block and leakage power from an entire circuit, partitioning affects only dynamic powers.

If the number of required blocks is greater or equal to the number of clock nodes, the algorithm distributes gating points to the children according to their dynamic power values. Alternatively, if two or more gating points are assigned to one child, the algorithm recursively assigns gating points to a sub-clock tree rooted by the child. If the number of required blocks is less than the number of clock nodes, the algorithm selects children nodes using a bin-packing algorithm. Fig 4 displays that seven clock gating points are selected from the 23 clock nodes. Nodes N12 and N13 combine to a single node by a bin-packing algorithm. The red-colored circular nodes are selected as gating points in the clock tree.

3.3.2 Block selection

As mentioned above, the proposed PEAB pair generation blocks are selected through clock nodes in the clock tree from a given number of blocks in a chip. Transition delay fault patterns are applied to scan chains through a clock gating controller in such a fashion that a single clock node can get the clock signal where the remaining nodes under the same parent remain inactive. This pattern application activates several FFs in the chip; thus, it activates a group of combinational cells. A set of blocks is selected so that it can cover all FFs in a chip. The dynamic power consumption is considered for selecting blocks as the leakage power is similar for any node in the chip or independent of individual block power. Assuming n blocks are required for a given chip. If there are m clock nodes in the clock tree of the chip, a tree traversal algorithm is applied to select n nodes out of m clock nodes. The selected n nodes are the initial blocks measured by each block’s power consumption, while others remain inactive. If the initial blocks deliver much deviated mean power among blocks, FF shifting across adjacent blocks is performed to produce more balanced blocks.

3.3.3 Shifting FF across adjacent blocks

FF shifting is an iterative shifting of FFs happens by calculating the standard deviation until it accomplishes a preset least deviation factor to outline the mean power gap across blocks. The deviation factor is updated every time a FF shifts to the adjacent block. As the deviation factor may change with circuit attributes, a further shifting may keep the deviation factor constant. Such cases are terminated with a user-defined limit to obtain balanced blocks. The most deviated block is adjusted considering two cases: a FF with low mean power shifts out the nearest FF to the adjacent block for the maximum mean power; for the minimum mean power value of a block, the nearest FF with high mean power from the adjacent block is shifted in. Each iteration shifts one FF utilizing the geometric position of the FF in the layout. The shifting means reconnection of shifted FF to the new clock buffer. The impact of shifting in the circuit layout is minimized through ECO.

3.4 Test pattern selection

3.4.1 Test generation

The selected test pattern set ensures a minimum of a single transition of each cell. If any cell remains untoggled, a virtual test point insertion is proposed so that the minimum requirement of cell toggling can be met. The toggling sufficiency of PEAB pairs is further enhanced by generating n-detection tests repeatedly. The virtual observation points are inserted at the gate output, which does not toggle with ATPG patterns. The main role of inserting VOPs is to toggle cells that are not toggled with the ATPG patterns. Some faults may be undetectable, which means no patterns exist that can detect that particular fault. An undetectable fault is defined to be the case of no test pattern being able to simultaneously activate a fault and create a sensitized path to a primary output. VOPs are inserted at the output of untoggled gates and treated as fault sites. These VOPs force the ATPG to propagate transitions to outputs and increase the number of transitions or toggles. The VOP is temporarily inserted into the netlist for the sole purpose of generating test patterns by the ATPG, thus not requiring any extra hardware like test point insertion does, as can be seen in Fig 5.

Fig 5. VOPs insertion in untoggled cells or nets: (a) ATPG patterns can not sensitize net C, (b) VOP insertion can ensure the untoggled net C toggling.

Fig 5

An additional test pattern is selected if any additional cell is toggled at every iteration. Every time a new cell gets toggling is adopted as a new test pattern and included in the PEAB pairs set. In each repeated process, the number of transitions in the initial PEAB pairs set is checked. An additional test pattern generation step with a higher value of desired toggles is introduced if it gets insufficient toggling counts. The iteration process terminates after getting sufficient toggling or reaching some iteration limit.

3.4.2 Sufficient toggling

The selected PEAB pairs impose a minimum of 1-transition for each cell by inserting VOPs and n-detect test. The role of inserting VOPs is to toggle cells that are not toggled through the ATPG patterns. In general, an undetectable fault in a gate output corresponds not to toggle that gate. The undetectable fault is defined if no test set can simultaneously activate a fault and create a sensitized path to a primary output. To get a full test coverage, it is common to insert test points into circuits, which results in some hardware overhead. Test point insertion is a design constraint, and the overhead increases linearly for large circuits.

On the other hand, the VOP is a net connection between the output of an untoggled gate termed as fault sites and the output port of a circuit netlist. Through the VOP, it is possible to ensure toggle of the untoggled cell even if it can increase the number of toggles since the insertion cuts the amount of effort the ATPG involves to propagate a transition to the output port. No extra hardware cost is required as VOPs are temporarily inserted into the netlist for test generation purposes only. In the proposed technique, observation points are inserted into the netlist virtually to generate patterns. Suppose an output net i of a gate G in the original netlist cannot be toggled with ATPG patterns since no test exists for that gate. If it inserts an observation point temporarily in i by connecting i with the output port, the ATPG can generate test cases to toggling G. Such generated test patterns can apply to the original netlist without VOPs to ensure the toggling of that net i without any hardware cost like the test point insertion method.

3.5 Power equal blocks

Several power simulations are run with transition patterns to identify each equal power pair of patterns that corresponds to adjacent blocks. Its toggling sufficiency checks every iteration of generating PEAB pairs. If it can consider any block in the chip, the PEAB pair count increases compared to adjacent consideration. This limitation comes from the constraint of neighborliness consideration. The less count of pairs may reduce the toggling coverage for the entire pair set. This toggling insufficiency is compensated by running the n-detect test into the VOP inserted netlist. In each run, the n value is increased by one to get sufficient toggling. Only a subset of n-detect tests are used to select PEAB pairs.

3.6 Current sensors: Parametric measurement

The proposed detection technique is an on-chip measurement of the peak current of a block by placing 16 current sensors in the empty spaces so that they are near the power grid and can measure the sinking current from each block. In [61], multiple current sensors are placed in different empty spaces of segments near the power rail. We consider the similar placement but in a distributed way so that multiple adjacent blocks can share a single current sensor, and the systematic variation effect can be minimized while comparing the PEAB pairs. The layout of the AES chip with the proposed Built-in-Current Sensor (BICS) is shown in Fig 6. Sixteen current sensors are placed into the power rail’s empty spaces, thus delivering minimum hardware overhead. Red circular symbols represent the current sensors. As the AES chip is partitioned into 42 blocks, the clock gating controller has access to all blocks. The test controller can control all 42 gating nodes and 16 current sensors.

Fig 6. The layout of the AES chip with 16 current sensors.

Fig 6

The on-chip detection circuit consists of on-chip sensors, memory to store data, and power comparison hardware [62]. A sensor consists of an analog-to-digital (ADC) converter that converts the current sensor’s analog current value to digital bits. The ADC’s output power value is stored in a 22-bit memory unit for comparison with the power value of the target block. The ADC unit consists of 16 D-FFs and an operational amplifier. We designed an 8-bit comparator circuit comprised of 154 transistors. Fig 7 shows the hardware requirement for the proposed DMST approach. There are 16 current sensors embedded in the AES chip; each of them consists of 6 transistors. When a PEAB pair (tuples (Bi, ti) and (Bj, tj)) is applied to the adjacent blocks i and j, first, the dynamic switching current of block i is measured by the current sensor and converted to the power value and stores in the memory. Second, it measures the power value of the block j and stores it in the memory. The compactor circuit takes power values from the memory unit and calculates the CPR values. The measured power value is considered seven digits after decimal; therefore, we need 42 bits with two slots. At every operation, the data in the memory is replaced with a new one; thus, the memory size is reduced.

Fig 7. Self-referencing with built-in current sensors and memory hardware.

Fig 7

3.7 Design of test moods

The proposed method applies a test pattern through a given number of scan chains. The clock gating controller unit activates a target block while keeping other frozen. Each test pattern in a pair contains a block ID that initiates a one-hot operation. The proposed two test moods by selecting a flag: the flag’s actual value ensures the Trojan detection mood where the alternative mood delivers fault detection mood. The Trojan detection mood is utilized only a single time after manufacturing the chip and deactivated forever. The fault detection mood is working for online detection during the chip is in operation. As the Trojan is inserted in the manufacturing step and unable to be manipulated after fabrication, the Trojan detection test mood is only once. Any manufacturing defects such as aging and other parametric defects can happen during the chip operation; thus, it considers the parametric fault detection mood online.

3.8 Process variation window of power equal blocks

A mathematical analysis shows how the power equal blocks in self-referencing deliver a threshold constraint experiencing inter-chip and intra-chip variations. In this proposed DMST method, the intra-chip systematic variation effect is diminished by considering the spatial correlation between two adjacent blocks in a chip. The random variation effect is addressed by adhering to sufficiently large blocks. A cross-referencing of a pair of blocks in a chip prevents the impact of the inter-chip variation effects. A mathematical analysis can approximate Intra-chip variation effects.

The following notations are used to derive the process variation threshold from identifying defects and Trojans.

  • Wm(B): Total measured power (dynamic and leakage power) when a block B is activated.

  • Wnom(B): Nominal power when a block B is activated.

  • Wnom_dy(B): Nominal dynamic power when a block B is activated.

  • Wnom_leak(C): Nominal leakage power for a chip C.

  • inter: a random variable to represent a factor of deviation of total power from a nominal power instigated by the inter-chip variation.

  • θinter: a random variable to represent a factor of deviation of leakage power from a nominal power caused by an inter-chip systematic variation.

  • i,sys: a random variable to represent a factor of deviation of total power from a nominal power caused by an intra-chip systematic variation for a block Bi.

  • ij,sys: ∇i,sys − ∇j,sys for two blocks Bi and Bj.

  • i,ran: a random variable to represent a factor of deviation of total power from a nominal power caused by an intra-chip random variation for a block Bi.

  • ij,sys: a value to represent an acceptable range of ∇ij,sys, i.e., |∇ij,sys| ≤ ∀ij,sys. For example, ∀ij,sys = 3σij,sys can be considered where σij,sys is a standard deviation of ∇ij,sys.

  • ran: a value to represent an acceptable range of ∇i,ran for any i, i.e., |∇i,ran| ≤ ∀ran.

  • φ: measurement error margin for for current sensors.

  • BiF : a faulty block.

Transistor size and the process technology determine the amount of effects of PV on the leakage and the dynamic power of transistors with a variance. Assuming Wm is the measured power when its nominal power Wnom is influenced by a factor ∀, therefore, ∣WmWnom∣ ⩽ ∀ * Wnom. It implies that the maximum power difference in measured chips can be 2∀. Therefore, in the DMST, the nominal power difference of two blocks measures small deviations due to variations; conversely, it measures sufficient difference for the defects. To substantiate this relationship, the proposed PEAB pair based DMST approach utilizes the comparative power ratio (CPR) defined by (1), where ti and tj are the applied test patterns in blocks i and j.

CPR(ti,tj)=Wnom(BiF)-Wnom(Bj)Wnom(Bj) (1)

ti and tj can be identical or two different test patterns for two different blocks in a chip. As the measured power Wm(Bi) differs from its nominal Wnom power value with factors of inter-chip ∇inter and intra-chip ∇i,intra variations, the total measured power for Bi can be written as (2).

Wm(Bi)=(1+inter+i,intra)Wnom(Bi) (2)

Similarly, the measured power of Rj is as (3).

Wm(Bj)=(1+inter+j,intra)Wnom(Bj) (3)

If two adjacent blocks are compared in a PEAB pair (Wnom(Bi) = Wnom(Bj)), an intra-chip based correlation exists in between the power consumption of two adjacent blocks as can be written as (4). The correlation impact is dominated by dynamic power not by leakage as it is consumed in entire chip.

Wm(Bi)-Wm(Bj)=(i,intra-j,intra)Wnom(Bj) (4)

A power mismatch due to fault or Trojans in Bi can indeed be identified if Wm(BiF)-Wm(Bj) for a PEAB pair in the faulty chip CF exceeds a minimum threshold value. Intra-chip variations determine this threshold value. Therefore, the threshold condition can be written as (5) to detect faults.

Wm(BiF)-Wm(Wj)>(2intra+φ)Wnom(Bj) (5)

Here, ∀intra is the intra-chip variation. Again, Wm(BiF) differs by a ratio of ∇i (= ∇inter + ∇i,intra) (∇inter: inter-chip variation factor, ∇i,intra: intra-chip variation factor for a faulty block) from its nominal Wnom(BiF) by (3) and Wm(Bj) differs by a factor of ∇j (= ∇inter + ∇j,intra) from a nominal power Wnom(Bj) by (4), where ∇j,intra denotes the intra-chip variation component for the fault free region.

Wm(BiT)=(1+inter+i,intra)Wnom(BiF)+(1+θinter)Wnom_leak(CF) (6)
Wm(Wi)=(1+inter+j,intra)Wnom(Bj)+(1+θinter)Wnom_leak(C) (7)

Assuming the leakage power contribution by the Trojan is negligible, therefore, Wnom_leak(CF) is equal to Wnom_leak(C). Incorporating (3) and (4), (2) can be represented as CPR to satisfy following conditions in (8, 9, 10, and 11) to get the final condition in (5).

(1+inter+i,intra)Wnom(BiF)-(1+inter+j,intra)Wnom(Bj)>(2intra+φ)Wnom(Bj) (8)
(1+inter+i,intra)Wnom(BiF)>(1+inter+j,intra+2intra+φ)Wnom(Bj) (9)
(1+inter+i,intra)Wnom(BiF)-(1+inter+i,intra)Wnom(Bj)>(1+inter+j,intra+2intra+φ)Wnom(Bj)-(1+inter+i,intra)Wnom(Bj) (10)
Wnom(BiF)-Wnom(Bj)>(j,intra-i,intra+2intra+φ)Wnom(Bj)(1+inter+i,intra) (11)
CPR(ti,tj)(=Wnom(BiF)-Wnom(Bj)Wnom(Bj))>j,intra-i,intra+2intra+φ(1+inter+i,intra) (12)

Assuming the spatial correlation factor ∇sys of the intra-chip variation is a difference of two systematic components (∇j,intra_sys − ∇i,intra_sys). Assuming ∀ij,intra_sys denotes the realistic worst-case value of ∇ij,intra_sys with a standard deviation of 3σij,intra_sys. σij,intra_sys is the standard deviation of the distribution of ∇ij,intra_sys. In another case, the effects of random deviations of ∇i,intra_ran and ∇j,intra_ran are independent of correlation. Therefore, the worst-case difference is 2∀intra_ran under the random intra-chip variation.

The detection threshold in (2) and the CPR in (5) can be rewritten as in (13) and (14) respectively by putting (∇j,intra − ∇i,intra) = ∇ji,intra.

Wm(BiF)-Wm(Bj)>(ij,intra_sys+2intra_ran+φ)Wnom(Bj) (13)
Wnom(BiF)-Wnom(Bj)>(ji,intra+ij,intra_sys+2intra_ran+φ)Wnom(Bj)(1+inter+i,intra) (14)

Eq (13) dictates that if the nominal dynamic power block is minimal with a more significant measured power difference, which can identify Trojans significantly with the PEAB pair. If the Trojan is into two neighboring regions in an equal number of similar gates and two test patterns in a PEAB pair simultaneously activate them, the PEAB pair cannot detect Trojans.

The notation of (∇j,intra − ∇i,intra) in (14) consists of two terms: the systematic (∇sys) and the random (∇j,intra_ran − ∇i,intra_ran = ∇ran) effects of the intra-chip variation. Therefore, (14) can be rewritten as (15) by incorporating the definition of CPR in (1).

CPR(ti,tj)>sys+ran+ij,intra_sys+2ran+φ(1+inter+i,intra) (15)

The proposed neighboring region comparison minimizes the systematic variation effect. Therefore, the intra-chip systematic variation factors ∀ij,intra_sys and σij,intra_sys can be approximated sufficiently small. Depending on the technology scale, the intra-chip systematic and random variations deliver different values. The random part predominates as technology scales while being almost equal at the transistor level for 65 nm technology [63]. The random variation effect can be addressed by activating multiple cells together [64]. For a given technology, if h% of intra-chip variation is for random variation and the intra-chip standard deviation is σi,intra, then the intra-chip random standard deviation σi,intra_ran for Bi can be written as in (16).

σi,intra_ran=h*σi,intran (16)

4 Results

For the validation of the proposed method, faults of various types are inserted. Two types of Trojans termed TR1 and TR2, considering with modification from Trust-HUB benchmarks [60] are inserted as Trojans. TR1 and TR2 are combinational type sequential and sequential type of combinational Trojans respectively [65]. Two more sequential type Trojans without any modification from Trust-Hub named AES-T300 and AES-T400 are inserted. On the one hand, the fault injections are performed to realize stuck-at-0, stuck-at-1, propagation delay, bridging faults, and others that deliver different power consumption of the faulty blocks while comparing to reference blocks. As any of the mentioned faults may cause changing the delay profile of the signal propagating from input to the output paths, and the paths’ consumed power may differ from the references. The original designs are synthesized using the Synopsys design compiler and IC compiler with a 90nm technology library.

4.1 Experiments for design

The assumption was to attain a Gaussian distribution of power values for the ATPG patterns. It observed that the distribution of power values for the ATPG test patterns holds the assumption. In the proposed method, it adjusts blocks to obtain more PEAB pairs to achieve more similar mean powers. If the total power values for each block have a Gaussian-like distribution, many test patterns consume similar power to their mean value. The experimental evaluation displays that the initial 50 blocks of the AES-128 circuit follow such distribution. The initial 50 blocks deliver some deviated blocks in terms of mean dynamic power. The deviation is addressed by combining 50 blocks to 42 blocks and further addressed by shifting 100 FFs to the adjacent blocks. Fig 8 displays the first 10 out of 42 selected blocks showing Gaussian distribution. The geometric position of flip-flops in the layout of the AES-128 circuit is within a 1.1 mm × 1.53 mm rectangle. Two blocks are identified as to be adjacent if the maximum distance between flip-flops in the two blocks is 0.068mm or less. With the initial test patterns from ATPG, the AES-128 fails to toggle 131 cells. After inserting 131 VOPs into the netlist, the generated test patterns can toggle all cells.

Fig 8. Distribution of nominal power values of first 10 blocks for the AES-128 show a Gaussian distribution.

Fig 8

The proposed technique distributes clock gating hardware with shifting of flip-flops to get more PEAB pairs. Table 1 shows an initial number of clock buffers in the clock tree, blocks after gating point selection, shifting of flip-flops with clock skew, and test controller hardware overhead. We evaluate the hardware overhead for the proposed DMST design. Hardware overhead of 16 current sensors, clock gatting controller, comparator, and memory units are also presented. We do not consider the overhead of scan design. Our assumption is that the scan chain technology is a well-established testing method, and researchers in this field consider the extra hardware cost due to design-for-testability purposes. Therefore, the scan chain overhead is not considered; we believe it is already included in the design. However, the clock gating controller, memory, embedded current sensors are the extra hardware to obtain the power side-channel parameters. Hardware overhead of o.134% includes test controller (current sensors and clock gating), memory unit, and comparator circuit. VOP insertion does not claim any hardware overhead as all the test points are inserted virtually for test pattern generation. The average power per block is without the scan chain power consumption. Clock skew information ensures the setup and holds time violation indicator, which is met in the experiment. The critical path delay is unchanged for the DMST design, and the slack is met at 4.55 ns.

Table 1. Area, power and delay overhead of the AES-128 circuit with clock skew information.

Attributes Value
Initial end node clock buffers or blocks 50
Selected blocks considering mean dynamic power 42
Number of shifted flip-flops 100
Hardware overhead 0.134%
VOP insertion overhead 0.0%
Average power per block (overhead) 0.542%
Worst case delay overhead 0.0124%
Longest path delay without gating 0.592ns
Longest path delay with gating controller 0.592ns
Shortest path delay without gating 0.525ns
Shortest path delay with gating controller 0.523ns

A detailed result is displayed in Table 2. With the scan chain design, the hardware overhead is 5.239%, while it is only 0.134% without scan design. We assume the scan design is already considered for the manufacturing test. The test controller (clock gating and current sensors) delivers more overhead (0.091%) compared to memory, ADC, and comparator circuits. The test controller overhead is approximately 97%, which means the overall hardware penalty is for the proposed DMST architecture controller unit. The test controller applies the PEAB pair to the current sensors through the scan chain, and the response is stored in the memory unit. The area overhead of memory and comparator is a sufficiently little value compared to scan design. The observation on hardware overhead delivers a small percentage of overhead and can ignore for the AES or a larger circuit. The average power per block for the complete design is 7.521mW, in which a large portion (3.627mW) is for the scan chain. The power overhead is 0.543% without scan design. Similarly, the delay of the whole circuit is 592ps, and the overhead is 12.42% in the pico-second range.

Table 2. A detailed result of hardware overhead, power and delay with and without scan design.

Event Complete design Scan design Test contr. Memory ADC Comparator circuit
Total Area in um width 2163275.57 110275.2 1968.58 520 241.34 163.18
Area Overhead 5.239% 5.097% 0.091% 0.024% 0.011% 0.007%
Avg. power per block in mW 17.521 3.627 0.0647 0.0171 0.0079 0.0053
Power overhead per block 21.073% 20.703% 0.369% 0.098% 0.045% 0.031%
Critical path delay in ps 592 178.38 50.078 13.228 6.139 4.151
Delay overhead 42.56% 30.132% 8.459% 2.234% 1.037% 0.701%

In our experiment, we insert the maximum inter-chip variation of 30% (3σ) and the maximum intra-chip variation of 20% (3σ) to demonstrate the effectiveness of the proposed method under enormous variations experienced in the real chip. The CPR variation threshold is evaluated with certain inter-chip and intra-chip variation factors to identify the number of faults or Trojans. It considers the standard deviations σsys and σran have 1:1 ratio of the standard deviation σintra, thus it can be estimated roughly σsys = σran = 0.7*σintra. The PEAB pairs set can toggle 1,238 cells of the AES-128 per block with an intra chip random standard deviation of σi,intra_ran for the average variation case from (15). Considering the current technology trend, the standard deviation of spatial correlation σij,intra_sys can be assumed to be 5% of ∇ij,intra_sys. The identification of faulty chips for four variation cases is evaluated. The cases are 20% inter with 10% intra (low), 20% inter with 15% intra (medium), 20% inter with 20% intra (high) and 30% inter with 20% intra (very high). The Monte Carlo simulation of 60,000 samples ensures the optimum identification levels for particular threshold values of CPR in Fig 9 with a measurement error φ of 5%. The graph shows that 99.9% identification is achieved with an CPR of 7.3% for the low, 8% for the average or medium, 9.2% for the high and 10% for the very high variation cases.

Fig 9. Cumulative distribution function of 60,000 sample for identification of faulty chips.

Fig 9

4.2 Parametric test fault injection

Parametric fault identification is tested through several faults injection into the AES-128 optimized netlist in block-4 and 11. U47581 is two inputs NOR gate and gets toggling for several patterns in block-4. It is forcefully short-circuited the output of this gate into the Vdd line to achieve a stuck-at-1 fault. This fault initiates few extra gates toggling in the signal propagation path. The extra switching contributes more dynamic power in block 4 for several patterns. The maximum comparative power ratio of 8.5% is achieved in PEAB pair-8. Similarly, other faults in the netlist can be inserted to measure the CPR, which are listed in Table 3.

Table 3. Faulty AES chip identification for different faults and Trojans under low, medium, high and very high variation cases.

Events Max CPR Identification in different variation cases
Low Medium High Very high
Stuck-at-fault 8.50% 100% 100% 99% 97%
Bridging fault 9.10% 100% 100% 100% 98%
Propagation delay 10% 100% 100% 100% 99%
Trojan TR1 10.30% 100% 100% 100% 99%
Trojan TR2 7.80% 100% 99% 95% 91%
Trojan AES-T300 13.57% 100% 100% 100% 100%
Trojan AES-T400 11.33% 100% 100% 100% 99%

4.3 Experiments with Trojans

Two types of Trojans: TR1 and TR2, are inserted in the AES-128 circuit. TR1 is the two 8-bit comparators with two flip-flops, and TR2 is a 16-bit comparator with sequential 4-bit counter modified from the trust-Hub benchmark of AES-T100 and AES-T200 Trojan circuits. The detail of the modification is presented in our previous [66]. Another two types of Trojans (AES-T300 and AES-T400) are inserted without modification. The Trojan AES-T300 demonstrates an attack on the AES-128 block-cipher and its corresponding key schedule. The idea is to artificially introduce leaking intermediate states in the key schedule that depend on known input bits and key bits, but that naturally would not occur during regular processing of the cipher. The Trojan uses AND conjunctions to pairwise combine each key bit with another input bit. The output of the AND gates is then combined to the leaked intermediate value by XORing all of them. The Trojan leaks one byte of the AES round key for each round of the key schedule. The leakage circuit is a 16-bit shift register loaded with an initial alternating sequence of zeros and ones. The shift register is only enabled if the leakage circuit’s input is one, which results in additional dynamic power consumption. AES-T400 is modulating with an unused pin on a chip generates an RF signal. This signal can be used to transmit the key bits. This attack is performed at 1560 kHz and can be received with an ordinary AM radio. The data carried by the AM signal needs to be easily interpreted by a human. A beep scheme is utilized where a single beep followed by a pause represents a ‘0’ and a double beep followed by a pause represents a ‘1’. A description on detail implementation of AM transmission can be found at [67]. In this implementation, the Trojan gets activated when a predefined input plaintext is observed.

The detailed results are displayed in Table 3 considering four variation cases (low, medium, high, and very high). Results show the maximum CPR for inserted Trojans. For the TR1, AES-T300, and AES-T400 Trojans, the maximum CPR delivers almost 100% identification for all the variation cases. The sequential dominant Trojan TR2 gets less CPR value delivering 95% identification for high variation cases. In contrast, this identification rate down to 91% for the very high variation case means 54,600 out of 60,000 chips can be identified successfully. As it considers the sensor error rate 5%, the CPR for PEAB pairs cannot be less than 5%, which implies that a sensitive detection requires the design of highly precise sensors to reduce the CPR threshold further.

The analysis on various faults and Trojans indicates that an increased number of false-negative (faulty chips identified as a good one) occurrences may happen for similar faults or Trojan activation in adjacent blocks through a single PEAB pair. The AES-128 chip shows that in case of such faults or insertion of Trojans in two adjacent blocks of a PEAB pair, the probability of common activation is possible. The PEAB pair that can activate faults or Trojans equally to its pair of blocks cannot identify the mismatch. It randomly inserts the TR1 and AES-T300 Trojans in some nets of logic gates, which have chances to be activated commonly by several PEAB pairs. The evaluation provides interesting outcomes showing that some other PEAB pairs can deliver sufficient CPRs through the intended PEAB pairs fail to identify.

4.4 Discussion and comparison

Table 4 displays a comparison among different methods for identifying Trojans and faults in self-test for the AES circuit. As our proposed DMST is a novel method and has not been addressed yet in the literature, we make a comparison based on the performance, power, and area overhead of some self-test and hardware Trojan detection works. In [68], obfuscated built-in-self test is introduced to detect Trojans. They reduce the number of filler cell insertions so that the test structure’s area, delay, and power are reduced significantly in the AES and DES chips. A significantly lower area overhead (0.42%) is reported in this work. However, the performance and power consumption are much higher. Our proposed DMST method delivers negligible area overhead (0.134%), which is more than three times smaller than that of [68]. The listed works [68, 70, 73] in Table 4 utilize the scan design for design-for-testability; however, they do not consider the scan overhead in the reported area, power, and delay overhead. The scan chain technology is a well-established testing method and is accepted as the design part for manufacturing tests.

Table 4. Comparison with the state of the art fault and Trojan detection of AES in dual mode self-test implementation.

Method name Detection mode Exploit mechanism Design overhead
OBISA: Obfuscated built-in self authentication with wire-lifting [68] Trojan Detection Filler cell insertion and wire lifting Delay = 4.08%
Power = 12.73%
Area = 0.42%
TPAD: Trojan prevention and detection [69] Trojan detection using fault tolerant computing functional and online detection technique Delay = 0%
Power = 7-60%
Area = 7.4-165%
(based on design)
BISA: Built-In Self Authentication [70] Trojan prevention Filler cell insertion Delay = 4.28%
Power = 14.38%
Area = 22.54%
K-security: 3D IC based circuit [71] Trojan prevention Wire lifting Delay = 54%
Power = 114%
Area = 167%
Online error detection for AES core [72] Fault detection Parity code Delay = 2.4%
Power = NA
Area = 16%
A-SOFT-AES: Self-Adaptive Software based AES [73] Fault Detection Soft implementation Delay = NA
Power = NA
Area = 3%
Hybrid-AES: Pipeline based Hardware design [74] Error Detection Hybrid implementation Delay = 1.27%
Power = NA
Area = NA
Proposed DMST: Dual mode self-test Identification faults and Trojans in online Variation aware self-referencing Delay = 0.012%
Power = 0.543%
Area = 0.134%

We compare our work with Trojan detection approaches [6971] in the AES chip. In [69], the Trojan detection technique (TPAD) is performed utilizing fault tolerating computing. TPAD is derived from the concept of concurrent error detection for fault-tolerant computing, thus delivering area overheads range from 114% to 165% with 34% to 61% power overheads. However, their re-configurable and split manufacturing techniques can reduce the area overhead to 7.60% with 0% delay. In [70], a built-In self-authentication method is presented to prevent inserting hardware Trojans. Their motivation is that the unused spaces in the circuit layout can be the best opportunity to insert Trojans. This method works by eliminating these spare spaces and filling them with functional filler cells instead of nonfunctional filler cells, resulting in high overhead in the area (22.54%), power (14.38%), and delay (4.28%) for the AES chip. A Trojan prevention technique is introduced in [71]. Their wire lifting approach delivers huge overhead in area, power, and delay as multiple wires removing and reconnecting change the layout significantly.

Some significant fault detection in AES chip has been reported [7074]. In [72], a self-test structure is introduced to identify faults in a 32-bit AES chip in the FPGA platform. The error detection scheme is used to detect faults. The reported area overhead of 163% and delay of 2.4% are larger values for a tiny 32-bit AES core. In [73], a software-based self-test AES method is presented. This technique is based on a pool of software-implemented fault-tolerance techniques that dynamically chooses the best one in terms of performance, cost, and fault-tolerance for a wide range of fault rates. Their reported area overhead is 3%. In [74], a hybrid of software and hardware design is proposed in the FPGA platform. They reduce the delay and area of the design-for-testability through a pipeline structure, analyzing and balancing the critical path and distributing the processing elements within each stage. The latency is 11 clock cycles in a 5.542 ns clock period that means the delay overhead is approximately 1.27%.

In our proposed DMST method, we catch both Trojans and manufacturing defects by a dual-mode self-test method. However, the test controller, memory unit, and comparator circuit deliver overhead on area, power, and delay reported in Table 4. Our hardware implementation consumes less power, delay, and low hardware overhead compared to other related works. We have inserted test points in the AES chip to get 100% test coverage with 0% area overhead. In state-of-the-art, none of the reported methods perform both the fault and Trojan test in the hardware domain through BIST. DMST is the first attempt to implement a stand-alone AES core in self-test to the best of our knowledge.

5 Conclusion

A parametric mismatch identification technique for the AES-128 chip is presented in this paper. Several technical designs are considered in power side-channel analysis to deliver a stand-alone and reliable AES core. A novel comparative power ratio-based identification threshold is designed to fit the simulated power to the actual chip outcomes. In the case of different types of faults and Trojans, this technique demonstrated 100% identification under the presence of worst process variation levels. Despite the fact even of considerable variation levels, the results showed a reasonable identification rate. The design overhead in area, power, and delay is negligible compared to other state-of-the-arts. If the measurement sensors’ accuracy can be improved further, in that case, the identification threshold window can be reduced sufficiently, implying a small impact of fault in power, or a few Trojan gates can be identified under elevated process variations. The future scope of this DMST method to implement in the FPGA platform and identify the testing complexity. Some large-scale industrial chips may be tested with this DMST architecture to demonstrate the practicability of this technique.

Acknowledgments

The authors gratefully acknowledge to Nara Institute of Science and Technology (NAIST), Nara, Japan to conduct this research using all kinds of facilities of Dependable System Laboratory. This work is not funded by any source.

Data Availability

All relevant data are within the paper.

Funding Statement

Unfunded studies Enter: The author(s) received no specific funding for this work.

References

  • 1. Heron S. A dvanced encryption standard (AES). Network Security. 2009. Dec 1;2009(12):8–12. doi: 10.1016/S1353-4858(10)70006-4 [DOI] [Google Scholar]
  • 2. Shree D, Ahlawat S. A Review on Cryptography, Attacks and Cyber Security. International Journal of Advanced Research in Computer Science. 2017. May 15;8(5). [Google Scholar]
  • 3. Zhang S, Xie X, Xu Y. A Brute-Force Black-Box Method to Attack Machine Learning-Based Systems in Cybersecurity. IEEE Access. 2020. Jul 10;8:128250–63. doi: 10.1109/ACCESS.2020.3008433 [DOI] [Google Scholar]
  • 4.Kumar K, Ramkumar KR, Kaur A. A Design Implementation and Comparative Analysis of Advanced Encryption Standard (AES) Algorithm on FPGA. In2020 8th International Conference on Reliability, Infocom Technologies and Optimization (Trends and Future Directions)(ICRITO) 2020 Jun 4 (pp. 182-185).IEEE.
  • 5. Wang P, Zhang Y, Yang J. Research and Design of AES Security Processor Model Based on FPGA. Procedia computer science. 2018. Jan 1;131:249–54. doi: 10.1016/j.procs.2018.04.210 [DOI] [Google Scholar]
  • 6. Farooq U, Aslam MF. Comparative analysis of different AES implementation techniques for efficient resource usage and better performance of an FPGA. Journal of King Saud University-Computer and Information Sciences. 2017. Jul 1;29(3):295–302. doi: 10.1016/j.jksuci.2016.01.004 [DOI] [Google Scholar]
  • 7. Garipcan AM, Erdem E. Design. FPGA implementation and statistical analysis of a high-speed and low-area TRNG based on an AES s-box post-processing technique. ISA Transactions. 2021. Jan 28. doi: 10.1016/j.isatra.2021.01.054 [DOI] [PubMed] [Google Scholar]
  • 8.Chen S, Hu W, Li Z. High performance data encryption with AES implementation on FPGA. IEEE Intl Conference on Intelligent Data and Security (IDS) 2019 May 27 (pp. 149-153). IEEE.
  • 9.Shashidhar R, Mahalingaswamy AM, Kumar P, Roopa M. Design of High Speed AES System for Efficient Data Encryption and Decryption System using FPGA. In2018 International Conference on Electrical, Electronics, Communication, Computer, and Optimization Techniques (ICEECCOT) 2018 Dec 14 (pp. 1279-1282). IEEE.
  • 10. Hossain FS, Ali ML. A novel byte-substitution architecture for the AES cryptosystem. PloS one. 2015. Oct 22;10(10):e0138457. doi: 10.1371/journal.pone.0138457 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Cao W, Huang F, Zheng M, Hu H. Attacking FPGA-based Dual Complementary AES Implementation Using HD and SD Models. In2020 16th InternationalConference on Computational Intelligence and Security (CIS) 2020 Nov 27 (pp.278-282). IEEE.
  • 12.Janveja M, Paul B, Trivedi G, Vijayakanthi G, Agrawal A, Jan P, et al. Design of Efficient AES Architecture for Secure ECG Signal Transmission for Low-power IoT Applications. In2020 30th International Conference Radio elektronika (RADIOELEKTRONIKA) 2020 Apr 15 (pp. 1-6). IEEE.
  • 13. Miskovsky V, Kubatova H, Novotny M. Influence of passive hardware redundancy on differential power analysis resistance of AES cipher implemented in FPGA. Microprocessors and Microsystems. 2017. Jun 1;51:220–6. doi: 10.1016/j.micpro.2017.04.014 [DOI] [Google Scholar]
  • 14. LIANG H, Xiangsheng FA, Maoxiang YI, Huang Z, Yingchun LU. A novel BIST scheme for circuit aging measurement of aerospace chips. Chinese Journal of Aeronautics. 2018. Jul 1;31(7):1594–601. doi: 10.1016/j.cja.2018.04.013 [DOI] [Google Scholar]
  • 15.Naidu PS, Sumanth BN, Koduri PS, Teja MS, Somanathan GR, Bhakthavatchalu R. Secured Test Pattern Generators for BIST. In2021 5th International Conference on Computing Methodologies and Communication (ICCMC) 2021 Apr 8 (pp. 542-546).IEEE.
  • 16. Zhou Y, Cai H, Zhang M, Naviner LA, Yang J. A novel BIST for monitoring aging/temperature by self-triggered scheme to improve the reliability of STT- MRAM. Microelectronics Reliability. 2020. Nov 1;114:113735. doi: 10.1016/j.microrel.2020.113735 [DOI] [Google Scholar]
  • 17. Vashistha N, Lu H, Shi Q, Woodard DL, Asadizanjani N, Tehranipoor M. Detecting Hardware Trojans using Combined Self Testing and Imaging. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems. 2021. Jul 20. doi: 10.1109/TCAD.2021.3098740 [DOI] [Google Scholar]
  • 18. Wang J, Li Y. ARDAMS: An Efficient Run-Time Approach for Memory Fault and Hardware Trojans Detection. Information. 2021. Apr;12(4):169. doi: 10.3390/info12040169 [DOI] [Google Scholar]
  • 19. Xue M, Gu C, Liu W, Yu S, O’Neill M. Ten years of hardware Trojans: a survey from the attacker’s perspective. IET Computers Digital Techniques. 2020. Aug 12;14(6):231–46. doi: 10.1049/iet-cdt.2020.0041 [DOI] [Google Scholar]
  • 20.EDN. C an ate vendors lower chip-testing costs? https://www.edn.com/can-ate-vendors-lower-chip-testing-costs/, 2002, [Online; accessed 11-Feb-2021].
  • 21.Grosso M, Rinaudo S, Casalino A, Reorda MS. Software-based self-test for transition faults: a case study. In2019 IFIP/IEEE 27th International Conference on Very Large Scale Integration (VLSI-SoC) 2019 Oct 6 (pp. 76-81). IEEE.
  • 22.Bernardi P, Grosso M, Sánchez E, Reorda MS. Software-based self-test of embedded microprocessors. InDesign and Test Technology for Dependable Systems-on-Chip 2011 (pp. 338-359). IGI Global.
  • 23.Bernardi P, Grosso M, Sánchez E, Ballan O. Fault grading of software-based self-test procedures for dependable automotive applications. In2011 Design, Automation Test in Europe 2011 Mar 14 (pp. 1-2). IEEE.
  • 24. Floridia A, Sanchez E. On-line self-test mechanism for dual-core lockstep system-on-chips. Microelectronics Reliability. 2020. Sep 1;112:113770. doi: 10.1016/j.microrel.2020.113770 [DOI] [Google Scholar]
  • 25. Georgiou P, Kavousianos X, Cantoro R, Reorda MS. Fault independent test-generation for software-based self-testing. IEEE Transactions on Device and Materials Reliability. 2019. Apr 12;19(2):341–9. doi: 10.1109/TDMR.2019.2911022 [DOI] [Google Scholar]
  • 26. Suryasarman VM, Biswas S, Sahu A. Rsbst: an accelerated automated software-based self-test synthesis for processor testing. Journal of Electronic Testing. 2019. Oct;35(5):695–714. doi: 10.1007/s10836-019-05825-9 [DOI] [Google Scholar]
  • 27.Jasnetski A, Ubar R, Tsertov A. A utomated software-based self-test generation for microprocessors. In2017 MIXDES-24th International Conference” Mixed Design of Integrated Circuits and Systems 2017 Jun 22 (pp. 453-458). IEEE.
  • 28. Kochte MA, Wunderlich HJ. Self-test and diagnosis for self-aware systems. IEEE Design Test. 2017. Oct 13;35(5):7–18. doi: 10.1109/MDAT.2017.2762903 [DOI] [Google Scholar]
  • 29.Anghel L, Cantoro R, Foti D, Portolan M, Sartoni S, Reorda MS. New Perspectives on Core In-field Path Delay Test. In International Test Conference (ITC 2020) 2020 Nov 3.
  • 30. Pomeranz I. Storage-Based Built-In Self-Test for Gate-Exhaustive Faults. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems. 2020. Nov 2. [Google Scholar]
  • 31. Tehranipoor M, Koushanfar F. A survey of hardware trojan taxonomy and detection. IEEE design test of computers. 2010. Feb 5;27(1):10–25. doi: 10.1109/MDT.2010.7 [DOI] [Google Scholar]
  • 32.Rad R, Wang X, Plusquellic J, Tehranipoor M. Taxonomy of Trojans and methods of detection for IC trust. In Proc. of the International Conference on Computer-Aided Design (ICCAD08) 2008 Nov (pp. 632-639).
  • 33.Chakraborty, R.S., Wolff, F., Paul, S., Papachristou, C. and Bhunia, S. MERO: A statistical approach for hardware Trojan detection. In International Workshop on Cryptographic Hardware and Embedded Systems (pp. 396-410). Springer, Berlin, Heidelberg.
  • 34.Hossain FS, Yoneda T, Inoue M, Orailoglu A. Detecting hardware Trojans without a Golden IC through clock-tree defined circuit partitions. In2017 22nd IEEE European Test Symposium (ETS) 2017 May 22 (pp. 1-6). IEEE.
  • 35.Lin L, Burleson W. Analysis and mitigation of process variation impacts on power-attack tolerance. In Proceedings of the 46th annual design automation conference 2009 Jul 26 (pp. 238-243).
  • 36.Borkar S, Karnik T, Narendra S, Tschanz J, Keshavarzi A, De V. Parameter variations and impact on circuits and microarchitecture. In Proceedings of the 40th annual Design Automation Conference 2003 Jun 2 (pp. 338-342).
  • 37.Nassif SR. Process variability at the 65nm node and beyond. In2008 IEEE Custom Integrated Circuits Conference 2008 Sep 21 (pp. 1-8). IEEE.
  • 38.Friedberg P, Cao Y, Cain J, Wang R, Rabaey J, Spanos C. Modeling within-die spatial correlation effects for process-design co-optimization. In Sixth international symposium on quality electronic design (isqed’05) 2005 Mar 21 (pp. 516-521). IEEE.
  • 39.Patki T, Thiagarajan JJ, Ayala A, Islam TZ. Performance optimality or reproducibility: that is the question. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis 2019 Nov 17 (pp. 1-30).
  • 40.Srimani S, Ghosh K, Rahaman H. Parametric fault detection in analog circuits: A statistical approach. In 2016 IEEE 25th Asian Test Symposium (ATS) 2016 Nov 21 (pp. 275-280). IEEE.
  • 41. Li XL, Xie Y, Bi D, Ao Y. Kalman filter based method for fault diagnosis of analog circuits. Metrology and Measurement Systems. 2013:307–22. doi: 10.2478/mms-2013-0027 [DOI] [Google Scholar]
  • 42. Papakostas DK, Hatzopoulos AA. A unified procedure for fault detection of analog and mixed-mode circuits using magnitude and phase components of the power supply current spectrum. IEEE Transactions on Instrumentation and Measurement. 2008. Jun 3;57(11):2589–95. doi: 10.1109/TIM.2008.924932 [DOI] [Google Scholar]
  • 43. Kavithamani A, Manikandan V, Devarajan N. Soft fault classification of analog circuits using network parameters and neural networks. Journal of Electronic Testing. 2013. Apr;29(2):237–40. doi: 10.1007/s10836-013-5370-3 [DOI] [Google Scholar]
  • 44.Sindia S, Singh V, Agrawal VD. Polynomial coefficient based DC testing of non-linear analog circuits. In Proceedings of the 19th ACM Great Lakes symposium on VLSI 2009 May 10 (pp. 69-74).
  • 45.Liu F, Ozev S. Efficient simulation of parametric faults for multi-stage analog circuits. In 2007 IEEE International Test Conference 2007 Oct 21 (pp. 1-9). IEEE.
  • 46.Slamani M, Kaminska B. Multifrequency testability analysis for analog circuits. In Proceedings of IEEE VLSI Test Symposium 1994 Apr 25 (pp. 54-59). IEEE.
  • 47. Bilski A, Wojciechowski J. Automatic parametric fault detection in complex analog systems based on a method of minimum node selection. International Journal of Applied Mathematics and Computer Science. 2016;26(3). [Google Scholar]
  • 48.Bhasin S, Regazzoni F. A survey on hardware Trojan detection techniques. In 2015 IEEE International Symposium on Circuits and Systems (ISCAS) 2015 May 24 (pp. 2021-2024). IEEE.
  • 49.Liu Y, Huang K, Makris Y. Hardware Trojan detection through golden chip-free statistical side-channel fingerprinting. In Proceedings of the 51st Annual Design Automation Conference 2014 Jun 1 (pp. 1-6).
  • 50. Rooney C, Seeam A, Bellekens X. Creation and detection of hardware Trojans using non-invasive off-the-shelf technologies. Electronics. 2018. Jul;7(7):124. doi: 10.3390/electronics7070124 [DOI] [Google Scholar]
  • 51.Lin L, Kasper M, Güneysu T, Paar C, Burleson W. Trojan side-channels: Lightweight hardware Trojans through side-channel engineering. In International Workshop on Cryptographic Hardware and Embedded Systems 2009 Sep 6 (pp. 382-395). Springer, Berlin, Heidelberg.
  • 52.Kumar S, Sahoo S, Mahapatra A, Swain AK, Mahapatra KK. Analysis of Side-Channel Attack AES Hardware Trojan Benchmarks against Countermeasures. In 2017 IEEE Computer Society Annual Symposium on VLSI (ISVLSI) 2017 Jul 3 (pp. 574-579). IEEE.
  • 53.Ladnushkin M. Flip-flops fanout splitting in scan designs. In 2020 IEEE International Test Conference (ITC) 2020 Nov 1 (pp. 1-5). IEEE.
  • 54. Tsai HC, Cheng KT, Bhawmik S. On improving test quality of scan-based BIST. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems. 2000. Aug;19(8):928–38. doi: 10.1109/43.856978 [DOI] [Google Scholar]
  • 55. Lee KJ, Chen BR, Kochte MA. On-chip self-test methodology with all deterministic compressed test patterns recorded in scan chains. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems. 2018. Feb 21;38(2):309–21. doi: 10.1109/TCAD.2018.2808241 [DOI] [Google Scholar]
  • 56. Kim SE, Chung J, Yang JS. Mitigating Observability Loss of Toggle-Based X-Masking via Scan Chain Partitioning. IEEE Transactions on Computers. 2018. Feb 5;67(8):1184–92. doi: 10.1109/TC.2018.2801847 [DOI] [Google Scholar]
  • 57. Xiang D, Wen X, Wang LT. Low-power scan-based built-in self-test based on weighted pseudorandom test pattern generation and reseeding. IEEE Transactions on Very Large Scale Integration (VLSI) Systems. 2016. Sep 19;25(3):942–53. doi: 10.1109/TVLSI.2016.2606248 [DOI] [Google Scholar]
  • 58. Moghaddam E, Mukherjee N, Rajski J, Solecki J, Tyszer J, Zawada J. Logic BIST with capture-per-clock hybrid test points. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems. 2018. May 8;38(6):1028–41. doi: 10.1109/TCAD.2018.2834441 [DOI] [Google Scholar]
  • 59. Hsueh MC, Tsai TK, Iyer RK. Fault injection techniques and tools. Computer. 1997. Apr;30(4):75–82. doi: 10.1109/2.585157 [DOI] [Google Scholar]
  • 60.TRUST-Hub http://www.trust-hub.org/benchmarks.php. [Online; accessed 12December-2016].
  • 61. Cao Y, Chang CH, Chen S. A cluster-based distributed active current sensing circuit for hardware Trojan detection. IEEE Transactions on Information Forensics and Security. 2014. Sep 25;9(12):2220–31. doi: 10.1109/TIFS.2014.2360432 [DOI] [Google Scholar]
  • 62.Laurenciu NC, Wang Y, Cotofana SD. A direct measurement scheme of amalgamated aging effects with novel on-chip sensor. In 2013 IFIP/IEEE 21st International Conference on Very Large Scale Integration (VLSI-SoC) 2013 Oct 7 (pp. 246-251). IEEE.
  • 63. Saxena C, Hess H, Karbasi A, Rossoni S, Tonello P, McNamara S, et al. Variation in transistor performance and leakage in nanometer-scale technologies. IEEE Trans. on Electron Devices, vol. 55, no. 1, pp. 131–144, 2008. doi: 10.1109/TED.2007.911351 [DOI] [Google Scholar]
  • 64. Zheng Y, Yang S, Bhunia S. SeMIA: Self-similarity-based IC integrity analysis. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems. 2015. Jun 23;35(1):37–48. doi: 10.1109/TCAD.2015.2449231 [DOI] [Google Scholar]
  • 65.Hossain FS, Yoneda T, Shintani M, Inoue M, Orailoglo A. Intra-die-variation-aware side channel analysis for hardware Trojan detection. In 2017 IEEE 26th Asian Test Symposium (ATS) 2017 Nov 27 (pp. 52-57). IEEE.
  • 66. Hossain F.S., Yoneda T., and Inoue M. An effective and sensitive scan segmentation technique for detecting hardware Trojan. IEICE Transaction on Information and Systems, vol. 100, no. 1, pp. 130–139, 2017. [Google Scholar]
  • 67. Alex Baumgarten, Michael Steffen, Matthew Clausman, Joseph Zambreno. A case study in hardware Trojan design and implementation. International Journal of Information Security, Volume 10, Issue 1, pp 1–14, 2011. [Google Scholar]
  • 68. Shi Q, Tehranipoor MM, Forte D. Obfuscated built-in self-authentication with secure and efficient wire-lifting. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems. 2018. Oct 19;38(11):1981–94. doi: 10.1109/TCAD.2018.2877012 [DOI] [Google Scholar]
  • 69. Wu TF, Ganesan K, Hu YA, Wong HS, Wong S, Mitra S. TPAD: Hardware Trojan prevention and detection for trusted integrated circuits. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems. 2015. Aug 28;35(4):521–34. doi: 10.1109/TCAD.2015.2474373 [DOI] [Google Scholar]
  • 70. Xiao K, Forte D, Tehranipoor M. A novel built-in self-authentication technique to prevent inserting hardware Trojans. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems. 2014. Nov 20;33(12):1778–91. doi: 10.1109/TCAD.2014.2356453 [DOI] [Google Scholar]
  • 71.Imeson F, Emtenan A, Garg S, Tripunitara M. Securing Computer Hardware Using 3D Integrated Circuit (IC) Technology and Split Manufacturing for Obfuscation. In 22nd USENIX Security Symposium (USENIX Security 13) 2013 (pp. 495-510).
  • 72. Legat U, Biasizzo A, Novak F. A compact AES core with on-line error-detection for FPGA applications with modest hardware resources. Microprocessors and microsystems. 2011. Jun 1;35(4):405–16. doi: 10.1016/j.micpro.2011.03.001 [DOI] [Google Scholar]
  • 73.Oboril F, Sagar I, Tahoori MB. A-SOFT-AES: Self-adaptive software-implemented fault-tolerance for AES. In 2013 IEEE 19th International On-Line Testing Symposium (IOLTS) 2013 Jul 8 (pp. 104-109). IEEE.
  • 74. Algredo-Badillo I, Ramírez-Gutiérrez KA, Morales-Rosales LA, Pacheco Bautista D, Feregrino-Uribe C. Hybrid Pipeline Hardware Architecture Based on Error Detection and Correction for AES. Sensors. 2021. Jan;21(16):5655. doi: 10.3390/s21165655 [DOI] [PMC free article] [PubMed] [Google Scholar]

Decision Letter 0

Gulistan Raja

29 Sep 2021

PONE-D-21-17578A Dual Mode Self-Test for a Stand Alone AES CorePLOS ONE

Dear Dr. Hossain,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process. The manuscript had been reviewed by 2 reviewers. Reviewer 1 was of the view that manuscript describes technically sound piece of work while Reviewer 2 was of the opinion that manuscript partly describes the technically sound piece of work. Both reviewer had made certain comments and suggestions to improve the work. After thorough consideration of comments of both reviewers, my decision is "major revision". Please incorporate the suggestions/comments of both reviewers.

Please submit your revised manuscript by Nov 13 2021 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.

  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols. Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols.

We look forward to receiving your revised manuscript.

Kind regards,

Gulistan Raja

Academic Editor

PLOS ONE

Journal requirements:

When submitting your revision, we need you to address these additional requirements.

1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at

https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and

https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf.

2. We suggest you thoroughly copyedit your manuscript for language usage, spelling, and grammar. If you do not know anyone who can help you do this, you may wish to consider employing a professional scientific editing service.

Whilst you may use any professional scientific editing service of your choice, PLOS has partnered with both American Journal Experts (AJE) and Editage to provide discounted services to PLOS authors. Both organizations have experience helping authors meet PLOS guidelines and can provide language editing, translation, manuscript formatting, and figure formatting to ensure your manuscript meets our submission guidelines. To take advantage of our partnership with AJE, visit the AJE website (http://learn.aje.com/plos/) for a 15% discount off AJE services. To take advantage of our partnership with Editage, visit the Editage website (www.editage.com) and enter referral code PLOSEDIT for a 15% discount off Editage services.  If the PLOS editorial team finds any language issues in text that either AJE or Editage has edited, the service provider will re-edit the text for free.

Upon resubmission, please provide the following:

The name of the colleague or the details of the professional service that edited your manuscript

A copy of your manuscript showing your changes by either highlighting them or using track changes (uploaded as a *supporting information* file)

A clean copy of the edited manuscript (uploaded as the new *manuscript* file)

Additional Editor Comments (if provided):

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

Reviewer #2: Partly

**********

2. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

Reviewer #2: Yes

**********

3. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

**********

4. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

Reviewer #2: Yes

**********

5. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: 1. Does the paper demonstrate an adequate understanding of relevant literature in the field and cite an appropriate range of literature sources? It seems that a few related works are included in the paper. More recently published papers should be discussed in related work section, and also be compared to the proposed method.

2. Is the paper's argument built on an appropriate base of theory, concepts or other ideas? Has the research or equivalent intellectual work on which the paper is based been well designed? How authors justify that the methods employed are appropriate?

3.Introduction you have to tell what is need to this research work? What you can get from this? Has any research work, which did this earlier? What is the motivation behind this research work? Please rewrite contributions, it is not describing the paper in the current form.

4.he discussion of Experiment should be written more in-depth, more precise and concrete, such as what questions were resolved? How can the proposed method solve these problems? The most recent works should be discussed in the related work section:

Enforcing position-based confidentiality with machine learning paradigm through mobile edge computing in real-time industrial informatics.

Energy-aware Geographic Routing for Real Time Workforce Monitoring in Industrial Informatics

Energy-Aware Green Adversary Model for Cyber Physical Security in Industrial System

5.The evaluation part is not detailed enough and lacks the description of the experimental settings. Furthermore, it becomes hard to understand the advantages of the proposed mechanism due to the lack of comparison with the existing schemes. Although authors have provided various comparative results, however, more details on how proposed phenomenon performs better results against baseline is still missing in the paper.

6.Authors should add a section which describe the flowchart shows the implementation procedure of the software.

7.Finally, it is suggested to improve writing of this manuscript to ameliorate this paper readability.

Reviewer #2: The authors proposed a novel self-test scheme aimed to the faults and Hardware Trojans on AES IP core. The experiment results show that it has high coverage and low overhead. However, there are some questions needed to be answered or discussed.

1. Is the proposed Dual mode Self-test structure limited to AES design? Providing that it is applied to other designs, the performance and the overhead should be introduced.

2. In Results section, only two types of Trojans in Trust-Hub are inserted. Although these two Trojans are relatively typical, it may be not enough to evaluate the performance on HT detection.

3. In Table 3, the area overhead of the proposed method is 0.091%, If scan chain buffers are included and scan mode is full-scan, the overhead should be more than that. The scan chain and clock gating circuit should be demonstrated in detail.

4. The resolution of Figure 2 and Figure 5 is not high enough.

**********

6. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: Yes: Arun Kumar Sangaiah

Reviewer #2: No

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org. Please note that Supporting Information files do not need this step.

PLoS One. 2021 Dec 23;16(12):e0261431. doi: 10.1371/journal.pone.0261431.r002

Author response to Decision Letter 0


18 Oct 2021

Response to Reviewers

Editor’s Comments

1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at

Answer: Thank you so much for your comments. We have double check the manuscript for style requirements and followed the PlOS ONE style template.

2. We suggest you thoroughly copyedit your manuscript for language usage, spelling, and grammar. If you do not know anyone who can help you do this, you may wish to consider employing a professional scientific editing service.

Answer: We have checked the manuscript language usage thoroughly and the proof reading is done by the following personnel.

Dr. Md. Altaf-Ul-Amin, Associate Prof., Nara Institute of Science and Technology (NAIST), Ikoma, Nara, Japan.

Review Comments to the Author

Reviewer #1:

1. Does the paper demonstrate an adequate understanding of relevant literature in the field and cite an appropriate range of literature sources? It seems that a few related works are included in the paper. More recently published papers should be discussed in related work section, and also be compared to the proposed method.

2.

Answer: Thank you so much for your comments. We have added 18 more recent and relevant articles in the Introduction, Related work and comparison sections so that our claim can be justified more clearly. References [4-18], [66-67] and [74] are added. Reference [74] is added to the comparison Table-4 in Subsection-4.4.

3. Is the paper's argument built on an appropriate base of theory, concepts or other ideas? Has the research or equivalent intellectual work on which the paper is based been well designed? How authors justify that the methods employed are appropriate?

Answer: Thank you so much for no comments.

4. Introduction you have to tell what is need to this research work? What you can get from this? Has any research work, which did this earlier? What is the motivation behind this research work? Please rewrite contributions, it is not describing the paper in the current form.

Answer: Thank you so much for your comments. We have rewritten the whole Introduction Section with 15 more relevant articles and added one more paragraph (from line no. 9 to 33) in this Section to display the contribution of our work. The added paragraph is like below.

Due to this impressive security potentiality of AES, it is being used in various emerging applications, either in software or hardware implementations. Hardware implementation of the algorithm offers higher security and speed than that of its software implementation. Due to enormous speed and security performances, now a lot of research for hardware realization of the AES cryptoprocessor is reported in the literature [4-13]. Some of the research focuses on hardware resource optimization [4-6], while some other on speed optimization [7-9] and some other on power consumption optimization [10-13]. A very few works on built-in-self-test (BIST) has reported in literature [14-18]. Some of them focus on-chip test pattern generation on detecting circuit aging [14-16], and some other structures detect Trojans [17, 18]. The testability and hardware Trojans are two major concerns that make the AES chip complex and vulnerable. The problem of testability in the complex AES chip is not addressed yet, and also, the hardware Trojan is a significant security threat that can leak secret key information easily if the hardware is compromised. Hardware Trojans are the manipulation or insertion of some extra transistors in a chip which can result in information leaking from the AES chip [19]. The research motivation of this work is to facilitate the BIST implementation in AES cryptography processors in terms of testability and hardware security domain. From a testability perspective, the on-chip BIST structure can significantly reduce the test cost with extra hardware and performance overhead. There is a great concern of hardware-based attacks from the security domain, like hardware Trojans in recent state-of-the-art. The AES chip is vulnerable to hardware Trojan attacks, as some significant research displayed. Therefore, the main purpose of this research is to address these problems by implementing a dual-mode BIST technique into the AES chip to address the testability issues and analyze the overhead of area, delay, and power.

The key points are below.

The research motivation of our work is to facilitate the BIST implementation in AES cryptography processor in terms of testability and hardware security domain. AES is a proven symmetric key and latest cryptography algorithm adopted by USA military. It is a proven fact that AES outperforms all other existing symmetric key cryptography algorithms. Therefore, we would like to introduce the concept of a dual-mode BIST architecture in designing the AES crypto-processor ASIC which is not reported in the literature yet. At today’s VLSI design, the testability and hardware security of a complex VLSI chip are the prime concern. In testability perspective, the focus of this research is to address the testability issues of the AES crypto-processor chip which is not reported in the literature to the best of our knowledge. The objective of any BIST technique is getting higher number of fault-coverage using lower number of test vectors. In security domain, it is a proven fact that different software based crypt-analytical attacks such as Brute-force, Linear crypt-analysis and Differential crypt-analysis, etc., have been proven ineffective to break the AES. However, there is a great concern of hardware based attack like hardware Trojans in resent state of the art. The AES chip is vulnerable at hardware Trojan attack as some significant research displayed. Therefore, the main purpose of this research is to address these problems by implementing a dual-mode BIST technique into the chip which can solve the testability issue and Trojan security treats.

5. The discussion of Experiment should be written more in-depth, more precise and concrete, such as what questions were resolved? How can the proposed method solve these problems? The most recent works should be discussed in the related work section:

Enforcing position-based confidentiality with machine learning paradigm through mobile edge computing in real-time industrial informatics.

Energy-aware Geographic Routing for Real Time Workforce Monitoring in Industrial Informatics

Energy-Aware Green Adversary Model for Cyber Physical Security in Industrial System

Answer: Thank you for the comment. We would like to mention politely that our method is testing manufacturing faults and detecting hardware Trojans in the AES chip using built-in-self-test (BIST). This method is based on an on-chip testing of the AES chip under mixed mode (on-chip pattern storing and maximizing fault coverage) which does not reported in the literature yet, so far our knowledge. To facilitate our claim we perform design-for-testability with some hardware overhead and power consumption and compared to the state of the art. We would like to say politely that the mentioned titles are out of scope in this research. We have added 18 more articles to motivate the readers. We have added 1 more recent article [74] in the discussion and comparison Section 4.4.

6. The evaluation part is not detailed enough and lacks the description of the experimental settings. Furthermore, it becomes hard to understand the advantages of the proposed mechanism due to the lack of comparison with the existing schemes. Although authors have provided various comparative results, however, more details on how proposed phenomenon performs better results against baseline is still missing in the paper.

Answer: Thank you so much for the comment. We have added 18 more relevant papers and provided Figure-3 (Fig 3. Flowchart representation of the proposed PEAB pair generation) for getting PEAB pairs in our proposed DMST method. We have added Fig.6 to display the current sensor position in the layout of the AES chip. Fig.3, Fig. 6 and Fig.7 may help to understand the experimental setting and evaluation of the proposed method. A detailed evaluation results is presented in a new added Table-2 (see below). One more recent article is added in the comparison Table-4. Subsection-4.4 (Discussion and Comparison) is rewritten in details.

Table-2

Event Complete

design Scan

design Clock

gating Memory ADC Comparator

Total Area

in um width 2163275.57 110275.2 1968.58 520 241.34 163.18

Area Overhead 5.239% 5.097% 0.091% 0.024% 0.011% 0.0075%

Average power

in mW per block 17.521 3.627 0.0647 0.0171 0.007938 0.005368

Power overhead

per block 21.073% 20.703% 0.369% 0.098% 0.045% 0.031%

Critical path

delay in ps 592 178.38 50.0786 13.228 6.139 4.151

Delay overhead 42.56% 30.132% 8.459% 2.234% 1.037% 0.701%

7. Authors should add a section which describe the flowchart shows the implementation procedure of the software.

Answer: Thank you so much for the comment. Subsection 3.2 (Overview) describe of getting our proposed Power equal adjacent block (PEAB) pairs which is also displayed in Fig.3 as flow chart. The required hardware is described in Section 3.6 with the help of Fig. 6 (newly added) and Fig. 7. We have rewritten Section 3.6 in details.

8. Finally, it is suggested to improve writing of this manuscript to ameliorate this paper readability.

Answer: We have checked the manuscript language usage thoroughly and proof reading is done by the following personnel. Dr. Md. Altaf-Ul-Amin, Associate Prof., NAIST, Nara, Japan.

Reviewer #2:

1. Is the proposed Dual mode Self-test structure limited to AES design? Providing that it is applied to other designs, the performance and the overhead should be introduced.

Answer: Thank you so much for your valuable comment. Our proposed dual mode self-test structure is not limited to only AES design. This method is applicable to other ASIC designs. However, the research motivation of our work is to facilitate the BIST implementation in AES cryptography processor in terms of testability and hardware security domain. To the best of our knowledge, the testability issue of AES in hardware domain is not addressed yet. All the attempts are performed in software domain. We solve the testability issue by built-in-self-test (BIST) of AES chip in hardware domain. We propose a dual mode BIST structure that tests the AES chip with on-chip hardware. AES is a proven symmetric key and latest cryptography algorithm adopted by USA military. It is a proven fact that AES outperforms all other existing symmetric key cryptography algorithms. Therefore, we would like to introduce the concept of a dual-mode BIST architecture in designing the AES crypto-processor ASIC which is not reported in the literature yet. At today’s VLSI design, the testability and hardware security of a complex VLSI chip are the prime concern. In testability perspective, the focus of this research is to address the testability issues of the AES crypto-processor chip which is not reported in the literature to the best of our knowledge. The objective of any BIST technique is getting higher number of fault-coverage using lower number of test vectors. In security domain, it is a proven fact that different software based crypt-analytical attacks such as Brute-force, Linear crypt-analysis and Differential crypt-analysis, etc., have been proven ineffective to break the AES. However, there is a great concern of hardware based attack like hardware Trojans in resent state of the art. The AES chip is vulnerable at hardware Trojan attack as some significant research displayed. The main purpose of this research is to address these problems by implementing a dual-mode BIST technique into the chip which can solve the testability issue and the Trojan security treats.

The Introduction section is rewritten thoroughly to display the motivation of our work and added 18 more recent and relevant articles. We have added Table-2 to display more details of our proposed DMST method.

2. In Results section, only two types of Trojans in Trust-Hub are inserted. Although these two Trojans are relatively typical, it may be not enough to evaluate the performance on HT detection.

Answer: Thank you so much for your comment. We incorporated 2 more sequential Trojans from Trust Hub to validate our claim. AES-T300 and AES-T400 are two sequential Trojans that leak information when triggered. We have inserted them without any modifications.

3. In Table 3, the area overhead of the proposed method is 0.091%, If scan chain buffers are included and scan mode is full-scan, the overhead should be more than that. The scan chain and clock gating circuit should be demonstrated in detail.

Answer: Thank you so much for your comment. Our motivation is that, the scan chain technology is a well established testing method and people in this field consider the extra hardware cost as design-for-testability purposes. Therefore, the scan chain overhead is not considered in our technique rather we consider it as already included in the design. However, the test controller, the clock gating controller, memory, embedded current sensors and comparator unit are the extra hardware to obtain the power side-channel parameters. We have added Table-2, in which a detailed overhead of the test controller, clock gating controller, 16 current sensors, comparator circuit and memory units is presented in the result section. Fig 6 in Subsection-3.6 is added to display the current sensors placement. We have rewritten Subsection 3.6 to demonstrate our proposed test controller unit.

Table-2

Event Complete

design Scan

design Clock

gating Memory ADC Comparator

Total Area

in um width 2163275.57 110275.2 1968.58 520 241.34 163.18

Area Overhead 5.239% 5.097% 0.091% 0.024% 0.011% 0.0075%

Average power

in mW per block 17.521 3.627 0.0647 0.0171 0.007938 0.005368

Power overhead

per block 21.073% 20.703% 0.369% 0.098% 0.045% 0.031%

Critical path

delay in ps 592 178.38 50.0786 13.228 6.139 4.151

Delay overhead 42.56% 30.132% 8.459% 2.234% 1.037% 0.701%

4. The resolution of Figure 2 and Figure 5 is not high enough.

Answer: Thank you so much for your comments. We have redrawn Figure-2 and Figure-5 with high resolution as per Plos One standard of 300dpi.

Attachment

Submitted filename: Response-to-Riviewers.pdf

Decision Letter 1

Gulistan Raja

2 Dec 2021

A Dual Mode Self-Test for a Stand Alone AES Core

PONE-D-21-17578R1

Dear Dr. Hossain,

We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements.

Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication.

An invoice for payment will follow shortly after the formal acceptance. To ensure an efficient process, please log into Editorial Manager at http://www.editorialmanager.com/pone/, click the 'Update My Information' link at the top of the page, and double check that your user information is up-to-date. If you have any billing related questions, please contact our Author Billing department directly at authorbilling@plos.org.

If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

Kind regards,

Gulistan Raja

Academic Editor

PLOS ONE

Additional Editor Comments (optional):

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.

Reviewer #1: All comments have been addressed

Reviewer #2: All comments have been addressed

**********

2. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

Reviewer #2: Yes

**********

3. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

Reviewer #2: Yes

**********

4. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

Reviewer #2: Yes

**********

6. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: (No Response)

Reviewer #2: The comments are answered in detail, the related references are added and the resolution of figures is improved.

In my opinion, this paper can be considered for publication.

**********

7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: No

Acceptance letter

Gulistan Raja

10 Dec 2021

PONE-D-21-17578R1

A Dual Mode Self-Test for a Stand Alone AES Core

Dear Dr. Hossain:

I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now with our production department.

If your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information please contact onepress@plos.org.

If we can help with anything else, please email us at plosone@plos.org.

Thank you for submitting your work to PLOS ONE and supporting open access.

Kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Dr. Gulistan Raja

Academic Editor

PLOS ONE

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    Attachment

    Submitted filename: Response-to-Riviewers.pdf

    Data Availability Statement

    All relevant data are within the paper.


    Articles from PLoS ONE are provided here courtesy of PLOS

    RESOURCES