1
1

sc25519: Fix integer types of sc25519_add()

Fixes T188

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Этот коммит содержится в:
Andreas Schneider 2019-10-31 13:55:42 +01:00
родитель f2d40fb94c
Коммит 815f874964

2
src/external/sc25519.c поставляемый
Просмотреть файл

@ -223,7 +223,7 @@ int sc25519_lt_vartime(const sc25519 *x, const sc25519 *y)
void sc25519_add(sc25519 *r, const sc25519 *x, const sc25519 *y)
{
int i, carry;
uint32_t i, carry;
for (i = 0; i < 32; i++) {
r->v[i] = x->v[i] + y->v[i];