ecc: Default cofactor 1 for PUBKEY_FLAG_PARAM.
authorNiibe Yutaka <gniibe@fsij.org>
Thu, 16 Jun 2016 01:56:28 +0000 (10:56 +0900)
committerNiibe Yutaka <gniibe@fsij.org>
Thu, 16 Jun 2016 01:56:28 +0000 (10:56 +0900)
commit0f3a069211d8d24a61aa0dc2cc6c4ef04cc4fab7
tree4c99b2bae58adb0f83fb32417d4e94493ace324e
parentfa917d2e24b0c98143a079ab4889ad8f69bee446
ecc: Default cofactor 1 for PUBKEY_FLAG_PARAM.

* cipher/ecc.c (ecc_check_secret_key, ecc_sign, ecc_verify)
(ecc_encrypt_raw, ecc_decrypt_raw, compute_keygrip): Set default
cofactor as 1, when not specified.

--

GnuPG-bug-id: 2347
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
cipher/ecc.c