Commit Graph

12353 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
8385525489 (libgssapi_la_SOURCES): += arcfour.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 03:54:29 +00:00
Love Hörnquist Åstrand
dbc6a88ab1 include "arcfour.h"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 03:53:44 +00:00
Love Hörnquist Åstrand
417d3481f7 arcfour gss-api mech, get_mic/verify_mic working
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 03:53:25 +00:00
Love Hörnquist Åstrand
22ea5f3f5c (proto): fill in client in the match cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 03:50:40 +00:00
Love Hörnquist Åstrand
a2a201e6b0 always include cfx.h
add prototype for _gssapi_decapsulate


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-26 17:31:12 +00:00
Love Hörnquist Åstrand
e7462b402d make the include protectors more uniq
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12652 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-26 17:30:25 +00:00
Love Hörnquist Åstrand
99116000bc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12651 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-26 17:26:52 +00:00
Love Hörnquist Åstrand
9ecd1c0860 CFX uses slightly diffrent usage numbers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12650 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-26 17:26:40 +00:00
Love Hörnquist Åstrand
9def900887 (libgssapi_la_SOURCES) += cfx.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12649 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-26 02:38:27 +00:00
Love Hörnquist Åstrand
956f1f3951 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12648 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-26 02:37:44 +00:00
Love Hörnquist Åstrand
a49e96cc81 Implementation of draft-ietf-krb-wg-gssapi-cfx-00.txt from Luke Howard <lukeh@PADL.COM>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12647 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-26 02:37:09 +00:00
Love Hörnquist Åstrand
543e348996 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12646 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-26 02:23:03 +00:00
Love Hörnquist Åstrand
9db3c84953 add _gssapi_decapsulate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12645 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-26 02:20:08 +00:00
Love Hörnquist Åstrand
1e1f234862 (usage2arcfour): simplify, only include special cases
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12644 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 22:38:33 +00:00
Love Hörnquist Åstrand
2bfc42befe x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12643 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 20:33:44 +00:00
Love Hörnquist Åstrand
1c5aca620c code rewrite from Luke Howard <lukeh@PADL.COM>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12642 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 20:29:03 +00:00
Love Hörnquist Åstrand
1026a01bec x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12641 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 20:26:26 +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
c8cf8c9880 encap/decap now takes a oid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12639 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 20:02:49 +00:00
Love Hörnquist Åstrand
a339bd774f include cfx.h if we need it
lifetime is a OM_uint32, depend on gssapi interface
add all new encap/decap functions


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12638 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 20:01:45 +00:00
Love Hörnquist Åstrand
b50861a481 add decap functions that doesn't take the token type
also make all decap function take the oid mech that they should use


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12637 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 19:57:43 +00:00
Love Hörnquist Åstrand
0fed18d468 add encap functions that doesn't take the token type
also make all encap function take the oid mech that they should use


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12636 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 19:56:51 +00:00
Johan Danielsson
a8f75867a1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12635 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 14:11:04 +00:00
Johan Danielsson
85f1d75f8d fix automake conditional foo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12634 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 14:10:43 +00:00
Love Hörnquist Åstrand
7c53e8d156 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 11:30:04 +00:00
Love Hörnquist Åstrand
575766e5e7 (elem_insert): fix a off by one index counter
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12628 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 11:28:46 +00:00
Love Hörnquist Åstrand
61413db01f (arcfour_checksum_p): return true when is arcfour, not when its not
pointed out by Luke Howard


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 11:09:19 +00:00
Love Hörnquist Åstrand
c06ee414b8 update Luke Howard email address
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 11:06:26 +00:00
Love Hörnquist Åstrand
934f0c3d3d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 01:27:40 +00:00
Love Hörnquist Åstrand
43ee62bf0b (gss_inquire_cred): handle cred_handle beeing GSS_C_NO_CREDENTIAL and
use the default cred then.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12624 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 01:27:02 +00:00
Love Hörnquist Åstrand
766828ca55 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12623 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-24 03:41:07 +00:00
Love Hörnquist Åstrand
2ff6bd0665 document: krb5_crypto_getconfoundersize, krb5_crypto_getblocksize
krb5_crypto_getenctype, krb5_crypto_getpadsize


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12622 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-24 03:40:33 +00:00
Love Hörnquist Åstrand
d250fe4e0c (krb5_crypto_getpadsize, krb5_crypto_getconfoundersize): added
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12621 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-24 03:32:48 +00:00
Love Hörnquist Åstrand
d8c8fbe5bb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12620 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 20:36:22 +00:00
Love Hörnquist Åstrand
1eb16a5ad2 (handle_tcp): handle recvfrom returning 0 (connection closed)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12619 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 20:36:07 +00:00
Love Hörnquist Åstrand
3dd517eff1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12618 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 20:16:49 +00:00
Love Hörnquist Åstrand
2a54d3bcb1 (grow_descr): increment the size after we succeed to allocate the space
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 20:15:39 +00:00
Love Hörnquist Åstrand
b5c8e15bf2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 11:54:22 +00:00
Love Hörnquist Åstrand
28a86465f4 text about when krb5_crypto_get_checksum_type is useful
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12615 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 11:49:38 +00:00
Love Hörnquist Åstrand
7df97da057 document krb5_crypto_get_checksum_type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12614 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 11:37:17 +00:00
Love Hörnquist Åstrand
71bc13390a (krb5_crypto_get_checksum_type): fix format string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12613 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 11:36:00 +00:00
Love Hörnquist Åstrand
2eaeba1f93 add krb5_crypto_get_checksum_type
From: Luke Howard <lukeh@PADL


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12612 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 11:33:53 +00:00
Love Hörnquist Åstrand
751a7769ef don't prefix the pretty printer with heim_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12611 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 10:07:43 +00:00
Love Hörnquist Åstrand
cbba49a837 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12610 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 10:02:38 +00:00
Love Hörnquist Åstrand
a5d3c4f398 s/UTF8String/heim_utf8_string/ in generated code
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12609 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 09:59:27 +00:00
Love Hörnquist Åstrand
0b0329cb47 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12608 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-21 14:23:59 +00:00
Love Hörnquist Åstrand
5640b8bb3d (print_entry_terse): handle error when unparsing name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12607 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-21 14:23:25 +00:00
Love Hörnquist Åstrand
dc519824d4 include aes.h inc in the local libdes case too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12606 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-21 14:21:17 +00:00
Love Hörnquist Åstrand
7c8f875744 XXX don't use "plain" pthread support on netbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12605 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-20 20:11:58 +00:00
Love Hörnquist Åstrand
bbeffa1fb5 wrap gssapi stuff with KRB5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-20 16:26:21 +00:00