]> git.codecow.com Git - Monocypher.git/commit
Trim scalar in place
authorLoup Vaillant <loup@loup-vaillant.fr>
Thu, 16 Apr 2020 18:12:32 +0000 (20:12 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Thu, 16 Apr 2020 18:15:51 +0000 (20:15 +0200)
commit2d07cf75c4a43fed1f68f14f57cdc6cc421821e0
tree50d3daa4607d649373d82e3a3115718bb8a97386
parent2628471a1991b619b9f34b515ffab43781b7f25b
Trim scalar in place

Fixes #170

Reverts 6411aa419f113a283feac0240b736a1f7e1e8ed1

Turns out MSVC didn't like the aliasing in trim_scalar(), and managed to
break the code.

And this wasn't very elegant in hindsight anyway.
src/monocypher.c