anubhab001 / sbox-threshold-public

Source-codes (with examples) to get threshold implementations for a given SBox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository contains the accompanying codes for the paper: "From Substitution Box To Threshold" (IACR ePrint/Indocrypt 2023).

Contents

.
├───README.md
│
├───with-decomposition
│       decomposition.py
│       README.md
│       sample_decomp_log.txt
│
└───without-decomposition
        default-ls.txt
        no-decomposition.py
        README.md
        sample_wo_decomp_log.txt
        uniformity-table-generator.py

Dependency

All the codes are written for/tested with Sage 9.3, no other library is used. It (.py extension) can be run from the terminal from inside REPL ("load(<filename>)") or outside REPL ("sage <filename>").

About

Source-codes (with examples) to get threshold implementations for a given SBox

License:Eclipse Public License 2.0


Languages

Language:Python 100.0%