17 Commits

Author SHA1 Message Date
Nicolas Williams
490337f4f9 Make OpenSSL an hcrypto backend proper
This adds a new backend for libhcrypto: the OpenSSL backend.

Now libhcrypto has these backends:

 - hcrypto itself (i.e., the algorithms coded in lib/hcrypto)
 - Common Crypto (OS X)
 - PKCS#11 (specifically for Solaris, but not Solaris-specific)
 - Windows CNG (Windows)
 - OpenSSL (generic)

The ./configure --with-openssl=... option no longer disables the use of
hcrypto.  Instead it enables the use of OpenSSL as a (and the default)
backend in libhcrypto.  The libhcrypto framework is now always used.

OpenSSL should no longer be used directly within Heimdal, except in the
OpenSSL hcrypto backend itself, and files where elliptic curve (EC)
crypto is needed.

Because libhcrypto's EC support is incomplete, we can only use OpenSSL
for EC.  Currently that means separating all EC-using code so that it
does not use hcrypto, thus the libhx509/hxtool and PKINIT EC code has
been moved out of the files it used to be in.
2016-04-15 00:16:17 -05:00
Love Hörnquist Åstrand
7aaba443bc add NTMakefile and windows directories 2011-07-17 12:16:59 -07:00
Jelmer Vernooij
1bc55fab42 Explicitly link against required libraries.
This breaks on some newer systems which enable --as-needed by default.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-12-19 22:50:00 -08:00
Love Hörnquist Åstrand
7ba2b2006c rename des to hcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +00:00
Love Hörnquist Åstrand
f0c9af9324 Add man_MANS to EXTRA_DIST
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 14:13:30 +00:00
Love Hörnquist Åstrand
7b0cd21e58 add LIB_roken as a explit dependency
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15250 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 13:08:22 +00:00
Johan Danielsson
0624b4457e replace INCLUDES with AM_CPPFLAGS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:55:29 +00:00
Assar Westerlund
9b8ad9f282 set and use INCLUDE_des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-28 08:31:31 +00:00
Assar Westerlund
334c7ffa33 merge of DB-NEW
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10453 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-09 08:41:49 +00:00
Assar Westerlund
baebf953a8 use LIB_des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 22:51:14 +00:00
Johan Danielsson
b8d80c83b7 move manpages to where they belong
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9150 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-09 08:34:42 +00:00
Assar Westerlund
e53706c80a use LIB_roken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5897 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-09 18:29:48 +00:00
Johan Danielsson
0f23e17f6f fix broken checkin
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5652 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-20 13:58:20 +00:00
Assar Westerlund
f42ca9c63a correct path to Makefile.am.common
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5638 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-19 23:16:50 +00:00
Johan Danielsson
80bfea9891 include Makefile.am.common
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5588 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-18 11:10:02 +00:00
Johan Danielsson
59c00df08e DESTDIR
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5471 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-04 18:45:31 +00:00
Johan Danielsson
ad2fb7ce24 add Makefile.am
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5432 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-27 18:44:24 +00:00