cipher: Factor functions for ECC selftests.
* cipher/ecc.c: Factor out data for ECC selftests. (selftest_hash_sign, selftest_sign): Have more arguments. (selftests_ecc): Rename from selftests_ecdsa, having more args. Follow the change of selftest_hash_sign, selftest_sign with data. (run_selftests): Call selftests_ecc with constants of ECDSA.
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>