Commit Graph

33 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
cb704efeeb Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:37:46 +00:00
Love Hörnquist Åstrand
2740149d18 (wrap*): Reset output_buffer on error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:10:03 +00:00
Luke Howard
ebc3e1a658 support KEYTYPE_ARCFOUR_56
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14460 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 02:52:12 +00:00
Luke Howard
847cb0fa5b use gss_krb5_get_subkey() instead of gss_krb5_get_{local,remote}key()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 02:32:44 +00:00
Love Hörnquist Åstrand
1e4a6015a7 support cfx, try to handle acceptor asserted subkey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13523 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 16:38:46 +00:00
Love Hörnquist Åstrand
e2a057b359 (gss_wrap_size_limit): use existing function
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-16 12:00:25 +00:00
Love Hörnquist Åstrand
33efaf1f26 switch from the des_ to the DES_ api
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:29:36 +00:00
Love Hörnquist Åstrand
9673c61169 prefix cfx symbols with _gssapi_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12692 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 10:54:06 +00:00
Love Hörnquist Åstrand
221fd47408 hook in arcfour wrap
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12673 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 00:07:07 +00:00
Love Hörnquist Åstrand
bb7b50eba4 encap/decap now takes a oid
if the enctype/keytype is arcfour, return error
add hook for cfx


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12640 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 20:06:04 +00:00
Love Hörnquist Åstrand
93d56af0ae (sub_wrap_size): gss_wrap_size_limit() has req_output_size and
max_input_size around the wrong way -- it returns the output token
size for a given input size, rather than the maximum input size for a
given output token size.

From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12352 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-05 23:09:13 +00:00
Love Hörnquist Åstrand
42f3fc029a - do some basic locking (no reference counting so contexts can be
removed while still used)
- don't export gss_ctx_id_t_desc_struct and gss_cred_id_t_desc_struct
- make sure all lifetime are returned in seconds left until expired,
  not in unix epoch


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 14:52:14 +00:00
Love Hörnquist Åstrand
cc950657f5 make sure minor_status get set
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11763 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-16 17:57:48 +00:00
Johan Danielsson
c8b11213da (wrap_des3): use ETYPE_DES3_CBC_NONE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11345 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-03 17:33:36 +00:00
Assar Westerlund
4449713b87 replace gss_krb5_getsomekey with gss_krb5_get_localkey and
gss_krb5_get_remotekey


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 02:53:52 +00:00
Assar Westerlund
e55eee640b try to return the error string from krb5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-11 09:16:47 +00:00
Assar Westerlund
eecfde13be (wrap_des3): new krb5_create_checksum
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9870 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-09 07:14:18 +00:00
Assar Westerlund
57286bc935 use krb5_generate_random_block for the confounders
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9691 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 06:41:32 +00:00
Assar Westerlund
59a594bad4 use the openssl api for md4/md5/sha. handle openssl/*.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-29 02:09:01 +00:00
Assar Westerlund
e10e6f2c26 (wrap_des3): use the checksum as ivec when encrypting the sequence
number


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9314 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-08 05:06:04 +00:00
Assar Westerlund
8180bca1d4 re-organize and add 3DES code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-27 04:26:12 +00:00
Assar Westerlund
eba6c2d786 be compatible with libdes's des_cbc_* prototypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-27 10:30:12 +00:00
Assar Westerlund
1799ccfdaf update to pseudo-standard APIs for md4,md5,sha.
some changes to libdes calls to make them more portable.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7820 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-25 23:15:44 +00:00
Johan Danielsson
c5b916ca6f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Johan Danielsson
28c4153e65 Add support for just integrity protecting. Use `gss_krb5_getsomekey'.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4656 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-23 22:51:29 +00:00
Johan Danielsson
259d89264a changes for modified auth_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4156 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-07 15:43:18 +00:00
Assar Westerlund
cf394e97d2 implement wrap_sizelimit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3061 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-20 06:22:00 +00:00
Johan Danielsson
5a32a5c8e7 Add copyright notice.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2389 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 21:40:05 +00:00
Assar Westerlund
ded732c214 Call `gssapi_krb5_make_header'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2283 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-14 11:44:56 +00:00
Assar Westerlund
420b334bba adapt to krb5 changes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1935 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-29 08:40:23 +00:00
Assar Westerlund
d41212baa9 do encrypt and add sequence number
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1918 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-16 03:46:04 +00:00
Johan Danielsson
c9a61cb7b9 Rename contents to keyvalue.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1899 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-11 22:04:53 +00:00
Assar Westerlund
16f56ac4cd new files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1579 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-04-13 22:18:46 +00:00