Mercurial > dropbear
diff ecc.h @ 765:5503e05ab3a4 ecc
- Rename buf_put_ecc_pubkey_string() to buf_put_ecc_raw_pubkey_string()
- Reindent ecc.c properly
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 08 Apr 2013 23:56:31 +0800 |
parents | a78a38e402d1 |
children | d1575fdc29a6 |
line wrap: on
line diff
--- a/ecc.h Mon Apr 08 23:12:35 2013 +0800 +++ b/ecc.h Mon Apr 08 23:56:31 2013 +0800 @@ -20,8 +20,8 @@ // "pubkey" refers to a point, but LTC uses ecc_key structure for both public // and private keys -void buf_put_ecc_pubkey_string(buffer *buf, ecc_key *key); -ecc_key * buf_get_ecc_pubkey(buffer *buf, const struct dropbear_ecc_curve *curve); +void buf_put_ecc_raw_pubkey_string(buffer *buf, ecc_key *key); +ecc_key * buf_get_ecc_raw_pubkey(buffer *buf, const struct dropbear_ecc_curve *curve); int buf_get_ecc_privkey_string(buffer *buf, ecc_key *key); mp_int * dropbear_ecc_shared_secret(ecc_key *pub_key, ecc_key *priv_key);