cipher:kem:ecc: Support NIST curves.
* cipher/kem-ecc (ECC_SECKEY_LEN_MAX): Fix for P521R1. (algo_to_curve): Using canonical name, add NIST curves, (algo_to_seckey_len): Likewise. * cipher/kem.c (_gcry_kem_keypair, _gcry_kem_encap): Likewise. (_gcry_kem_decap): Likewise. * src/gcrypt.h.in (enum gcry_kem_algos): Likewise.
- GnuPG-bug-id: T6815
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>