Love Hörnquist Åstrand
b7ac5caa3e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15007 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 10:59:42 +00:00
Love Hörnquist Åstrand
f33075bfb4
Add LIB_roken.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15006 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 10:59:24 +00:00
Love Hörnquist Åstrand
8f37ffa42f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14978 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 11:59:32 +00:00
Love Hörnquist Åstrand
11356e88b7
Include hash.h first.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 11:55:05 +00:00
Love Hörnquist Åstrand
a233d17d46
also include <stddef.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14976 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 11:53:48 +00:00
Love Hörnquist Åstrand
20d6b1d4d6
Include krb5-types.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14975 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 11:50:32 +00:00
Love Hörnquist Åstrand
74cf698513
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 08:09:11 +00:00
Love Hörnquist Åstrand
7e35d1bdbc
Maybe include stdlib.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14969 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 08:08:53 +00:00
Love Hörnquist Åstrand
68a4a7e1c5
remove more leftovers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-21 19:29:18 +00:00
Love Hörnquist Åstrand
9d25af4667
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14772 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 19:20:54 +00:00
Love Hörnquist Åstrand
1ca7fa435c
don't include bit types, the user must do that
...
#ifdef wrap
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14771 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 19:18:13 +00:00
Love Hörnquist Åstrand
5a741de6cd
#ifdef wrap
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14770 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 19:09:47 +00:00
Love Hörnquist Åstrand
9e68a7aabe
remove libdes leftovers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 19:01:37 +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
89b6cbfc45
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14677 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 12:32:20 +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
694ff5984b
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-20 16:22:10 +00:00
Love Hörnquist Åstrand
181c13afdc
include config.h and protect some headers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14669 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-20 16:20:31 +00:00
Love Hörnquist Åstrand
19cd43777f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14668 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-20 16:14:02 +00:00
Love Hörnquist Åstrand
ce454647a2
move <des.h> to after include <krb5-types.h> so the C99 integer types exists
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14667 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-20 16:12:19 +00:00
Love Hörnquist Åstrand
2011172ac2
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14637 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-14 21:37:37 +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
61a0a1ccd1
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14607 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-01 11:44:38 +00:00
Love Hörnquist Åstrand
a28b812917
note in a comment that this is a generated file
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14606 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-01 11:43:01 +00:00
Love Hörnquist Åstrand
56ec611558
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 18:12:00 +00:00
Love Hörnquist Åstrand
4dbad04b08
key argument to RC4_set_key is not const, remove const from variable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 18:03:36 +00:00
Love Hörnquist Åstrand
5b36aeeb92
remove dependency on asprintf
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14589 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 17:57:15 +00:00
Love Hörnquist Åstrand
34f9fc3df4
make destest only once
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14588 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 17:32:56 +00:00
Love Hörnquist Åstrand
1b00602939
use errx on failures, not warnx
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 17:30:48 +00:00
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