Commit Graph

21 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
Stefan Metzmacher
be37f24ef4 lib/ntlm: add missing dependency to libwind.la
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2015-07-31 17:30:23 +12:00
Roland C. Dowdeswell
be5afdbf7f Make concurrent builds work.
To stop the errors when building concurrently, we make a number of
changes:

        1.  stop including generated files in *_SOURCES,

        2.  make *-protos.h and *-private.h depend on the *_SOURCES,

        3.  make all objects depend on *-{protos,private}.h,

        4.  in a few places change dir/header.h to $(srcdir)/dir/header.h,

This appears to work for me with make -j16 on a 4-way box.
2012-08-08 00:04:04 +01:00
Love Hörnquist Åstrand
12403a31ce sprinkle more windows files 2011-07-23 11:18:21 -07:00
Love Hörnquist Åstrand
7aaba443bc add NTMakefile and windows directories 2011-07-17 12:16:59 -07:00
Love Hornquist Astrand
b1cfe43834 use right variable 2010-11-21 12:53:28 -08:00
Love Hornquist Astrand
aceab099f2 add ntlm_err.h 2010-10-30 22:18:34 -07:00
Love Hornquist Astrand
9f1168b703 add targetinfo and comerr error codes 2010-10-19 18:15:40 -07:00
Love Hörnquist Åstrand
95d188a9e4 drop libnheimntlm.la
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24467 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:48:48 +00:00
Love Hörnquist Åstrand
4bbaa52901 provide convenice lib
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23893 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:00:57 +00:00
Love Hörnquist Åstrand
a7ca391dc9 add missing depency on libhcrypto (needed when using openssl in on default location.
From Andrew Morris

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23689 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-26 12:35:21 +00:00
Love Hörnquist Åstrand
21149f6fbb move doxygen into the main file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22045 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-11 08:57:47 +00:00
Love Hörnquist Åstrand
60137763e2 export heim_ntlm_free_buf, start doxygen documenation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22041 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-11 07:43:27 +00:00
Love Hörnquist Åstrand
d314dc998c New library version.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:38:27 +00:00
Love Hörnquist Åstrand
e03847efb8 EXTRA_DIST += version-script.map.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21019 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 15:34:29 +00:00
Love Hörnquist Åstrand
adfc966b84 add versionscript
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20522 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-22 10:49:57 +00:00
Love Hörnquist Åstrand
0a66d3e486 use LIBADD_roken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 18:45:03 +00:00
Love Hörnquist Åstrand
b6d9890960 update version number and remove depenency on libvers for libraries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 17:30:31 +00:00
Love Hörnquist Åstrand
a21ff50026 add LIB_roken for test_ntlm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19667 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 02:12:26 +00:00
Love Hörnquist Åstrand
dce35b5529 add simple parser test app
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19329 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-13 20:41:38 +00:00
Love Hörnquist Åstrand
ba29865749 inital version of a NTLM library, only handles ntml version 1 and ascii strings for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-13 20:12:58 +00:00