Mercurial > dropbear
comparison common-kex.c @ 1511:5916af64acd4 fuzz
merge from main
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 17 Feb 2018 19:29:51 +0800 |
parents | a90fdd2d2ed8 06d52bcb8094 |
children | 2f64cb3d3007 |
comparison
equal
deleted
inserted
replaced
1457:32f990cc96b1 | 1511:5916af64acd4 |
---|---|
719 { | 719 { |
720 m_burn(param->priv, CURVE25519_LEN); | 720 m_burn(param->priv, CURVE25519_LEN); |
721 m_free(param); | 721 m_free(param); |
722 } | 722 } |
723 | 723 |
724 void kexcurve25519_comb_key(struct kex_curve25519_param *param, buffer *buf_pub_them, | 724 void kexcurve25519_comb_key(const struct kex_curve25519_param *param, const buffer *buf_pub_them, |
725 sign_key *hostkey) { | 725 sign_key *hostkey) { |
726 unsigned char out[CURVE25519_LEN]; | 726 unsigned char out[CURVE25519_LEN]; |
727 const unsigned char* Q_C = NULL; | 727 const unsigned char* Q_C = NULL; |
728 const unsigned char* Q_S = NULL; | 728 const unsigned char* Q_S = NULL; |
729 char zeroes[CURVE25519_LEN] = {0}; | 729 char zeroes[CURVE25519_LEN] = {0}; |