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
bdf7544c1b
(unwrap_des3): use _gssapi_verify_pad
...
(unwrap_des): use _gssapi_verify_pad
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12689 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 10:24:45 +00:00
Love Hörnquist Åstrand
7911b7e907
hook in arcfour unwrap
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12674 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 00:07:25 +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
5b4a741593
reorder code so sequence numbers can can be used
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12371 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:08:20 +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
cc84c8d575
set minor_status
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11760 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-16 17:54:43 +00:00
Johan Danielsson
b553209764
(unwrap_des3): use ETYPE_DES3_CBC_NONE
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11344 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-03 17:33:11 +00:00
Jacques A. Vidrine
5d8e2e5a3c
In gss_verify_mic and gss_unwrap, initialize the qop_state parameter
...
if non-NULL. We do this prior to calling the encryption-system specific
functions in case some day they set qop_state.
Doug Rabson <dfr@nlsystems.com > encountered this bug while working on
RPCSEC_GSS code from UMich's NFSv4 project.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11015 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-20 15:14:00 +00:00
Assar Westerlund
e129105771
handle minor_status more consistently
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10533 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-23 04:35:55 +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
11eeed3017
add missing setting of minor_status and failure checks
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9697 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-18 03:39:09 +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
5d542aef42
(unwrap_des3): use the checksum as ivec when encrypting the sequence
...
number
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-08 05:05:19 +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
aab481a09a
Add support for just integrity protecting. Implement and use
...
`gss_krb5_getsomekey'. Fix bug in checking of pad.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4655 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-23 22:50:41 +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
225b823df0
signed char
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3698 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-29 01:29:04 +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
88e55002dc
Call `gssapi_krb5_verify_header'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2282 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-14 11:44:38 +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