OpenBSD CVS

CVS log for src/sbin/isakmpd/Attic/math_group.c


[BACK] Up to [local] / src / sbin / isakmpd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.33, Tue Jun 29 19:50:16 2010 UTC (13 years, 11 months ago) by reyk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.32: +1 -1 lines
FILE REMOVED

Replace the hand-crafted Diffie-Hellman implementation in isakmpd with
the smaller implementation from iked that is using libcrypto instead.
This allows to remove a lot of code (which is always good), get rid of
some custom crypto code by using libcrypto, theoretically adds
support for many new MODP and EC2N/ECP modes (but it is not configurable
yet), and allows to share the dh.c/dh.h code in different codebases
(it is identical in isakmpd and iked, but could also be used elsewhere).

ok deraadt@

Revision 1.32 / (download) - annotate - [select for diffs], Mon Jul 24 11:45:44 2006 UTC (17 years, 10 months ago) by ho
Branch: MAIN
CVS Tags: 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, 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.31: +8 -8 lines
Diff to previous 1.31 (colored)

Style; return is not a function. hshoexer@ ok.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Jun 2 19:35:55 2006 UTC (18 years ago) by hshoexer
Branch: MAIN
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (colored)

Big spelling cleanup, no binary change.  From david@

Revision 1.30 / (download) - annotate - [select for diffs], Fri May 5 09:29:35 2006 UTC (18 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

correct correct rfc reference

Revision 1.29 / (download) - annotate - [select for diffs], Fri May 5 00:19:21 2006 UTC (18 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

correct rfc reference

Revision 1.28 / (download) - annotate - [select for diffs], Thu May 4 14:37:51 2006 UTC (18 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.27: +71 -19 lines
Diff to previous 1.27 (colored)

check for degenerate Diffie-Hellman public exponents;
ok markus@ hshoexer@ deraadt@

Revision 1.27 / (download) - annotate - [select for diffs], Fri Apr 8 22:32:10 2005 UTC (19 years, 1 month ago) by cloder
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.26: +3 -4 lines
Diff to previous 1.26 (colored)

Make deterministic randomness (only ever used for testing) a compile-time
option.  Reduces chances of somehow setting regrand when it's not supposed
to be set.  Remove "-r" option from man page.  Also xref certpatch(8) while
we are in there.  And remove some include sysdep.h where it is no longer
needed.
OK hshoexer

Revision 1.26 / (download) - annotate - [select for diffs], Fri Apr 8 20:04:57 2005 UTC (19 years, 1 month ago) by hshoexer
Branch: MAIN
Changes since 1.25: +22 -5 lines
Diff to previous 1.25 (colored)

kill gmp

Revision 1.25 / (download) - annotate - [select for diffs], Fri Apr 8 19:19:39 2005 UTC (19 years, 1 month ago) by hshoexer
Branch: MAIN
Changes since 1.24: +1 -40 lines
Diff to previous 1.24 (colored)

remove gmp, no binary change

Revision 1.24 / (download) - annotate - [select for diffs], Fri Apr 8 16:18:59 2005 UTC (19 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.23: +1 -17 lines
Diff to previous 1.23 (colored)

kill USE_EC

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jun 14 09:55:41 2004 UTC (19 years, 11 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

KNF, style, 80c, etc. hshoexer@ ok

Revision 1.22 / (download) - annotate - [select for diffs], Sun May 23 18:17:56 2004 UTC (20 years ago) by hshoexer
Branch: MAIN
Changes since 1.21: +62 -58 lines
Diff to previous 1.21 (colored)

More KNF.  Mainly spaces and line-wraps, no binary change.

ok ho@

Revision 1.21 / (download) - annotate - [select for diffs], Thu Apr 15 18:39:26 2004 UTC (20 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.20: +620 -634 lines
Diff to previous 1.20 (colored)

partial move to KNF.  More to come.  This has happened because there
are a raft of source code auditors who are willing to help improve this
code only if this is done, and hey, isakmpd does need our standard
auditing process.  ok ho hshoexer

Revision 1.20 / (download) - annotate - [select for diffs], Wed Apr 7 22:45:49 2004 UTC (20 years, 1 month ago) by ho
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

-Wsign-compare nits. hshoexer@ ok.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Dec 15 10:06:42 2003 UTC (20 years, 5 months ago) by hshoexer
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.18: +43 -14 lines
Diff to previous 1.18 (colored)

Support for groups modp2048, modp3072, modp4096, modp6144 and modp8192 (IDs 14
to 18).

ok ho@

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jun 3 14:28:16 2003 UTC (21 years ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.17: +1 -6 lines
Diff to previous 1.17 (colored)

Remove clauses 3 and 4. With approval from Niklas Hallqvist and
Niels Provos.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Mar 14 14:49:08 2003 UTC (21 years, 2 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored)

Spelling fixes from david@. jmc@ ok.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jun 12 18:34:42 2002 UTC (21 years, 11 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.15: +205 -3 lines
Diff to previous 1.15 (colored)

Five higher MODP groups, but commented out for now (until IANA assigns
them proper numbers).

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jun 6 02:15:27 2002 UTC (22 years ago) by ho
Branch: MAIN
Changes since 1.14: +5 -3 lines
Diff to previous 1.14 (colored)

Style, and a few additional format/type mods.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jun 1 07:44:21 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.13: +6 -6 lines
Diff to previous 1.13 (colored)

size_t must be cast to (unsigned long) and printed using %lu

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Tue May 8 12:45:24 2001 UTC (23 years ago) by ho
Branch: OPENBSD_2_8
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Pull in isakmpd from 2.9 to 2.8 branch.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Apr 9 22:09:52 2001 UTC (23 years, 1 month ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

More style fixes...

Revision 1.12 / (download) - annotate - [select for diffs], Fri Apr 7 22:04:44 2000 UTC (24 years, 2 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_7_BASE, OPENBSD_2_7
Branch point for: OPENBSD_2_8
Changes since 1.11: +57 -16 lines
Diff to previous 1.11 (colored)

Merge with EOM 1.25

author: niklas
typo

author: niklas
Multi-implementation for MP

Revision 1.11 / (download) - annotate - [select for diffs], Fri Feb 25 17:23:41 2000 UTC (24 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

regress/crypto/Makefile: Merge with EOM 1.5
regress/dh/Makefile: Merge with EOM 1.7
regress/group/Makefile: Merge with EOM 1.9
regress/prf/Makefile: Merge with EOM 1.4
regress/rsakeygen/Makefile: Merge with EOM 1.8
regress/x509/Makefile: Merge with EOM 1.10
Makefile: Merge with EOM 1.62
attribute.c: Merge with EOM 1.10
sa.c: Merge with EOM 1.99
conf.c: Merge with EOM 1.20
crypto.c: Merge with EOM 1.28
isakmpd.c: Merge with EOM 1.45
connection.c: Merge with EOM 1.19
doi.h: Merge with EOM 1.28
field.c: Merge with EOM 1.11
exchange.c: Merge with EOM 1.116
ike_auth.c: Merge with EOM 1.44
pf_key_v2.c: Merge with EOM 1.37
ike_phase_1.c: Merge with EOM 1.22
ipsec.c: Merge with EOM 1.118
isakmp_doi.c: Merge with EOM 1.40
log.c: Merge with EOM 1.26
log.h: Merge with EOM 1.18
math_group.c: Merge with EOM 1.23
message.c: Merge with EOM 1.144
pf_encap.c: Merge with EOM 1.70
policy.c: Merge with EOM 1.18
timer.c: Merge with EOM 1.13
transport.c: Merge with EOM 1.41
udp.c: Merge with EOM 1.47
ui.c: Merge with EOM 1.37
x509.c: Merge with EOM 1.36

author: niklas
Made debug logging a compile time selectable feature

Revision 1.10 / (download) - annotate - [select for diffs], Sat Feb 19 19:32:54 2000 UTC (24 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.9: +17 -3 lines
Diff to previous 1.9 (colored)

cert.c: Merge with EOM 1.14
ike_auth.c: Merge with EOM 1.43
ike_phase_1.c: Merge with EOM 1.21
init.c: Merge with EOM 1.24
ipsec.c: Merge with EOM 1.117
isakmpd.c: Merge with EOM 1.44
math_group.c: Merge with EOM 1.22

author: niklas
Copyright 2000

author: niklas
Allow isakmpd builders to remove optional parts and save bytes.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jul 13 15:46:43 1999 UTC (24 years, 10 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.8: +10 -2 lines
Diff to previous 1.8 (colored)

ipsec.c: Merge with EOM 1.114
math_group.c: Merge with EOM 1.20

author: niklas
Really make group 5 work

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 2 06:30:13 1999 UTC (25 years ago) by niklas
Branch: MAIN
Changes since 1.7: +14 -2 lines
Diff to previous 1.7 (colored)

Merge with EOM 1.19

author: niklas
Oakley group 5 is of 102 bit ops strength

author: niklas
Initial stab at Oakley group 5, still an XXX though.

Revision 1.7 / (download) - annotate - [select for diffs], Thu May 6 22:45:00 1999 UTC (25 years, 1 month ago) by niklas
Branch: MAIN
Changes since 1.6: +6 -3 lines
Diff to previous 1.6 (colored)

Merge with EOM 1.17

author: niklas
diagnostic

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 19 21:22:49 1999 UTC (25 years, 1 month ago) by niklas
Branch: MAIN
Changes since 1.5: +102 -74 lines
Diff to previous 1.5 (colored)

./regress/x509/x509test.c: Merge with EOM 1.4
./dh.h: Merge with EOM 1.4
./math_ec2n.c: Merge with EOM 1.8
./crypto.c: Merge with EOM 1.25
./ike_quick_mode.c: Merge with EOM 1.82
./math_group.c: Merge with EOM 1.16
./math_ec2n.h: Merge with EOM 1.4

Style.  alloc error reporting.  Math error propagation.  Allocate right
sizes.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Apr 5 20:59:37 1999 UTC (25 years, 2 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.4: +33 -26 lines
Diff to previous 1.4 (colored)

Merge with EOM 1.15
Correct wording of debug printout

Debug output.  Style.  Missing break in case.

Style

Style police.

1999 copyrights

Revision 1.4 / (download) - annotate - [select for diffs], Fri Feb 26 03:46:57 1999 UTC (25 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.3: +5 -5 lines
Diff to previous 1.3 (colored)

Merge from the Ericsson repository
| revision 1.10
| date: 1999/02/25 11:39:14;  author: niklas;  state: Exp;  lines: +4 -4
| include sysdep.h everywhere
| ----------------------------

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 17 11:10:17 1998 UTC (25 years, 6 months ago) by niklas
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

Add RCS Ids from the EOM repository

Revision 1.2 / (download) - annotate - [select for diffs], Sun Nov 15 00:44:00 1998 UTC (25 years, 6 months ago) by niklas
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

openBSD RCS IDs

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Nov 15 00:03:49 1998 UTC (25 years, 6 months ago) by niklas
Branch: NIKLAS
CVS Tags: NIKLAS_981114
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Initial import of isakmpd, an IKE (ISAKMP/Oakley) implementation for the
OpenBSD IPSEC stack by me, Niklas Hallqvist and Niels Provos, funded by
Ericsson Radio Systems.  It is not yet complete or usable in a real scenario
but the missing pieces will soon be there.  The early commit is for people
who wants early access and who are not afraid of looking at source.
isakmpd interops with Cisco, Timestep, SSH & Pluto (Linux FreeS/WAN) so
far, so it is not that incomplete.  It is really mostly configuration that
is lacking.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Nov 15 00:03:49 1998 UTC (25 years, 6 months ago) by niklas
Branch: MAIN

Initial revision

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.