Commit Graph

211 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
879ac0a824 remove #if 0 debug stuff that haven't been used for a couple of years
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:06:54 +00:00
Love Hörnquist Åstrand
7cc56b554f use EVP for des-crc-mdX functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:06:37 +00:00
Love Hörnquist Åstrand
bf83b84842 More EVP.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:06:24 +00:00
Love Hörnquist Åstrand
b0b2802cb1 More EVP.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:06:10 +00:00
Love Hörnquist Åstrand
7260146234 Only clean keys that had their schedule setup.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23568 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:04:34 +00:00
Love Hörnquist Åstrand
65e525ce2e cleanup of crypto context, for encryptes that needs to do malloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23566 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:04:09 +00:00
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
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
7b5981996c sprinle O_CLOEXEC, from Andrew Bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23474 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-28 08:49:43 +00:00
Love Hörnquist Åstrand
b227a5249d close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23454 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:11:44 +00:00
Love Hörnquist Åstrand
1dd872ca5c Allow numbers to be enctypes to as long as they are valid.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23378 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-24 20:02:19 +00:00
Love Hörnquist Åstrand
d23858caf2 Use krb5_set_error_message(), drop unused functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:25:46 +00:00
Love Hörnquist Åstrand
b127d90367 use offset to go over the array.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-01 22:26:24 +00:00
Love Hörnquist Åstrand
e9662cad42 Use wind_utf8ucs2_length to convert the password to utf16.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-01 22:26:08 +00:00
Love Hörnquist Åstrand
af065bb9b8 Use DES_set_key_unchecked().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-29 05:47:08 +00:00
Love Hörnquist Åstrand
cc1564ec41 use struct for AlgorithmIdentifier.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 09:47:23 +00:00