comparison ecc.h @ 1478:3a933956437e coverity

update coverity
author Matt Johnston <matt@ucc.asn.au>
date Fri, 09 Feb 2018 23:49:22 +0800
parents 06d52bcb8094
children d68d61e7056a
comparison
equal deleted inserted replaced
1439:8d24733026c5 1478:3a933956437e
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 */