Commit Graph

13957 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand 634dfaf5f3 _krb5_aes_cts_encrypt no longer used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23565 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:03:56 +00:00
Love Hörnquist Åstrand 0a0d731350 Start switch to EVP digest.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:03:42 +00:00
Love Hörnquist Åstrand 7e03e547fa generic hash (sample md5)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23563 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:03:28 +00:00
Love Hörnquist Åstrand b10c376602 pull in hcrypto/evp-aes-cts.c if we use openssl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:03:20 +00:00
Love Hörnquist Åstrand 25114f77f6 handle building as part of openssl and libkrb5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:03:11 +00:00
Love Hörnquist Åstrand 4dd45a8442 make this as cryptolib
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:02:59 +00:00
Love Hörnquist Åstrand 28650bb961 EVP_wincrypt_des_ede3_cbc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:02:49 +00:00
Love Hörnquist Åstrand 72d753aec4 Use EVP for AES
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:02:40 +00:00
Love Hörnquist Åstrand d9d708753c test evp-aes-cts
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:02:25 +00:00
Love Hörnquist Åstrand 814682faba add evp-aes-cts
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:02:13 +00:00
Love Hörnquist Åstrand cc11539054 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:02:00 +00:00
Love Hörnquist Åstrand 3f658d3d19 add evp-aes-cts
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:01:52 +00:00
Love Hörnquist Åstrand 7d2c2bfd04 add aes cts
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23553 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:01:35 +00:00
Love Hörnquist Åstrand dcf1a2fea0 add new symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23552 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:01:25 +00:00
Love Hörnquist Åstrand f90c487c4b add (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:01:14 +00:00
Love Hörnquist Åstrand 5fadb08d38 break out the hcrypto part
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:00:59 +00:00
Love Hörnquist Åstrand 765920bf4e break out the hcrypto part
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:00:49 +00:00
Love Hörnquist Åstrand fe4dcf700a evp-hcrypto.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23548 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:00:40 +00:00
Love Hörnquist Åstrand 30d0d24121 catch error, zero out variable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23546 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:00:20 +00:00
Love Hörnquist Åstrand f27b97c10b As long as we got one kerberos cred, be happy with the first one.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23545 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:00:10 +00:00
Love Hörnquist Åstrand a65167e3ce Copy the krb5 context error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23543 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:59:45 +00:00
Love Hörnquist Åstrand 9efa43473c If we change the error code, change the context error code too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23542 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:59:36 +00:00
Love Hörnquist Åstrand 70a00b7fab Only send KRB_ERROR token when there is clock skew, limits when we
send KRB-ERROR for non-MUTUAL tokens.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23541 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:59:26 +00:00
Love Hörnquist Åstrand f28083f6b3 Avoid checking mech for now...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23540 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:59:07 +00:00
Love Hörnquist Åstrand 55aa5f1680 provide slightly better error codes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23539 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:58:59 +00:00
Love Hörnquist Åstrand cd784ac2dc provide slightly better error codes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23538 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:58:49 +00:00
Love Hörnquist Åstrand 84199f34d1 provide slightly better error codes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23537 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:58:41 +00:00
Love Hörnquist Åstrand b3c213ae68 provide slightly better error codes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23536 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:58:33 +00:00
Love Hörnquist Åstrand f2a2070e19 make acquire_initiator_cred work again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23534 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:58:12 +00:00
Love Hörnquist Åstrand abf2e95bdf add missing flag policy-delegate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23533 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:58:04 +00:00
Love Hörnquist Åstrand 5f0ff671a4 try really hard to rename the symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23532 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:57:49 +00:00
Love Hörnquist Åstrand 501bbbbd3c try really hard to rename the symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23531 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:57:37 +00:00
Love Hörnquist Åstrand 1aff6e34d9 export more
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23530 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-14 23:30:11 +00:00
Love Hörnquist Åstrand e572c589c5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23529 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-14 23:30:01 +00:00
Love Hörnquist Åstrand a48756092c If there is a initiator subkey, copy that to acceptor subkey to match
windows behavior. From Metze.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23528 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-14 23:29:40 +00:00
Love Hörnquist Åstrand 3b3ffff06d Only strip DELEG_FLAG if there is a realm setting, simplify the
GSS_C_DELEG_POLICY_FLAG handling.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23527 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-14 23:29:29 +00:00
Love Hörnquist Åstrand f5660e1ec7 export more
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23524 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-12 20:41:24 +00:00
Love Hörnquist Åstrand e112c2f9aa Include larger table with IMATH_LARGE_PRIME_TABLE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23521 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:59 +00:00
Love Hörnquist Åstrand e896b1f6e8 define IMATH_LARGE_PRIME_TABLE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23520 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:53 +00:00
Love Hörnquist Åstrand 67b4e4ccd0 update to imath 1.13
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:48 +00:00
Love Hörnquist Åstrand 4384fb0209 use SOCK_CLOEXEC
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23517 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:38 +00:00
Love Hörnquist Åstrand 8efac579af Specify lazy loading. From Milosz Kmieciak.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23516 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:32 +00:00
Love Hörnquist Åstrand 9407642396 catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:07 +00:00
Love Hörnquist Åstrand 225a6e45af catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23512 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:02 +00:00
Love Hörnquist Åstrand 78b0cb1d12 remove unread assignment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:52 +00:00
Love Hörnquist Åstrand ba8498ce09 catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:47 +00:00
Love Hörnquist Åstrand 734a7cdf4f return whatever krb5_copy_data returnd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:33 +00:00
Love Hörnquist Åstrand 11752006c3 ignore error from crypto_destro to catch more intresting error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:28 +00:00
Love Hörnquist Åstrand f05f1107ce catch error and return error from krb5_openlog().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23505 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:24 +00:00
Love Hörnquist Åstrand 8b628c715f catch error from iterate_entries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:19 +00:00