OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.27, Tue Jun 29 19:50:16 2010 UTC (13 years, 11 months ago) by reyk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.26: +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.26 / (download) - annotate - [select for diffs], Mon Apr 16 13:01:39 2007 UTC (17 years, 1 month ago) by moritz
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
Changes since 1.25: +2 -3 lines
Diff to previous 1.25 (colored)

There's no point in checking ptr for NULL before doing free(ptr)
since free(NULL) is just fine.

ok hshoexer@

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jun 2 19:35:55 2006 UTC (18 years ago) by hshoexer
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

Big spelling cleanup, no binary change.  From david@

Revision 1.24 / (download) - annotate - [select for diffs], Wed Dec 28 10:57:35 2005 UTC (18 years, 5 months ago) by hshoexer
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.23: +1 -154 lines
Diff to previous 1.23 (colored)

remove some unused functions and an unused variable found by lint.

ok markus@

Revision 1.23 / (download) - annotate - [select for diffs], Tue May 3 13:50:44 2005 UTC (19 years, 1 month ago) by moritz
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.22: +1 -2 lines
Diff to previous 1.22 (colored)

remove remaining stuff from b2n_snprintf removal. ok hshoexer@

Revision 1.22 / (download) - annotate - [select for diffs], Thu Apr 21 01:23:06 2005 UTC (19 years, 1 month ago) by cloder
Branch: MAIN
Changes since 1.21: +1 -67 lines
Diff to previous 1.21 (colored)

Rather than try to fix b2n_print and b2n_snprint, which are not used, send
them to the attic.  OK beck

Revision 1.21 / (download) - annotate - [select for diffs], Sat Apr 9 00:42:27 2005 UTC (19 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.20: +3 -5 lines
Diff to previous 1.20 (colored)

knf

Revision 1.20 / (download) - annotate - [select for diffs], Fri Apr 8 22:32:10 2005 UTC (19 years, 2 months ago) by cloder
Branch: MAIN
Changes since 1.19: +1 -3 lines
Diff to previous 1.19 (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.19 / (download) - annotate - [select for diffs], Wed Apr 6 16:00:20 2005 UTC (19 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.18: +5 -5 lines
Diff to previous 1.18 (colored)

knf, ok cloder

Revision 1.18 / (download) - annotate - [select for diffs], Mon Apr 4 19:31:11 2005 UTC (19 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

spacing; ok cloder

Revision 1.17 / (download) - annotate - [select for diffs], Sun Feb 27 13:12:12 2005 UTC (19 years, 3 months ago) by hshoexer
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored)

where possible, use bzero instead of memset

ok cloder henning

Revision 1.16 / (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_6_BASE, OPENBSD_3_6
Changes since 1.15: +16 -10 lines
Diff to previous 1.15 (colored)

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

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

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

ok ho@

Revision 1.14 / (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.13: +786 -833 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Wed Apr 7 22:45:49 2004 UTC (20 years, 2 months ago) by ho
Branch: MAIN
Changes since 1.12: +8 -6 lines
Diff to previous 1.12 (colored)

-Wsign-compare nits. hshoexer@ ok.

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

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

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jul 5 11:08:13 2002 UTC (21 years, 11 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored)

gcc 3.1 nits. Pointed out by David Krause.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jun 9 08:13:06 2002 UTC (22 years ago) by todd
Branch: MAIN
Changes since 1.9: +28 -28 lines
Diff to previous 1.9 (colored)

rm trailing whitespace

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jan 23 17:43:24 2002 UTC (22 years, 4 months ago) by ho
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

Another strcpy gone.

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

Pull in isakmpd from 2.9 to 2.8 branch.

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

More style fixes...

Revision 1.7 / (download) - annotate - [select for diffs], Tue Apr 20 11:32:57 1999 UTC (25 years, 1 month ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Branch point for: OPENBSD_2_8
Changes since 1.6: +6 -3 lines
Diff to previous 1.6 (colored)

math_2n.c: Merge with EOM 1.15
math_ec2n.c: Merge with EOM 1.9

author: niklas
Plug potential memory leaks in case of memory allocation errors

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 19 20:54:01 1999 UTC (25 years, 1 month ago) by niklas
Branch: MAIN
Changes since 1.5: +355 -254 lines
Diff to previous 1.5 (colored)

./math_2n.c: Merge with EOM 1.14

reporting.  Math error propagation.  Allocate right
sizes.

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

Merge with EOM 1.13
Style police.  No free(0).

1999 copyrights

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

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

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 17 11:10:16 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, 7 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, 7 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, 7 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.