summaryrefslogtreecommitdiffhomepage
path: root/common-kex.c
AgeCommit message (Collapse)Author
2017-08-19Pointer parameter could be declared as pointing to constFrancois Perrad
2017-06-01fix DEBUG_* conditionFrancois Perrad
2016-05-04Convert #ifdef to #if, other build changesMatt Johnston
2016-03-16fix empty C prototypesFrancois Perrad
2016-03-15Merge branch '20151231_indent' of https://github.com/fperrad/dropbear into ↵Matt Johnston
fperrad-20151231_indent
2016-01-14Move dh group constants to a separate fileMatt Johnston
2016-01-01more hard tabFrancois Perrad
2015-11-25check for zero K value from curve25519Matt Johnston
2015-06-23check ecc key return, fix null pointer crashMatt Johnston
2015-06-04buf_getstring and buf_putstring now use non-unsigned char*Matt Johnston
2015-05-05Turn sshsession's remoteident attribute into char *Gaël PORTAY
2015-05-05Fix pointer differ in signess warnings [-Werror=pointer-sign]Gaël PORTAY
2015-03-01A bit of a bodge to avoid memcpy if zlib is disabledMatt Johnston
--HG-- branch : nocircbuffer
2015-02-10Tighten validation of DH values. Odds of x==0 being generated areMatt Johnston
improbable, roughly 2**-1023 Regression in 0.49
2015-01-28Disable non-delayed zlib for serverMatt Johnston
2015-01-04clear hash state memory after useMatt Johnston
2014-03-13Add new monotonic_now() wrapper so that timeouts are unaffected byMatt Johnston
system clock changes
2014-02-24Make some debug info conditionalMatt Johnston
2014-01-23requirenext doesn't need two valuesMatt Johnston
2014-01-23Fix failing rekeying when we receive a still-in-flight packetMatt Johnston
2014-01-17DROPBEAR_CLI_AUTH_IMMEDIATE fixed, now enabled by defaultMatt Johnston
2013-11-14rename random.h to dbrandom.h since some OSes have a system random.hMatt Johnston
--HG-- rename : random.c => dbrandom.c rename : random.h => dbrandom.h
2013-11-14use oldstyle commentsMatt Johnston
2013-11-14- Some fixes for old compilers like tru64 v4 from Daniel Richard G.Matt Johnston
- Don't warn about blocking random device for prngd
2013-11-12Various cleanups and fixes for warningsMatt Johnston
--HG-- branch : ecc
2013-11-08curve25519Matt Johnston
--HG-- branch : ecc
2013-05-23Add m_mp_alloc_init_multi() helperMatt Johnston
--HG-- branch : ecc
2013-05-21merge in HEADMatt Johnston
--HG-- branch : ecc
2013-04-16Fix build when zlib is disabled, fromMatt Johnston
http://freetz.org/browser/trunk/make/dropbear/patches/350-no_zlib_fix.patch
2013-04-14requirenext fixup for firstkexfollowsMatt Johnston
2013-04-14A bit of work on ecdsa for host/auth keysMatt Johnston
--HG-- branch : ecc
2013-04-11Fix zlib for split newkeysMatt Johnston
2013-04-09start on ecdsa keysMatt Johnston
--HG-- branch : ecc
2013-04-08- Rename buf_put_ecc_pubkey_string() to buf_put_ecc_raw_pubkey_string()Matt Johnston
- Reindent ecc.c properly --HG-- branch : ecc
2013-04-08ecdh works against OpenSSHMatt Johnston
--HG-- branch : ecc
2013-04-08- Fix various hardcoded uses of SHA1Matt Johnston
- rename curves to nistp256 etc - fix svr-auth.c TRACE problem --HG-- branch : ecc
2013-04-07ecc kind of works, needs fixing/testingMatt Johnston
--HG-- branch : ecc
2013-04-04Take transmit and receive keys into use separatelyMatt Johnston
2013-04-03Put some #ifdef options around first-follows options in case theyMatt Johnston
need to be disabled --HG-- branch : kexguess
2013-03-30Get rid of client/server specific buf_match_algo, use singleMatt Johnston
function with a couple of if statements instead --HG-- branch : kexguess
2013-03-29Add kexguess2 behaviourMatt Johnston
--HG-- branch : kexguess
2013-03-29first_kex_packet_follows working, needs tidyingMatt Johnston
--HG-- branch : kexguess
2013-03-29More changes for KEX and ECDH. Set up hash descriptors, make ECC code work,Matt Johnston
ses.hash and ses.session_id are now buffers (doesn't compile) --HG-- branch : ecc
2013-03-27ecc key import functionMatt Johnston
--HG-- branch : ecc
2013-03-27more bits on ecc branchMatt Johnston
--HG-- branch : ecc
2013-03-26refactor kexdh code a bit, start working on ecdh etcMatt Johnston
--HG-- branch : ecc
2013-03-20Fix "-m none" case and ugly typoMatt Johnston
2012-05-17Merge in "-m"/"-c" codeMatt Johnston
--HG-- branch : insecure-nocrypto
2012-05-17ENABLE_USER_ALGO_LIST should work for the clientMatt Johnston
2012-05-17Add rough support for choosing ciphers/hashes with "-c" or "-m"Matt Johnston