]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - sshecc.c
Cross-reference all the host key docs.
[PuTTY.git] / sshecc.c
index d62c9b96ef6dd42ed460a56a9aac27a1d0ce1b17..46e6fadbec500c077e886ff01c64f074f8b56139 100644 (file)
--- a/sshecc.c
+++ b/sshecc.c
@@ -2937,6 +2937,9 @@ const unsigned char *ec_alg_oid(const struct ssh_signkey *alg,
     return extra->oid;
 }
 
+const int ec_nist_curve_lengths[] = { 256, 384, 521 };
+const int n_ec_nist_curve_lengths = lenof(ec_nist_curve_lengths);
+
 const int ec_nist_alg_and_curve_by_bits(int bits,
                                         const struct ec_curve **curve,
                                         const struct ssh_signkey **alg)