ecc: Add point_resize and point_swap_cond.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 25 Nov 2015 01:19:39 +0000 (10:19 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Wed, 25 Nov 2015 01:19:39 +0000 (10:19 +0900)
commitb6015176df6bfae107ac82f9baa29ef2c175c9f9
treebe2406abdf56ba4d220fd16129b322fbbff2b764
parent940dc8adc034a6c6c38742f6bfd7d837a532d537
ecc: Add point_resize and point_swap_cond.

* mpi/ec.c (point_resize, point_swap_cond): New.
(_gcry_mpi_ec_mul_point): Use point_resize and point_swap_cond.

--

Thanks to Taylor R Campbell who suggests.
mpi/ec.c