Ascon SCA software and hardware databases
<h2><strong>Software and hardware side-channel analysis databases for attack on Ascon AEAD</strong><br> </h2><p>This repository contains datasets collected for side-channel analysis attack on Ascon AEAD.</p><p>The repository is divided into two folders, one for software side-channel analysis and one for hardware side-channel analysis:</p><p> </p><p>- cw.zip</p><p> - ascon_collect.ipynb : Jupyter Notebook used to collect the traces for the unprotected Ascon implementation</p><p> - ascon_protected_collect.ipynb : Jupyter Notebook used to collect the traces for the protected Ascon implementation</p><p> - simpleserial-ascon : Ascon firmwares used to collect the traces</p><p>- hw.zip</p><p> - ascon_g_protected</p><p> - test_ascon.py : Script to test the protected Ascon implementation</p><p> - collect_lecroy.py : Script to collect traces for unprotected Ascon implementation with Lecroy oscilloscope</p><p> - rtl_src : RTL source files for the protected Ascon implementation</p><p> - ascon_g_unprotected</p><p> - test_ascon.py : Script to test the unprotected Ascon implementation</p><p> - collect_lecroy.py : Script to collect traces for unprotected Ascon implementation with Lecroy oscilloscope</p><p> - rtl_src : RTL source files for the unprotected Ascon implementation</p><p>- helpers.zip</p><p> - ASCON.py : Python implementation of Ascon</p><p> - SASEBO.py : Helper functions to communicate with the SAKURA-G board</p><p> - lecroy3.py : Helper functions for Lecroy oscilloscope</p><p> - ascon_helper.py : Helper functions for Ascon</p><p> - convert_trs_to_h5.py : Script to convert Trsfile traceset to HDF5 database</p><p> </p><p>ascon_cw_protected.h5 : Side-channel database for software protected Ascon implementation</p><p>ascon_cw_unprotected.h5 : Side-channel database for software unprotected Ascon implementation</p><p>ascon_hw_protected.h5 : Side-channel database for hardware protected Ascon implementation</p><p>ascon_hw_unprotected.h5 : Side-channel database for hardware unprotected Ascon implementation</p><p> </p><p>ascon_cw_protected.trs : Traces for software protected Ascon implementation</p><p>ascon_cw_unprotected.trs : Traces for software unprotected Ascon implementation</p><p>ascon_hw_protected.trs : Traces for hardware protected Ascon implementation</p><p>ascon_hw_unprotected.trs : Traces for hardware unprotected Ascon implementation</p><p> </p><h3><strong>Ascon authenticated encryption attack on a Chipwhisperer STM32F4</strong> </h3><p>The dataset was used for side-channel attack on Ascon initialization phase attack of the authenticated encryption mode on a ChipWhisperer STM32F4 target board.</p><p>The power traces are collected with the ChipWhisperer-Lite oscilloscope at a sampling rate of 4x the target clock frequency, and captures the first call of the round function of the Chi function of Ascon permutation.</p><p>The code used to collect the traces is also available in this repository, and the trace collection can be replicated with a ChipWhisperer-Lite and a STM32F4 target board.</p><p> </p><h3><strong>Ascon authenticated encryption attack on a SAKURA-G FPGA</strong></h3><p>The hardware designs of the unprotected and protected Ascon implementations are available in the `hw` folder.</p><p>Both implementations are written in VHDL/Verilog and can be synthesized for Spartan6 (XC6SLX75) with Xilinx ISE.</p><p>Traces are collected with a Lecroy WaveRunner 610Zi oscilloscope at a sampling rate of 500 MS/s.</p><p> </p><h3><strong>Databases description:</strong></h3><p>Database | Ntraces | Traces (samples) | Label* (bytes) | Metadata (bytes) </p><p> | Nf | Nr | | | Key | Nonce | Plaintext | Associated data | Ciphertext | Tag</p><p>ascon_cw_unprotected.h5 | 100,000 | 100,000 | 772 | 64 | 16 | 16 | 4 | 4 | 4 | 16</p><p>ascon_cw_protected.h5 | 500,000 | 500,000 | 1408 | 64 | 32 | 32 | 16 | 16 | 16 | 32</p><p>ascon_hw_unprotected.h5 | 100,000 | 100,000 | 6,000 | 64 | 16 | 16 | 4 | 4 | 4 | 16</p><p>ascon_hw_protected.h5 | 500,000 | 500,000 | 10,000 | 64 | 32 | 32 | 8 | 8 | 8 | 32</p><p> </p><p>*Label computed with the intermediate_value leakage model described in `ascon_helper.py`</p>
ShareScore
48/100
Overall dataset sharing score
Score breakdown
These five areas show where the dataset supports — or may limit — practical reuse.
- Stewardship
- 12
- Harmonization
- 4
- Access
- 20
- Reuse readiness
- 8
- Engagement
- 4