summaryrefslogtreecommitdiff
path: root/src/dh.c
AgeCommit message (Expand)AuthorFilesLines
2019-08-08dh: Add ssh_dh_debug_crypto()Andreas Schneider1-0/+2
2019-06-12dh: Avoid segmentation fault in GEX if fallback to known moduliAnderson Toshiyuki Sasaki1-4/+12
2019-04-29dh-gex: Verify received primes in FIPS mode to match one of the known groupsJakub Jelen1-0/+27
2019-04-29dh-gex: Fall back to known primes when the moduli file is not readableJakub Jelen1-0/+27
2019-04-04dh: Move DH key handling into a separate file.Simo Sorce1-364/+25
2019-04-04dh: Confine DH KEX keys handling into fewer functionsSimo Sorce1-105/+224
2019-04-04dh: Rename variables for DH key exchangeSimo Sorce1-81/+128
2019-04-04mbedcrypto: Make bignum_bin2bn behave like othersSimo Sorce1-16/+0
2019-02-07Allow building without Group Exchange supportJakub Jelen1-0/+2
2019-02-07dh: Add function references to ssh_print_hash() docAndreas Schneider1-0/+3
2019-01-30dh: harden error handling in 'ssh_dh_init_common'Jon Simons1-0/+3
2019-01-30dh: plug pubkey_blob leak in ssh_server_dh_process_initJon Simons1-1/+4
2019-01-26dh: Reformat ssh_dh_debug, ssh_dh_build_k and unbreak build with DEBUG_CRYPTOJakub Jelen1-21/+29
2019-01-24dh-gex: Add server implementationAris Adamantiadis1-9/+38
2019-01-24wrapper: Move dh cleanup into dh.cAris Adamantiadis1-6/+4
2019-01-24dh: move state changes inside DH codeAris Adamantiadis1-0/+1
2019-01-24dh: Do some basic refactoringAris Adamantiadis1-339/+209
2019-01-24bignum: harmonize gcrypt, libcrypto and libmcrypt bignumAris Adamantiadis1-131/+42
2019-01-24dh: move unrelated functions out of dh.cAris Adamantiadis1-708/+0
2019-01-24kex: use runtime callbacks (server)Aris Adamantiadis1-0/+149
2019-01-24kex: use runtime callbacks (client)Aris Adamantiadis1-3/+29
2019-01-09dh: Make sure we do not access uninitialized memoryJakub Jelen1-0/+4
2018-09-20dh: Use ssh_get_fingerprint_hash() in ssh_print_hash()Andreas Schneider1-23/+6
2018-09-20dh: Add ssh_get_fingerprint_hash()Andreas Schneider1-0/+73
2018-09-20dh: Removed duplicated codeAnderson Toshiyuki Sasaki1-15/+5
2018-09-20dh: Add diffie-hellman-group18-sha512 supportAnderson Toshiyuki Sasaki1-0/+125
2018-09-19dh: Add diffie-hellman-group16-sha512 supportAnderson Toshiyuki Sasaki1-39/+156
2018-08-29dh: Add ssh_print_hash() function which can deal with sha256Jan-Niklas Burfeind1-0/+80
2018-08-29dh: Add SSH_PUBLICKEY_HASH_SHA256 to ssh_get_publickey_hash()Jan-Niklas Burfeind1-0/+23
2018-08-01buffer: Add and use ssh_buffer_allocate_size()Pino Toscano1-0/+18
2018-07-05bignum: Make bignum_free saferAris Adamantiadis1-21/+16
2018-07-05crypto: Split init and finalize functionsAris Adamantiadis1-56/+43
2018-07-05bignum: Harmonize ssh_get_random()Aris Adamantiadis1-43/+0
2018-06-29kex: add curve25519-sha256 as alias for curve25519-sha256@libssh.orgTilo Eckert1-1/+3
2018-06-28libgcrypt: make it compatible with chacha20Aris Adamantiadis1-0/+1
2018-06-28chacha: packet encryptionAris Adamantiadis1-0/+3
2018-06-28Remove vim modelines from all filesAndreas Schneider1-2/+0
2018-06-27dh: fix two leaks in `ssh_get_pubkey_hash`Jon Simons1-2/+7
2018-06-27dh: fix `ssh_get_pubkey_hash` indentationJon Simons1-38/+37
2018-06-27dh: Fix reference to ssh_session_update_known_hosts()Andreas Schneider1-1/+1
2018-03-21crypto: Change the type of server_pubkey to ssh_keyAndreas Schneider1-15/+83
2018-01-18dh: Use calloc() instead of malloc()Andreas Schneider1-1/+1
2017-12-28add mbedtls crypto supportJuraj Vijtiuk1-0/+29
2017-10-29dh: Don't use deprecated function with newer OpenSSLAndreas Schneider1-0/+7
2017-08-24ecdh: enable ecdh_sha2_nistp{384,521} kex methodsJon Simons1-1/+25
2016-05-02dh: Print hexadecimal data to stderrJustus Winter1-1/+1
2016-05-02dh: Rename ssh_get_publickey() to ssh_get_server_publickey()Andreas Schneider1-1/+9
2016-02-23dh: Fix CVE-2016-0739Aris Adamantiadis1-5/+17
2016-01-19buffer: use ssh_buffer_get() instead of ssh_buffer_get_begin()Fabiano FidĂȘncio1-1/+1
2016-01-19buffer: do not use ssh_buffer_get_rest_len()Fabiano FidĂȘncio1-6/+6