mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-30 13:01:23 +03:00
sc25519: Fix integer types in sc25519_mul()
Fixes T188 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
2
src/external/sc25519.c
vendored
2
src/external/sc25519.c
vendored
@@ -253,7 +253,7 @@ void sc25519_sub_nored(sc25519 *r, const sc25519 *x, const sc25519 *y)
|
||||
|
||||
void sc25519_mul(sc25519 *r, const sc25519 *x, const sc25519 *y)
|
||||
{
|
||||
int i,j,carry;
|
||||
uint32_t i,j,carry;
|
||||
uint32_t t[64];
|
||||
|
||||
for (i = 0; i < 64; i++) {
|
||||
|
||||
Reference in New Issue
Block a user