ecc: Relax condition for 25519 computations.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 23 Aug 2017 02:11:17 +0000 (11:11 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 29 Aug 2017 01:14:08 +0000 (10:14 +0900)
commite9be23c4ad9f42c9d3198c706f912b7e27f574bc
tree57e63a06b0a9d99e4617ace613d306b8c05b5489
parent449459a2770d3aecb1f36502bf1903e0cbd2873e
ecc: Relax condition for 25519 computations.

* mpi/ec.c (ec_addm_25519, ec_subm_25519, ec_mulm_25519): Check number
of limbs, allocated more is OK.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
mpi/ec.c