History log of /openbsd-current/sbin/isakmpd/crypto.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.35 15-Jan-2018 mpi

Spacing, no object change.


# 1.34 04-Jan-2018 mpi

space -> tab

No object change.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.33 09-Dec-2015 naddy

Remove plain DES encryption from IPsec.

DES is insecure since brute force attacks are practical due to its
short key length.

This removes support for DES-CBC encryption in ESP and in IKE main
and quick mode from the kernel, isakmpd(8), ipsecctl(8), and iked(8).

ok mikeb@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.32 21-Mar-2013 deraadt

remove excessive includes


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.31 19-Oct-2010 mikeb

convert to fuse cast from the libcrypto. with a simplification nit from
blambert, ok jsg, "seems ok" todd


# 1.30 15-Oct-2010 jsg

Switch the remaining users of libdes in src to libcrypto,
telnet portion partially from the latest heimdal.

ok mikeb@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.29 07-May-2007 cloder

Bump crypto buffer logging (before crypto/after crypto) to level 70 from
level 30. This was a huge cause of log spam at level 30 and below, and is
really not that useful.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.28 08-Apr-2005 cloder

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


# 1.27 08-Apr-2005 deraadt

simplify


# 1.26 08-Apr-2005 deraadt

kill USE_DES and USE_TRIPLEDES, why was it ever a choice even?


# 1.25 08-Apr-2005 deraadt

app.c


# 1.24 08-Apr-2005 deraadt

un-ifdef USE_BLOWFISH


# 1.23 05-Apr-2005 cloder

Do not log before/after crypto blobs at log level 10. Makes -DA=10
useable without enduring pages of hex. OK hshoexer


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.22 14-Jun-2004 ho

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


# 1.21 14-May-2004 hshoexer

Some more KNF, no binary change.

ok ho@


# 1.20 15-Apr-2004 deraadt

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


# 1.19 31-Mar-2004 ho

-Wsign-compare nits. hshoexer@ ok.


Revision tags: OPENBSD_3_5_BASE
# 1.18 24-Sep-2003 markus

re-add AES, but without using EVP;
patch from Hans-Joerg.Hoexer at yerbouti.franken.de; ok ho@
(interops with isakmpd+AES in OpenBSD 3.4)


# 1.17 24-Sep-2003 markus

back out EVP change; causes fd leaks; ok cedric@


Revision tags: OPENBSD_3_4_BASE
# 1.16 28-Aug-2003 markus

branches: 1.16.2;
support AES in phase 1, too. switch to OpenSSL EVP interface;
with Hans-Joerg.Hoexer at yerbouti.franken.de; ok ho@


# 1.15 06-Aug-2003 millert

Remove some double semicolons (hmm, do two semis equal a maxi?).
I've skipped the GNU stuff for now. From Patrick Latifi.


# 1.14 03-Jun-2003 ho

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


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.13 09-Jun-2002 todd

rm trailing whitespace


# 1.12 01-Jun-2002 deraadt

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


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE
# 1.11 24-Feb-2001 angelos

Make DES a feature, so isakmpd can compile on Linux (most of the fixed
by newsham@lava.net)


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.10 08-Mar-2000 niklas

branches: 1.10.4;
Merge with EOM 1.32

author: niklas
Use a clearer pointer arithmetic

author: niklas
Multiple DES API support

author: niklas
argh

author: niklas
More braindamage with USE_ macros


# 1.9 25-Feb-2000 niklas

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


# 1.8 19-Feb-2000 niklas

Makefile: Merge with EOM 1.61
crypto.c: Merge with EOM 1.27
exchange.c: Merge with EOM 1.115
ike_quick_mode.c: Merge with EOM 1.115
x509.c: Merge with EOM 1.35
features/ec: Merge with EOM 1.1
features/aggressive: Merge with EOM 1.1
features/policy: Merge with EOM 1.1
features/x509: Merge with EOM 1.1

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


# 1.7 26-Jan-2000 niklas

Merge with EOM 1.26

author: niklas
Be kind to libcrypto DES


Revision tags: OPENBSD_2_6_BASE
# 1.6 19-Apr-1999 niklas

./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 tags: OPENBSD_2_5_BASE
# 1.5 05-Apr-1999 niklas

Merge with EOM 1.24
Better error messages, style

1999 copyrights


# 1.4 26-Feb-1999 niklas

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


# 1.3 17-Nov-1998 niklas

Add RCS Ids from the EOM repository


# 1.2 15-Nov-1998 niklas

openBSD RCS IDs


# 1.1 15-Nov-1998 niklas

branches: 1.1.1;
Initial revision