Jeffrey Altman
93518bfab4
use memset_s
...
lib roken includes support for memset_s() but it was not applied
to the Heimdal source tree.
Change-Id: I8362ec97a9be50205bb2d398e65b629b88ce1acd
2017-04-29 01:05:59 -04:00
Nicolas Williams
774f166e31
First attempt s/\<const gss_.*_t/gss_const_.*_t/g
2013-06-02 15:30:58 -05:00
Love Hörnquist Åstrand
8060a561db
switch to KRB5_ENCTYPE
2011-07-24 16:02:22 -07:00
Asanka Herath
5dcc605f6b
Fix calling conventions for Windows
2010-08-20 13:14:10 -04:00
Love Hornquist Astrand
dfd40e4403
switch to EVP_MD_CTX_create() and thus make smaller
2009-08-21 07:16:09 -07:00
Love Hornquist Astrand
88d55a1d06
Make compile for weak crypto global (HEIM_WEAK_CRYPTO) and use it for GSSAPI too
2009-08-17 18:06:42 +02:00
Love Hornquist Astrand
62433c844c
switch to use EVP interface instead of old crypto interface
2009-08-17 16:02:45 +02:00
Love Hornquist Astrand
3ef05891ee
switch to use EVP interface instead of old MDX_ style interface
2009-08-17 10:13:04 +02:00
Love Hörnquist Åstrand
c99b2003e2
Implement gss_wrap_iov, gss_unwrap_iov for CFX type encryption types.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-22 17:56:41 +00:00
Love Hörnquist Åstrand
269a7a057b
flatten include headers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24382 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:35:00 +00:00
Love Hörnquist Åstrand
bedf5bc77e
init content before use coverity #146
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24095 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:58:48 +00:00
Love Hörnquist Åstrand
9586101a49
use the krb5_crypto directly, skipping some per packet calculation, make cfx handling simpler
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:52:10 +00:00
Love Hörnquist Åstrand
6937d41a02
remove trailing whitespace
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898
switch to utf8 encoding of all files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
81d68d4ee2
use DES_set_key_unchecked()
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 18:51:26 +00:00
Love Hörnquist Åstrand
00bcd44370
Switch from using a specific error message context in the TLS to have
...
a whole krb5_context in TLS. This have some interestion side-effekts
for the configruration setting options since they operate on
per-thread basis now.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 18:02:57 +00:00
Love Hörnquist Åstrand
b391925d80
try new subkey handling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-18 15:59:33 +00:00
Love Hörnquist Åstrand
dfa6f7b248
reference all include files using krb5/
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18334 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 22:16:04 +00:00
Love Hörnquist Åstrand
ee09f98c15
Rename local include file, remove global files.
...
Stop exposing global gssapi symbols.
Rename gss_context_id_t and gss_cred_id_t to local names.
Remove SPNEGO code, its now in its own gssapi module.
Add mechglue inquire functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17697 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 08:54:04 +00:00
Love Hörnquist Åstrand
27d503a511
(mic_des3): make sure message_buffer doesn't point to free()ed memory
...
on failure. Pointed out by IBM checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 09:55:37 +00:00
Love Hörnquist Åstrand
08f8270867
(get_mic*)_: make sure message_token is cleaned on error, found by IBM checker.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:12:52 +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
f3dbe53b49
support cfx
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13522 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 16:36:30 +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
1f92183e98
hook in arcfour get_mic
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 00:06:22 +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
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
5830dd22fd
set minor_status
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11768 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-16 18:02:04 +00:00
Love Hörnquist Åstrand
dc2b3cf973
(mic_des3): fix 3des get_mic to conform to rfc (and mit kerberos),
...
provide backward compat hook
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11623 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:11:16 +00:00
Jacques A. Vidrine
b0a87c1750
Correct a heap buffer overrun.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10781 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-31 13:37:39 +00:00
Assar Westerlund
62bf188177
update krb5_auth_con function names
...
use gss_krb5_get_localkey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10097 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 02:50:15 +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
9007da4345
(mic_des3): new krb5_create_checksum
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9869 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-09 07:13:35 +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
9f01264fc0
cast parameters to des function to non-const pointers to handle the
...
case where these functions actually take non-const des_cblock *
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9518 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-27 18:13:03 +00:00
Assar Westerlund
4a97b49895
re-organize and add 3DES code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9000 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-27 03:50:07 +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
09a0a27f70
spelling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7821 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-25 23:19:22 +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
644ebda442
Use `gss_krb5_getsomekey'.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4729 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-04-05 06:11: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
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
18d72f2bd9
Add sequence number.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1916 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-16 03:45:10 +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