aboutsummaryrefslogtreecommitdiff
path: root/src/ext/ed25519/ref10/sc_reduce.c
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2014-09-28 20:34:21 -0400
committerNick Mathewson <nickm@torproject.org>2014-09-28 20:38:12 -0400
commit6b155dc1a6c7c7bd345514a31288c260e4588216 (patch)
tree433847c19e0ad3d19d4ea85c4f6f9f4b49d309c6 /src/ext/ed25519/ref10/sc_reduce.c
parent5190ec0bc4c22d7bab756e21db6e357ba07379c4 (diff)
downloadtor-6b155dc1a6c7c7bd345514a31288c260e4588216.tar.gz
tor-6b155dc1a6c7c7bd345514a31288c260e4588216.zip
Stop signed left shifts overflowing in ed25519: Macros
The macros let us use unsigned types for potentially overflowing left shifts. Create SHL32() and SHL64() and SHL8() macros for convenience.
Diffstat (limited to 'src/ext/ed25519/ref10/sc_reduce.c')
0 files changed, 0 insertions, 0 deletions