Commit Graph

22672 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
89d5b031f9 define HC_DEPRECATED_CRYPTO
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23610 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 15:56:40 +00:00
Love Hörnquist Åstrand
eeab965755 include <sqlite3.h> instead of "sqlite3.h"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23609 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 15:56:32 +00:00
Love Hörnquist Åstrand
cb65bdbb53 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23608 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 15:56:25 +00:00
Love Hörnquist Åstrand
f2a286081e pick up sqlite from variables.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23607 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 15:56:18 +00:00
Love Hörnquist Åstrand
1f37a38728 don't build sqlite if there is a system one
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23606 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 15:56:12 +00:00
Love Hörnquist Åstrand
6c8e1adcfb optional check for sqlite3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23605 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 15:56:01 +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
55ec8f2df0 flag to allow switching weak crytpo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:12:06 +00:00
Love Hörnquist Åstrand
f4d11aa642 flag to allow switching weak crytpo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23602 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:11:56 +00:00
Love Hörnquist Åstrand
2f733b144a allow weak crypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23601 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:11:46 +00:00
Love Hörnquist Åstrand
410932703b test disabling and expection of des.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23600 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:11:37 +00:00
Love Hörnquist Åstrand
80e3051b41 make excpetion for known weak types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23599 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:11:29 +00:00
Love Hörnquist Åstrand
b5910292fc make excpetion for known weak types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23598 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:11:19 +00:00
Love Hörnquist Åstrand
3a0b87a303 check that des expection works
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:11:09 +00:00
Love Hörnquist Åstrand
4d41802863 set ret before use.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23596 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:10:58 +00:00
Love Hörnquist Åstrand
817f43af29 set ret before use.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:10:48 +00:00
Love Hörnquist Åstrand
b60c237dab All keys doesn't include des keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23594 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:10:38 +00:00
Love Hörnquist Åstrand
ce7dc5a8b8 add EVP_des_cbc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23593 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:10:24 +00:00
Love Hörnquist Åstrand
e8c1f45bf8 add EVP_des_cbc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23592 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:10:15 +00:00
Love Hörnquist Åstrand
3cf44d5def add EVP_des_cbc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:10:07 +00:00
Love Hörnquist Åstrand
aa3cf96645 add [libdefaults]allow_weak_crypto to allow des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:09:56 +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
357e5964a9 play games to move make make-proto not see this functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23588 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:09:31 +00:00
Love Hörnquist Åstrand
a1c4eede5f no des.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:09:20 +00:00
Love Hörnquist Åstrand
b5e0b4121e deprecated functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23586 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:09:11 +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
67bb81a885 enable crypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23582 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:08:16 +00:00
Love Hörnquist Åstrand
1a14adc125 enable crypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23581 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:08:07 +00:00
Love Hörnquist Åstrand
07e88113f9 webpage is http://www.h5l.org/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23580 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:07:57 +00:00
Love Hörnquist Åstrand
c03f133743 drop aes.h, now we use evp.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23579 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:07:49 +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
acdb0765bd maybe this should work...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:05:53 +00:00
Love Hörnquist Åstrand
754267da67 expose hc_evp_md
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23570 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:04:52 +00:00
Love Hörnquist Åstrand
7c6e91521c expose hc_evp_md
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:04:43 +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
7d80d78c9c Moved cts test to hcrypto.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:04:18 +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
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