Commit Graph

16 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
b8d967ede5 implement enough glue to support OpenSSLs EVP, RSA, DSA, DH, HMAC and ENGINE interfaces for use in hx509. rename all symbols to start with hc_ to avoid clobbering namespaces. contains no RSA/DH/DSA code, just glue to support using dynamic ENGINE. hx509 supports this via pkcs11 and there is a gmp ENGINE module supporting RSA
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 21:47:29 +00:00
Love Hörnquist Åstrand
f871c8a84d change unsigned char * to void *
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15686 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-20 10:49:24 +00:00
Love Hörnquist Åstrand
6f1fa16431 Rename parameter, as encrypt shadows a global, from Andrew Bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-18 22:47:33 +00:00
Love Hörnquist Åstrand
806ee4c961 (DES_cbc_cksum): init u to make sure it have a value in case of the
empty in data


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 16:15:44 +00:00
Love Hörnquist Åstrand
c2d9c8331b use unsigned char to avoid signess warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15134 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-13 08:04:51 +00:00
Love Hörnquist Åstrand
ee21d416f1 replace <strings.h> with <string.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15020 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 13:55:36 +00:00
Love Hörnquist Åstrand
21382af672 provide compatibility function DES_key_sched, same as DES_set_key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14676 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 12:31:13 +00:00
Love Hörnquist Åstrand
c0350b7481 add DES_set_key_checked
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14636 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-14 21:36:32 +00:00
Love Hörnquist Åstrand
c93c4d1a8b Replace the eay DES code with key scheule setup code by me and DES
s-box and p permutation from Richard Outerbridge implemtation (in
public domain).  The DES modes are implemented by me. ui.c code are
from appl/login.

The implementation is about 3 times slower then Eric for encryption,
and about the same speed for key setup.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14585 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 15:29:36 +00:00
Love Hörnquist Åstrand
49e0243cc5 switch to the DES_ api, dont provide any compat glue
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12748 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:26:03 +00:00
Björn Groenvall
571117c0ef Updated to libdes 4.01
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1923 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-22 10:14:07 +00:00
Johan Danielsson
e7f718fc47 merged in code from d93-jka for WIN32
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@829 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-05 00:49:37 +00:00
Assar Westerlund
16e06de382 autoconfed a little to make it compile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@797 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-29 02:34:03 +00:00
Björn Groenvall
aec8b94b5c Libdes updated to 3.23
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@513 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-05-07 14:19:43 +00:00
Assar Westerlund
6961a4a341 Merged in libdes3.21-branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@473 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-05-04 04:44:52 +00:00
Unknown User d91-jda
b33abb44fd Initial revision
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@171 ec53bebd-3082-4978-b11e-865c3cabbd6b
1995-10-23 11:20:30 +00:00