Commit Graph

228 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
fd4fa6e543 remove krb5_encrypt_ivec_new now that we have new sample code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23652 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-21 21:25:14 +00:00
Love Hörnquist Åstrand
72157cd54f drop len from krb5_crypto_length()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23650 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-21 21:24:52 +00:00
Love Hörnquist Åstrand
085315cad3 krb5_{encrypt,decrypt}_iov_ivec for derived crypto.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23647 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-21 21:24:21 +00:00
Love Hörnquist Åstrand
2b1fadb026 Dummy krb5_enctype_iov and friends.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23644 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-19 11:51:20 +00:00
Love Hörnquist Åstrand
470c89676a switch last MD5 to EVP
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23620 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-18 13:49:57 +00:00
Love Hörnquist Åstrand
80f534b1be remove HMAC_MD5_checksum_enc, it was never used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23619 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-18 13:49:40 +00:00
Love Hörnquist Åstrand
969f6d3c69 remove unused debug code that haven't been used in yeras
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23618 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-18 13:49:19 +00:00
Love Hörnquist Åstrand
9a9febbd62 remove unused
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 16:09:39 +00:00
Love Hörnquist Åstrand
440bdde5ff switch des3 to evp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 16:09:26 +00:00
Love Hörnquist Åstrand
2b3730b46c allow optionally to drop weak enctypes and unstandard enctypes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23604 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:47:13 +00:00
Love Hörnquist Åstrand
6872e73f4d Play games to move make make-proto not see this EVP_hcrypto_aes.
Disable DES.
Add krb5_enctype_enable().

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23589 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:09:45 +00:00
Love Hörnquist Åstrand
826a7369a3 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23585 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:09:03 +00:00
Love Hörnquist Åstrand
0cbaf39afc move to group crypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:08:49 +00:00
Love Hörnquist Åstrand
3669790e99 add krb5_enctype_enable and some doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:08:32 +00:00
Love Hörnquist Åstrand
1c9741f328 The PRF slightly more generic
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23578 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:07:40 +00:00
Love Hörnquist Åstrand
f6d7055a49 Pass down EVP_CIPHER to key schedule and clean up.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23577 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:07:21 +00:00
Love Hörnquist Åstrand
ed463c5e96 switch aes and des-cbc-{crc,md4,md5} to evp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:07:09 +00:00