Commit Graph

245 Commits

Author SHA1 Message Date
Love Hornquist Astrand
f01ca1a10e doxygen 2009-08-14 13:46:45 +02:00
Love Hornquist Astrand
550a6c9427 doxygen fixes, include <evp-hcrypto.h> if not using openssl 2009-08-14 11:45:18 +02:00
Love Hornquist Astrand
33fcc11b3f Replace last SHA1_ with EVP_ replacement 2009-08-11 10:00:30 +02:00
Love Hornquist Astrand
18a4b69b48 Switch more cases to EVP crypto layer 2009-08-10 17:51:17 +02:00
Love Hornquist Astrand
9b710bed81 store is never read again 2009-07-29 22:37:58 +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
65e7108f79 use oid variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25235 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:17:52 +00:00
Love Hörnquist Åstrand
942a821fab remove RCSID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-04 06:17:40 +00:00
Love Hörnquist Åstrand
628c662250 doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25150 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-27 02:42:42 +00:00
Love Hörnquist Åstrand
5e30553aca Add krb5_crypto_fx_cf2().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-27 02:19:41 +00:00
Love Hörnquist Åstrand
ccaaea0378 fix comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-06 02:51:05 +00:00
Love Hörnquist Åstrand
4b73e8078f use SHA_DIGEST_LENGTH
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 09:01:13 +00:00
Love Hörnquist Åstrand
f0616af047 Use blocksize instead of 16.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:37:53 +00:00
Love Hörnquist Åstrand
8082c12c88 q not used, don't increment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:26:22 +00:00
Love Hörnquist Åstrand
9d4f21d07b only copy out padding if we had a padding buffer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:25:52 +00:00
Love Hörnquist Åstrand
7f0f3de8ee doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24754 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:13:43 +00:00
Love Hörnquist Åstrand
e8eb837b41 doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:13:32 +00:00
Love Hörnquist Åstrand
4ed2490144 Verify checksum.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:13:21 +00:00
Love Hörnquist Åstrand
8acbbf8edf simplify now that there is only one data buffer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24751 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:13:08 +00:00
Love Hörnquist Åstrand
dcb75ee170 Only one DATA buffer for _iov functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24750 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:12:55 +00:00
Love Hörnquist Åstrand
7614f9aca1 move out some deprecated functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:52:37 +00:00
Love Hörnquist Åstrand
a6fcb85344 doxygen fixup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:47:24 +00:00
Love Hörnquist Åstrand
c25af51232 make paranoia check less paranoid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:42:52 +00:00
Love Hörnquist Åstrand
c6e9b9cabc simplify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24207 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 04:59:34 +00:00
Love Hörnquist Åstrand
28de60a9bc stricter check that enctype matches checksum type when using keyed checksum
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:32:59 +00:00
Love Hörnquist Åstrand
242139b224 plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:09:28 +00:00
Love Hörnquist Åstrand
554655b628 call cleanup callback on free schedule in setup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:09:08 +00:00
Love Hörnquist Åstrand
a77294556d return error when we cant find enctype, cid#59
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:05:53 +00:00
Love Hörnquist Åstrand
c96c9b0ced check that valid enctypes are not 0, cid#29
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24118 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:02:43 +00:00
Love Hörnquist Åstrand
669aa01712 check that num_data >= 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24079 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:55:14 +00:00
Love Hörnquist Åstrand
83ad3c21e9 use int for num_data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:55:04 +00:00
Love Hörnquist Åstrand
5a42051a2d krb5_enctypes_compatible_keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24073 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:53:44 +00:00
Love Hörnquist Åstrand
7f6d448621 implement the new gss_*_iov interfaces
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24055 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:49:37 +00:00
Love Hörnquist Åstrand
d3535d5e2f include des in heimdal smaller
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23991 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:27:02 +00:00
Love Hörnquist Åstrand
d5163cf946 hide more functions (dead stripping caugth these)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23965 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:22:16 +00:00
Love Hörnquist Åstrand
03babea1e3 switch to krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:55:39 +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
b819f43457 make compile again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23758 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:16:37 +00:00
Love Hörnquist Åstrand
a7375c12c1 more translations.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23756 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:15:46 +00:00
Love Hörnquist Åstrand
4f023f744b provide i18n hooks and renew krb5_create_checksum_iov from comments from metze
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23733 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:06:34 +00:00
Love Hörnquist Åstrand
9ec328f91b pass in type 0 to krb5_create_checksum().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23725 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-01 20:15:43 +00:00
Love Hörnquist Åstrand
f714477e82 simplify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-01 20:15:36 +00:00
Love Hörnquist Åstrand
901bd0334c doxygen.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23723 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-01 11:34:24 +00:00
Love Hörnquist Åstrand
51e86080f1 add krb5_create_checksum_iov
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-01 10:54:38 +00:00
Love Hörnquist Åstrand
e11d48b938 add krb5_cksumtype_to_enctype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-01 10:54:25 +00:00
Love Hörnquist Åstrand
d1c07ab2a1 catch return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 02:32:30 +00:00
Love Hörnquist Åstrand
85028c43c9 deprecate keytype functions, catch return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 02:32:16 +00:00
Love Hörnquist Åstrand
27e06ef268 Pick out header and trailer first before treating data and sign_only data.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-21 21:25:53 +00:00
Love Hörnquist Åstrand
5ad47f2f66 * XXX CTS EVP is broken, can't handle multi buffers :(
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-21 21:25:27 +00:00