Damir Franusic
329918bd67
hcrypto: fix include path
2018-12-24 02:25:08 +00:00
Nicolas Williams
995c8279b1
One more missing file
2016-12-15 12:21:17 -06:00
Nicolas Williams
3e65dfbc32
Fix make dist missing files ( #228 )
2016-12-15 12:15:56 -06:00
Nicolas Williams
2d3c21cb61
There is no lib/hcrypto/dllmain.c
2016-11-11 15:58:33 -06:00
Roland C. Dowdeswell
b49431e47a
lib/hcrypto/Makefile.am: set automake option: subdir-objects
2016-05-12 15:18:38 -04:00
Viktor Dukhovni
1017a594ef
Use OpenSSL include path as needed
...
For consistency make "-I" part of the macro value set by autoconf.
For now, don't attempt to handle OpenSSL rpath in cf/crypto.m4.
That's much easier by just setting LDFLAGS when running configure.
Otherwise too many Makefiles to edit and libtool and automake do
their best to undo the rpath.
2016-05-07 05:29:12 -04:00
Viktor Dukhovni
9393d53538
Actually capture libcrypto autoconf results
...
Also infer lib path not just include path, and set rpath if not from /usr.
Also need libcrypto for test_rand.
2016-05-07 02:36:34 -04:00
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
Luke Howard
fdf8782db2
hcrypto: PKCS#11 backend
...
implement a PKCS#11 backend for hcrypto. tested with Solaris 11 and
SoftHSM, this is now the default when building on Solaris.
2015-12-09 11:08:35 +11:00
hasufell
427a60057c
Completely remove RAND_egd support
...
The EGD daemon is completely unmaintained and has not seen a release
since 13 years which is not an acceptable timeframe for cryptographic
software. It is not packaged in any linux distribution I know of
and definitely not in *BSD.
LibreSSL has already dropped support for RAND_egd.
2015-10-06 15:44:47 +02:00
Luke Howard
5023f55208
Add Windows CNG (BCrypt) support to HCrypto EVP API
2015-02-11 16:00:32 +11:00
Viktor Dukhovni
146f5b72e6
Link test_rand with math library.
...
Also deal with size_t to int casts for test_rand printf output.
2013-10-16 23:49:32 -04:00
Jeffrey Altman
8dc29ae1a0
libtommath: remove bn_mp_isprime.c
...
Now that mp_prime() is no longer used, remove bn_mp_isprime.c from
the source tree.
Change-Id: Ie0f7ce3184c000f27ae5b9dbe07b323c02ce7199
2013-10-08 17:02:07 -05: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
f5b16cbddb
remove tfm
2010-10-11 20:10:24 -07:00
Love Hornquist Astrand
106689c7a0
add rsakey2048 and rsakey4096
2010-10-03 18:13:58 -07:00
Love Hornquist Astrand
c6fb9428dd
Drop imath for ltm for speed reasons
2010-10-02 12:28:27 -07:00
Love Hornquist Astrand
b32651c830
SHA512 support
2010-09-29 23:41:15 -07:00
Love Hornquist Astrand
d82410ea88
add header files for libtommath
2010-09-15 12:06:16 -07:00
Love Hornquist Astrand
51e6e505f1
add validate.c
2010-09-08 00:04:18 -07:00
Love Hornquist Astrand
763a72b73a
enable ltm, add key blinding, add remove tfm
2010-08-15 15:06:58 -07:00
Love Hornquist Astrand
e7c7091ae5
add ltm dh
2010-07-18 13:26:39 -07:00
Love Hornquist Astrand
6c0c936595
select add libtommath
2010-07-18 13:04:03 -07:00
Love Hornquist Astrand
658d110d4a
add tfm dh (and some missing files)
2010-05-26 10:27:32 -05:00
Love Hornquist Astrand
3c58379590
tomsfastmath version of rsa, keygen missing
2010-05-19 22:29:07 -07:00
Love Hornquist Astrand
d65ba36a5e
replace exeext too
2010-01-01 13:33:47 +01:00
Love Hornquist Astrand
a4d850a656
don't include evp-aes-cts.c
2009-08-25 20:26:38 -07:00
Love Hornquist Astrand
8276a469ab
Add CommonCrypto support, split out all hcrypto specific code to hcrypto module
2009-08-10 09:07:37 +02:00
Love Hornquist Astrand
44709846a0
add ec*.h files
2009-08-06 09:28:08 +02:00
Love Hörnquist Åstrand
3867b32678
add ec files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:29:46 +00:00
Love Hörnquist Åstrand
68a0002ba9
clean up
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23643 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-19 02:20:36 +00:00
Love Hörnquist Åstrand
0077b6dd15
add example_evp_cipher
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23630 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-18 20:14:19 +00:00
Love Hörnquist Åstrand
4dd45a8442
make this as cryptolib
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:02:59 +00:00
Love Hörnquist Åstrand
3f658d3d19
add evp-aes-cts
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:01:52 +00:00
Love Hörnquist Åstrand
fe4dcf700a
evp-hcrypto.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23548 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:00:40 +00:00
Love Hörnquist Åstrand
e896b1f6e8
define IMATH_LARGE_PRIME_TABLE
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23520 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:53 +00:00
Love Hörnquist Åstrand
8834139665
Add extra files missing from dist.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22401 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-11 14:32:11 +00:00
Love Hörnquist Åstrand
2fc521f797
add test_dh and rsa-gmp.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 10:58:53 +00:00
Love Hörnquist Åstrand
13c16750fa
add doxygen.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 21:57:46 +00:00
Love Hörnquist Åstrand
97414f05ca
Add Camellia
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21687 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-24 16:29:05 +00:00
Love Hörnquist Åstrand
0ed0300c1e
New library version.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21440 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:43:17 +00:00
Love Hörnquist Åstrand
08fa7ba08b
add rand-timer.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:55:28 +00:00
Love Hörnquist Åstrand
100c30d823
Include more ui.[ch] in libbctest.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21000 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 22:57:52 +00:00
Love Hörnquist Åstrand
41f87f49f7
Build library libhctest.la for testing and link with that when testing.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 20:53:33 +00:00
Love Hörnquist Åstrand
63966f9415
add version script for hcrypto too
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20481 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 17:47:03 +00: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