International Association for Cryptologic Research

International Association
for Cryptologic Research

Transactions on Cryptographic Hardware and Embedded Systems, Volume 2023

Exploiting Intermediate Value Leakage in Dilithium: A Template-Based Approach


README

Exploiting Intermediate Value Leakage in Dilithium: A Template-Based Approach

This is an artifact for the corresponding article accepted for CHES 2023.

Getting Started

### Environment Installation

Require Python >=3.11 \
Launch pipenv install \
Require Sagemath >=9.5

### Getting the data sets

Copy and unzip dataset.zip into template/dataset (download it from: Dropbox - dataset - Simplify your life)

### Getting the C code

Download it from here: https://github.com/pq-crystals/dilithium
Then, add the content of the C materials folder inside dilithium/ref (replace the makefile)

### License

See LICENSE.txt