Nicolas Williams
3a5e91eca2
hcrypto: Remove MD2 with prejudice
...
We don't use it anywhere for anything.
2022-11-01 16:10:57 -05:00
Luke Howard
beda11a079
hcrypto: Add X25519
...
The X25519 implementation comes from libsodium. Explicit copyright
notices have been added to each file as well as some portability changes
(e.g. align.h).
2020-04-25 23:19:30 -05:00
Simon Wilkinson
c1eb9828f4
hcrypto: Add HMAC_CTX_new and HMAC_CTX_free
...
Add a pair of functions which can be used to allocate and free
an HMAC_CTX structure on the heap. This means that the caller doesn't
need to know the size of the underlying structure.
2018-05-23 09:54:27 -04:00
Luke Howard
7b720cf61c
krb5: implement draft-ietf-kitten-aes-cts-hmac-sha2-07
2016-10-08 08:17:11 +02: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
Luke Howard
87c59d1db2
export CommonCrypto SHA-384/512 implementations
2015-12-05 00:04:24 +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
Love Hornquist Astrand
60a7783024
export more
2010-11-26 09:15:23 -08:00
Love Hornquist Astrand
c6fb9428dd
Drop imath for ltm for speed reasons
2010-10-02 12:28:27 -07:00
Love Hornquist Astrand
b206aeb016
SHA384
2010-09-30 18:22:00 -07:00
Love Hornquist Astrand
b32651c830
SHA512 support
2010-09-29 23:41:15 -07:00
Love Hornquist Astrand
b897f2df34
export hc_hcrypto_validate
2010-09-08 00:04:10 -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
6c0c936595
select add libtommath
2010-07-18 13:04:03 -07:00
Love Hornquist Astrand
6d0e3950a5
add hc_i2d_DHparams
2010-06-16 14:55:51 -07:00
Love Hornquist Astrand
91020dd11d
add cfb8-aes modes
2010-06-03 17:20:40 -07:00
Love Hornquist Astrand
3c8d9ef8d5
more symbols
2010-06-01 15:07:43 -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
b0e2117322
Add missing symbols and fix malformed symbols
...
Build failure reported by Rok Papež on heimdal-discuss
2009-09-19 12:26:52 -07:00
Love Hornquist Astrand
eb7448156c
export d2i_RSAPublicKey
2009-08-21 21:42:03 -07:00
Love Hornquist Astrand
9745ba2d18
export right cts symbol
2009-08-17 08:53:43 +02: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 Hörnquist Åstrand
f48b2244eb
add BN_CTX
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:31:00 +00:00
Love Hörnquist Åstrand
9a190f0dd9
add EVP_CIPHER_CTX_ctrl and EVP_CIPHER_CTX_rand_key
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-19 07:55:17 +00:00
Love Hörnquist Åstrand
ce7dc5a8b8
add EVP_des_cbc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23593 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:10:24 +00:00
Love Hörnquist Åstrand
dcf1a2fea0
add new symbols
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23552 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:01:25 +00:00
Björn Sandell
c9b99c0cda
Export DES_set_key_unchecked
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-29 05:53:27 +00:00
Love Hörnquist Åstrand
9bbb2f402c
Export DES_check_key_parity.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 18:50:52 +00:00
Love Hörnquist Åstrand
b51c335df2
export hc_DH_gmp_method
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 11:00:30 +00:00
Love Hörnquist Åstrand
83c263ed4f
Export camellia.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21921 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-16 14:39:05 +00:00
Love Hörnquist Åstrand
a00947d55f
Add hc_RAND_timer_method.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21098 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:45:44 +00:00
Love Hörnquist Åstrand
0d6fa63426
Unexport _hc_DES_ipfp_test now there is a separate test lib.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 20:55:09 +00:00
Love Hörnquist Åstrand
9d528da1a8
export _hc_DES_ipfp_test
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20983 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 20:15:45 +00:00
Love Hörnquist Åstrand
82fa4fb114
Don't prefix all symbols with _
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20707 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 19:09:56 +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