https://github.com/kuleuven-cosic/fast_batched_transciphering

This repository contains the code necessary to replicate the timings and other results from the paper "Fast Transciphering Via Batched And Reconfigurable LUT Evaluation"

https://github.com/kuleuven-cosic/fast_batched_transciphering

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.4%) to scientific vocabulary
Last synced: 4 months ago · JSON representation

Repository

This repository contains the code necessary to replicate the timings and other results from the paper "Fast Transciphering Via Batched And Reconfigurable LUT Evaluation"

Basic Info
  • Host: GitHub
  • Owner: KULeuven-COSIC
  • License: gpl-3.0
  • Language: C++
  • Default Branch: main
  • Size: 50.8 KB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

Fast Transciphering Via Batched And Reconfigurable LUT Evaluation

This repository contains the materials necessary to replicate the timings of the article:

“Fast Transciphering Via Batched And Reconfigurable LUT Evaluation”. IACR Transactions on Cryptographic Hardware and Embedded Systems, vol. 2024, no. 4, Sept. 2024, pp. 205-30, https://doi.org/10.46586/tches.v2024.i4.205-230.

Build

Build instructions:

  • Install Clang Version >= 15 and set the CC and CXX variables accordingly.
  • chmod +x install_openfhe.sh
  • ./install_openfhe.sh 64. Replace 64 by 32 for Paramter Set I or II, and change the set as well in LUTEvalParams.h when using a set different from Set IV
  • mkdir build && cd build
  • cmake ..
  • make -j 16

Execution

For optimal performance during execution, we suggest the following:

  • Important, especially on laptops. Determine which CPU cores are performance cores (as opposed to E cores), e.g. via a system monitor
  • Use cpufreq-set to the the cpu frequency to maximum. By default, processors will not run at the maximum frequency.
  • Several example_* should be in the build directory. The most important binaries are example_aes and example_bitdecomp (for LUT timing)
  • Execute using taskset and assign the core which was set to maximum frequency

Related works

The folder relatedworkscripts contains two scripts. The first one contains a sage script using the lattice estimator to estimate the security of the first related work on transciphering (TSBS23). The second script estimates the failure probability of related work number two (WWL24).

Owner

  • Name: KU Leuven - COSIC
  • Login: KULeuven-COSIC
  • Kind: organization

GitHub Events

Total
  • Watch event: 2
  • Member event: 1
  • Push event: 1
  • Create event: 1
Last Year
  • Watch event: 2
  • Member event: 1
  • Push event: 1
  • Create event: 1