comparison ecc.h @ 766:d1575fdc29a6 ecc

start on ecdsa keys
author Matt Johnston <matt@ucc.asn.au>
date Tue, 09 Apr 2013 00:36:04 +0800
parents 5503e05ab3a4
children e465ed10c51d
comparison
equal deleted inserted replaced
765:5503e05ab3a4 766:d1575fdc29a6
8 8
9 #ifdef DROPBEAR_ECC 9 #ifdef DROPBEAR_ECC
10 10
11 struct dropbear_ecc_curve { 11 struct dropbear_ecc_curve {
12 const ltc_ecc_set_type *dp; // curve domain parameters 12 const ltc_ecc_set_type *dp; // curve domain parameters
13 const struct ltc_hash_descriptor *hash_desc; 13 const struct ltc_hash_descriptor *hashdesc;
14 const char *name; 14 const char *name;
15 }; 15 };
16 16
17 extern const struct dropbear_ecc_curve ecc_curve_nistp256; 17 extern const struct dropbear_ecc_curve ecc_curve_nistp256;
18 extern const struct dropbear_ecc_curve ecc_curve_nistp384; 18 extern const struct dropbear_ecc_curve ecc_curve_nistp384;