OpenBSD CVS

CVS log for src/usr.bin/ssh/dh.h


[BACK] Up to [local] / src / usr.bin / ssh

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19 / (download) - annotate - [select for diffs], Fri Mar 12 04:08:19 2021 UTC (3 years, 2 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, HEAD
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Add ModuliFile keyword to sshd_config to specify the location of the
"moduli" file containing the groups for DH-GEX.  This will allow us to
run tests against arbitrary moduli files without having to install them.
ok djm@

Revision 1.18 / (download) - annotate - [select for diffs], Fri Sep 6 05:23:55 2019 UTC (4 years, 8 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.17: +5 -2 lines
Diff to previous 1.17 (colored)

fixes for !WITH_OPENSSL compilation; ok dtucker@

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jan 20 01:12:40 2019 UTC (5 years, 3 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

DH-GEX min value is now specified in RFC8270.  ok djm@

Revision 1.16 / (download) - annotate - [select for diffs], Thu Sep 13 02:08:33 2018 UTC (5 years, 8 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

hold our collective noses and use the openssl-1.1.x API in OpenSSH;
feedback and ok tb@ jsing@ markus@

Revision 1.15 / (download) - annotate - [select for diffs], Mon May 2 10:26:04 2016 UTC (8 years ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored)

add support for additional fixed DH groups from
draft-ietf-curdle-ssh-kex-sha2-03

diffie-hellman-group14-sha256 (2K group)
diffie-hellman-group16-sha512 (4K group)
diffie-hellman-group18-sha512 (8K group)

based on patch from Mark D. Baushke and Darren Tucker
ok markus@

Revision 1.14 / (download) - annotate - [select for diffs], Fri Oct 16 22:32:22 2015 UTC (8 years, 7 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.13: +6 -3 lines
Diff to previous 1.13 (colored)

increase the minimum modulus that we will send or accept in
diffie-hellman-group-exchange to 2048 bits; ok markus@

Revision 1.13 / (download) - annotate - [select for diffs], Wed May 27 23:39:18 2015 UTC (8 years, 11 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Add a stronger (4k bit) fallback group that sshd can use when the moduli
file is missing or broken, sourced from RFC3526.  bz#2302, ok markus@
(earlier version), djm@

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jan 19 20:16:15 2015 UTC (9 years, 3 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

adapt kex to sshbuf and struct ssh; ok djm@

Revision 1.11 / (download) - annotate - [select for diffs], Tue Oct 8 11:42:13 2013 UTC (10 years, 7 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

Increase the size of the Diffie-Hellman groups requested for a each symmetric
key size.  New values from NIST Special Publication 800-57 with the upper
limit specified by RFC4419.  Pointed out by Peter Backes, ok djm@.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jun 26 09:19:40 2008 UTC (15 years, 10 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.9: +25 -1 lines
Diff to previous 1.9 (colored)

when loading moduli from /etc/moduli in sshd(8), check that they
are of the expected "safe prime" structure and have had
appropriate primality tests performed;
feedback and ok dtucker@

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Fri Oct 6 03:19:32 2006 UTC (17 years, 7 months ago) by brad
Branch: OPENBSD_3_8
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

upgrade to OpenSSH 4.4

Revision 1.8.8.1 / (download) - annotate - [select for diffs], Sat Sep 30 04:06:50 2006 UTC (17 years, 7 months ago) by brad
Branch: OPENBSD_3_9
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

upgrade to OpenSSH 4.4

Revision 1.9 / (download) - annotate - [select for diffs], Sat Mar 25 22:22:43 2006 UTC (18 years, 1 month ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored)

standardise spacing in $OpenBSD$ tags; requested by deraadt@

Revision 1.7.10.1 / (download) - annotate - [select for diffs], Thu Aug 19 22:37:31 2004 UTC (19 years, 9 months ago) by brad
Branch: OPENBSD_3_4
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

upgrade to OpenSSH 3.9

Revision 1.7.12.1 / (download) - annotate - [select for diffs], Thu Aug 19 04:13:26 2004 UTC (19 years, 9 months ago) by brad
Branch: OPENBSD_3_5
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

upgrade to OpenSSH 3.9

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jun 13 12:53:24 2004 UTC (19 years, 11 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_8_BASE, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Branch point for: OPENBSD_3_9, OPENBSD_3_8
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

implement diffie-hellman-group14-sha1 kex method (trivial extension to
existing diffie-hellman-group1-sha1); ok markus@

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Sat Mar 9 00:20:44 2002 UTC (22 years, 2 months ago) by miod
Branch: OPENBSD_2_9
Changes since 1.5.2.1: +0 -0 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Merge OpenSSH 3.1, keeping /etc as configuration files directory.
(i.e. OpenSSH 3.1 + openbsd29_3.1.patch)

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Thu Sep 27 19:03:54 2001 UTC (22 years, 7 months ago) by jason
Branch: OPENBSD_2_9
Changes since 1.5: +5 -5 lines
Diff to previous 1.5 (colored)

Pull in OpenSSH-2.9.9

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Thu Sep 27 00:15:42 2001 UTC (22 years, 7 months ago) by miod
Branch: OPENBSD_2_8
Changes since 1.1.2.4: +5 -5 lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Pull in OpenSSH 2.9.9 to the 2.8 branch.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jun 26 17:27:23 2001 UTC (22 years, 10 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_4_BASE, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Branch point for: OPENBSD_3_5, OPENBSD_3_4
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

remove comments from .h, since they are cut&paste from the .c files
and out of sync

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 26 06:32:52 2001 UTC (22 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

prototype pedant.  not very creative...
- () -> (void)
- no variable names

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Mon May 7 21:09:29 2001 UTC (23 years ago) by jason
Branch: OPENBSD_2_8
Changes since 1.1.2.3: +13 -2 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored)

Pull in OpenSSH-2.9 to 2.8 branch.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Apr 3 19:53:29 2001 UTC (23 years, 1 month ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE
Branch point for: OPENBSD_2_9
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)

move kex to kex*.c, used dispatch_set() callbacks for kex. should
make rekeying easier.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 29 21:17:39 2001 UTC (23 years, 1 month ago) by markus
Branch: MAIN
Changes since 1.3: +8 -2 lines
Diff to previous 1.3 (colored)

prepare for rekeying: move DH code to dh.c

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 27 17:46:49 2001 UTC (23 years, 1 month ago) by provos
Branch: MAIN
Changes since 1.2: +5 -2 lines
Diff to previous 1.2 (colored)

make dh group exchange more flexible, allow min and max group size,
okay markus@, deraadt@

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Wed Mar 21 19:46:25 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.1.2.2: +0 -0 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

Pull in OpenSSH-2.5.2 for 2.8 branch.

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Wed Mar 21 18:52:44 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.1.4.2: +0 -0 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Pull in OpenSSH-2.5.2 for 2.7 branch.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Mon Mar 12 15:44:10 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.1.4.1: +2 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored)

OpenSSH-2.5.1 for 2.7 patch branch

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Feb 19 17:18:54 2001 UTC (23 years, 3 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.1.2.1: +0 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

Pull in OpenSSH-2.5.1

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Fri Feb 16 20:13:01 2001 UTC (23 years, 3 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (colored)

Pull in OpenSSH 2.5.0

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jan 29 01:58:15 2001 UTC (23 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (colored)

$OpenBSD$

Revision 1.1.4.1 / (download) - annotate - [select for diffs], Wed Nov 8 21:30:44 2000 UTC (23 years, 6 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

openssh-2.3.0 (again) for 2.7 branch

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 11 04:02:17 2000 UTC (23 years, 7 months ago) by provos
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE
Branch point for: OPENBSD_2_8, OPENBSD_2_7

First rough implementation of the diffie-hellman group exchange.  The
client can ask the server for bigger groups to perform the diffie-hellman
in, thus increasing the attack complexity when using ciphers with longer
keys.  University of Windsor provided network, T the company.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.