comparison ecc.h @ 1511:5916af64acd4 fuzz

merge from main
author Matt Johnston <matt@ucc.asn.au>
date Sat, 17 Feb 2018 19:29:51 +0800
parents 06d52bcb8094
children d68d61e7056a
comparison
equal deleted inserted replaced
1457:32f990cc96b1 1511:5916af64acd4
27 and private keys */ 27 and private keys */
28 void buf_put_ecc_raw_pubkey_string(buffer *buf, ecc_key *key); 28 void buf_put_ecc_raw_pubkey_string(buffer *buf, ecc_key *key);
29 ecc_key * buf_get_ecc_raw_pubkey(buffer *buf, const struct dropbear_ecc_curve *curve); 29 ecc_key * buf_get_ecc_raw_pubkey(buffer *buf, const struct dropbear_ecc_curve *curve);
30 int buf_get_ecc_privkey_string(buffer *buf, ecc_key *key); 30 int buf_get_ecc_privkey_string(buffer *buf, ecc_key *key);
31 31
32 mp_int * dropbear_ecc_shared_secret(ecc_key *pub_key, ecc_key *priv_key); 32 mp_int * dropbear_ecc_shared_secret(ecc_key *pub_key, const ecc_key *priv_key);
33 33
34 #endif 34 #endif
35 35
36 #endif /* DROPBEAR_DROPBEAR_ECC_H */ 36 #endif /* DROPBEAR_DROPBEAR_ECC_H */