comparison ecc.h @ 757:230666086711 ecc

ecc key import function
author Matt Johnston <matt@ucc.asn.au>
date Wed, 27 Mar 2013 23:50:52 +0800
parents bf9dc2d9c2b1
children 76fba0856749
comparison
equal deleted inserted replaced
756:bf9dc2d9c2b1 757:230666086711
7 #include "buffer.h" 7 #include "buffer.h"
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* ltc_set; 12 const ltc_ecc_set_type *dp; // curve domain parameters
13 const struct ltc_hash_descriptor *hash_desc; 13 const struct ltc_hash_descriptor *hash_desc;
14 const char *name; 14 const char *name;
15 }; 15 };
16 16
17 extern const struct dropbear_ecc_curve ecc_curve_secp256r1; 17 extern const struct dropbear_ecc_curve ecc_curve_secp256r1;