mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
sandy2x: mask the top bit
This commit is contained in:
@@ -35,7 +35,7 @@ void fe_frombytes(fe h,const unsigned char *s)
|
||||
crypto_uint64 h6 = load_3(s + 20) << 7;
|
||||
crypto_uint64 h7 = load_3(s + 23) << 5;
|
||||
crypto_uint64 h8 = load_3(s + 26) << 4;
|
||||
crypto_uint64 h9 = load_3(s + 29) << 2;
|
||||
crypto_uint64 h9 = (load_3(s + 29) & 8388607) << 2;
|
||||
crypto_uint64 carry0;
|
||||
crypto_uint64 carry1;
|
||||
crypto_uint64 carry2;
|
||||
|
||||
Reference in New Issue
Block a user