]> git.codecow.com Git - Monocypher.git/commit
Incremental left to right sliding windows
authorLoup Vaillant <loup@loup-vaillant.fr>
Sun, 6 Oct 2019 21:58:38 +0000 (23:58 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sun, 6 Oct 2019 21:58:38 +0000 (23:58 +0200)
commit73640be789f948cf21d45357f3a385c9cfbe3109
treefa36e0a81308d156ab7eb660504b3242994d7360
parent9a02ed5c8f73433841d7e7b72ee20d5bbaeee1b2
Incremental left to right sliding windows

The main loop of the scalar multiplication goes one by one, so we can't
have the sliding loop skip indices.  By adding a context that keeps
track of the next needed addition (as well as its value), we'll be able
to fuse the two slides and the scalar multiplication together.
src/monocypher.c