Home Computer Science Hardware Security and Trust: Design and Deployment of Integrated Circuits in a Threatened Environment
Compilation of Program for Measurement
At this stage, you should have verified that the SmartCard works correctly (responds to the command for AES encryption), and that the signals from the card look reasonable. Press Disconnect or close JSmartCard Explorer, and close PicoScope 6 GUI. We will use a separate program to control both the SmartCard reader and the oscilloscope.
For measurement it is necessary to adjust and compile C++ program stored in an archive Pico5000.zip. Zip file contains source files and Microsoft Visual Studio project. After extracting the archive and opening the project in Microsoft Visual Studio you have to check the following settings in project properties:
Compile the program (Build ^ Build Solution). Before running the program do not forget:
otherwise the card and/or the PicoScope would be occupied, hence the measuring program will not be able to connect to it.
Fig. 4.8 Visual Studio project setup—include and library directory paths
Fig. 4.9 Visual Studio project setup—additional dependencies
Measured data are in file traces.bin, plaintext and cipher text in files plaintext.txt and ciphertext.txt and length of one measurement is stored in file traceLength.txt. Now you have measured data to be used for DPA.
|< Prev||CONTENTS||Next >|