Commit Graph

25 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 76eb075fc5 (UI_UTIL_read_pw_string): make the prompt argument const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15023 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 14:09:50 +00:00
Love Hörnquist Åstrand 269f9185cd fix prototype for DES_random_key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 16:16:51 +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
Assar Westerlund 500a100045 add another cpp symbol for 64bit ultra sparc. from matthew green
<mrg@eterna.com.au>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8939 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-13 21:14:43 +00:00
Johan Danielsson 99e187743a make this work with mips 64-bit abi
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7010 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-21 17:21:17 +00:00
Assar Westerlund 35122f2b31 sparcv9 is also 64 bits, use unsigned int' instead of unsigned long'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5273 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-01-12 04:06:48 +00:00
Assar Westerlund f012712ae0 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5103 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-07-25 09:36:55 +00:00
Assar Westerlund 7e0ac480af DES_LIB_FUNCTION
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5102 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-07-25 09:26:14 +00:00
Johan Danielsson d4517740b0 cplusplus -> __cplusplus
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3883 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-09 14:36:12 +00:00
Björn Groenvall 78ee74d029 Updated to libdes 4.01
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1925 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-22 10:32:19 +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 4153269462 Added prototype for `des_rand_data'.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@727 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:11:44 +00:00
Björn Groenvall 340f75c495 Update to libdes 3.23
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@514 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-05-07 14:50:49 +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
Björn Groenvall d8a3c6c198 New function des_generate_random_block(des_cblock *block)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@355 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-03-28 11:14:16 +00:00
Björn Groenvall 66db417091 Fix some random generator problems.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@288 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-03-08 11:46:54 +00:00
Björn Groenvall 72f3d8e36a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@273 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-21 15:20:49 +00:00
Björn Groenvall 2e75eb9006 Compat with MIT des_fixup_key_parity.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16 ec53bebd-3082-4978-b11e-865c3cabbd6b
1995-06-09 10:12:50 +00:00
Björn Groenvall 8818cd533f Initial revision
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12 ec53bebd-3082-4978-b11e-865c3cabbd6b
1995-06-09 09:55:57 +00:00