commit | f05a273f1bd6a083cb922cc3c5565ad01cbc05e0 | [log] [tgz] |
---|---|---|
author | Andy Lutomirski <luto@amacapital.net> | Thu Mar 13 17:22:25 2014 -0700 |
committer | Andy Lutomirski <luto@amacapital.net> | Thu Mar 13 17:40:33 2014 -0700 |
tree | 41dcb073ffdc3bc83c511ece228bc440a0238005 | |
parent | 76a6133518e5671cc6380304fdc06aae66542d7c [diff] |
Identify elliptic curves by short name, not NID Using NIDs is awkward and requires updating pyOpenSSL every time a new curve is added. This approach avoids needing to update pyOpenSSL each time a new curve is added, and it results in more readable code and a more readable dict ELLIPTIC_CURVE_DESCRIPTIONS.