Skip to content

Constant-time big number library resistant to Spectre v1 written in Jasmin

Notifications You must be signed in to change notification settings

ruipedro16/libjbn-sslh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libjbn-sslh

Scripts

  • bench_bn.sh: Script to generate benchmark results for only integer arithmetic
    (for NLIMBS between $1 and $2). Results are stored in the data_bn directory.

  • compile-all-limbs.sh: Script to compile the library for the number of limbs between $1 and $2.

  • compile.sh: Compile the library and write the assembly files to the directory specified in $1. For 7 limbs, compilation takes approx. 2 minutes

  • run-bench.sh: Script to generate benchmark results (for NLIMBS in [1, 12]). Results are stored in the data directory.

  • run-tests.sh: Script to make sure that the Jasmin implementation outputs correct results (for 7 limbs only)

  • scalar_mul.py: Python script for scalar multiplication using the Montgomery Ladder

About

Constant-time big number library resistant to Spectre v1 written in Jasmin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published