Giter Club home page Giter Club logo

faster-residue-multiplication's Introduction

Faster-Residue-Multiplication and Application to ECC

We present faster residue multiplication modulo 521-bit Mersenne prime for 32- and 64-bit platforms by using Toeplitz Matrix-Vector Product (TMVP). The total arithmetic cost of our proposed algorithms is less than the existing algorithms. We implemented constant-time variable- and fixed-base scalar multiplication for the standard NIST curve P-521 and Edwards curve E-521.

The constant-time variable-base scalar multiplication using fixed-window 'w' is implemented using the “Algorithm 1” of J. W. Bos et al. paper “Selecting elliptic curves for cryptography: an efficiency and security analysis”. Instead of 2^{w-2}, the size of our pre-computed table is 2^{w-1}. Similarly, the constant-time fixed-base scalar multiplication is implemented using the modified LSB-set comb method algorithm proposed by J. W. Bos et al. i.e. “Algorithm 7”. But the point addition and doubling formulas are selected from the Explicit Formulas Database (EFD), managed by Daniel J. Bernstein and Tanja Lange, and from the “Curve41417: Karatsuba revisited” paper of Bernstein et al.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.