summaryrefslogtreecommitdiff
path: root/nss/lib/freebl/ecl/curve25519_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/lib/freebl/ecl/curve25519_64.c')
-rw-r--r--nss/lib/freebl/ecl/curve25519_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/lib/freebl/ecl/curve25519_64.c b/nss/lib/freebl/ecl/curve25519_64.c
index 89327ad..65f6bd4 100644
--- a/nss/lib/freebl/ecl/curve25519_64.c
+++ b/nss/lib/freebl/ecl/curve25519_64.c
@@ -206,7 +206,7 @@ fexpand(felem *output, const u8 *in)
output[1] = (*((const uint64_t *)(in + 6)) >> 3) & MASK51;
output[2] = (*((const uint64_t *)(in + 12)) >> 6) & MASK51;
output[3] = (*((const uint64_t *)(in + 19)) >> 1) & MASK51;
- output[4] = (*((const uint64_t *)(in + 25)) >> 4) & MASK51;
+ output[4] = (*((const uint64_t *)(in + 24)) >> 12) & MASK51;
}
/* Take a fully reduced polynomial form number and contract it into a