mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
plugins: sshd: sc25519 must handle last bit
This was originally commented because Coverity objected to it.
This commit is contained in:
parent
d77a6c397e
commit
9efc32ab49
1 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,8 @@ static void barrett_reduce(sc25519 *r, const uint32_t x[64])
|
|||
if(i+j >= 31) q2[i+j] += mu[i]*x[j+31];
|
||||
carry = q2[31] >> 8;
|
||||
q2[32] += carry;
|
||||
//carry = q2[32] >> 8;
|
||||
//q2[33] += carry;
|
||||
carry = q2[32] >> 8;
|
||||
q2[33] += carry;
|
||||
|
||||
for(i=0;i<33;i++)r1[i] = x[i];
|
||||
for(i=0;i<32;i++)
|
||||
|
|
Loading…
Add table
Reference in a new issue