Commit Graph

375 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
76b11e195f bring back from the dead
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14586 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 15:31:01 +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
23f894d712 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14505 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:29:04 +00:00
Love Hörnquist Åstrand
5d2f79f90c (DES_rand_data): also try /dev/arandom
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-10 11:21:48 +00:00
Love Hörnquist Åstrand
c5091f4128 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13915 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-02 20:12:30 +00:00
Love Hörnquist Åstrand
593c89db6e don't include krb4 headers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13914 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-02 20:10:57 +00:00
Love Hörnquist Åstrand
4d8c4b4643 define AES_{EN,DE}CRYPT; remove #ifdefs, this is an installed file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13913 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-02 20:06:40 +00:00
Love Hörnquist Åstrand
76a580ad8a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:07:56 +00:00
Love Hörnquist Åstrand
6357f48500 handle non blocksized cbc messages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:06:51 +00:00
Love Hörnquist Åstrand
234befda59 add AES_cbc_encrypt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:05:05 +00:00
Love Hörnquist Åstrand
c68ce70373 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13758 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 12:09:02 +00:00
Love Hörnquist Åstrand
452afa5916 test vectors from RFC2268
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13757 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 12:08:54 +00:00
Love Hörnquist Åstrand
e166f76126 (RC2_set_key): rewrite the mask calculation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13756 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 12:08:22 +00:00
Love Hörnquist Åstrand
d3ee5536f7 (RC2_set_key): handle keys where effective bits are diffrent from keylength
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 12:05:26 +00:00
Love Hörnquist Åstrand
f135b1bfe8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13751 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-23 19:25:52 +00:00
Love Hörnquist Åstrand
e8470007a1 rc2 implementation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13750 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-23 19:23:38 +00:00
Love Hörnquist Åstrand
7835d0dd28 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13642 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-25 16:42:13 +00:00
Love Hörnquist Åstrand
cf99ee665e new arcfour implementation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13641 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-25 16:41:56 +00:00
Love Hörnquist Åstrand
97a619cf17 implemented from description in draft-kaukonen-cipher-arcfour-03.txt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13640 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-25 16:40:59 +00:00
Love Hörnquist Åstrand
93385b2d5e replace with new implementation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13639 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-25 16:39:58 +00:00
Love Hörnquist Åstrand
68e9f3ff0a remove
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13638 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-25 16:39:11 +00:00
Love Hörnquist Åstrand
c442177ac7 test for arcfour
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13637 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-25 16:38:24 +00:00
Love Hörnquist Åstrand
7d56090718 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-07 18:11:03 +00:00
Love Hörnquist Åstrand
5e1a097d69 uninitialized variable, from Panasas Inc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-07 18:10:48 +00:00
Love Hörnquist Åstrand
efb37e15c6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12751 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:27:55 +00:00
Love Hörnquist Åstrand
70a309f60b (MD4_Final): make the function threadsafe by removing static on the
local variable zeros


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12750 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:27:42 +00:00
Love Hörnquist Åstrand
c9681ae897 (MD5_Final): make the function threadsafe by removing static on the
local variable zeros


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12749 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:27:16 +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
Love Hörnquist Åstrand
cd87e37aa4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12663 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 13:34:59 +00:00
Love Hörnquist Åstrand
1890d21435 make the function threadsafe by removing static on the local variable zeros
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12662 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 13:34:13 +00:00
Love Hörnquist Åstrand
b9b8d2152d (CHECK_LOCAL): set to no-check-local
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-16 18:32:18 +00:00
Love Hörnquist Åstrand
d73655dcc7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12511 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 13:06:38 +00:00
Love Hörnquist Åstrand
84e7684333 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 13:01:25 +00:00
Love Hörnquist Åstrand
7dfedf540d add aes support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12508 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 13:00:42 +00:00
Love Hörnquist Åstrand
33ba054524 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11963 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-03 10:00:45 +00:00
Love Hörnquist Åstrand
1958c9297e sunOS -> SunOS, from jmc <jmc@prioris.mini.pw.edu.pl>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-03 10:00:26 +00:00
Love Hörnquist Åstrand
ddb0a600d4 spelling, from <jmc@prioris.mini.pw.edu.pl>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-19 20:58:46 +00:00
Love Hörnquist Åstrand
b81767ee66 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-19 20:58:15 +00:00
Johan Danielsson
9c8c5455dd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:07:30 +00:00
Johan Danielsson
028ec6ea82 move NeXT SGTTY stuff here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 16:45:58 +00:00
Johan Danielsson
879fc6b8bc more, mostly whitespace, fixes from Thomas Klasusner
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 17:07:29 +00:00
Johan Danielsson
4443604375 add tests for sha-{256,384,512}
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10975 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-07 15:49:28 +00:00
Johan Danielsson
8a4563302c some spelling from Thomas Klausner
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-11-22 08:27:55 +00:00
Assar Westerlund
6e1283cbc2 remove all winsock.h
for now, it does more harm than good under cygwin and if it should be
used, the correct conditional needs to be found
from <tol@stacken.kth.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-21 15:32:07 +00:00
Assar Westerlund
f556e8a500 add des.1 and des_crypt.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10429 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-04 03:10:23 +00:00
Assar Westerlund
bc34c3ec29 (des_not_rand_data): conditionalize on HAVE_SETITIMER
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-29 14:27:36 +00:00
Assar Westerlund
a2ad896a59 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-17 00:03:44 +00:00
Assar Westerlund
aa23795878 bump version to 3:1:0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9969 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-16 23:50:14 +00:00
Assar Westerlund
31a33ad92e *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9916 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-11 16:06:09 +00:00
Assar Westerlund
f7acaf3cfb (des_string_to_key, des_string_to_2keys): avoid weak keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9915 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-11 16:05:53 +00:00