X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=sshecc.c;h=46e6fadbec500c077e886ff01c64f074f8b56139;hb=15386cbe927fc85ac2fed0bb47704645c4b67dad;hp=d62c9b96ef6dd42ed460a56a9aac27a1d0ce1b17;hpb=3ad0c89feca43af8c4e8ddb913bc232ad4fb5521;p=PuTTY.git diff --git a/sshecc.c b/sshecc.c index d62c9b96..46e6fadb 100644 --- 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)