Commit Graph

3662 Commits

Author SHA1 Message Date
Björn Sandell
d43a2bc1af A few words on digests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-28 10:55:49 +00:00
Björn Sandell
860a96e752 mdoc fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 19:32:33 +00:00
Love Hörnquist Åstrand
3b7ff465c1 Add declspec for Windows
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-17 10:02:03 +00:00
Love Hörnquist Åstrand
806b6c3d7a Update make-proto usage.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23008 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-17 10:00:36 +00:00
Love Hörnquist Åstrand
46cdc86e6f Don't print krb5_error_code since we are using krb5_err().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22999 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 19:36:35 +00:00
Love Hörnquist Åstrand
dac3a0a031 Cast krb5_error_code to int to avoid warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22993 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:55:30 +00:00
Love Hörnquist Åstrand
adeccfb453 Cast krb5_error_code to int to avoid warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22992 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:55:25 +00:00
Love Hörnquist Åstrand
3e739f8ba4 Cast enum to int to avoid warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22991 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:55:21 +00:00
Love Hörnquist Åstrand
bb3c231225 Cast krb5_error_code to int to avoid warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22990 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:55:16 +00:00
Love Hörnquist Åstrand
4212ec831b Cast size_t to unsigned long to avoid warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22989 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:55:12 +00:00
Love Hörnquist Åstrand
35f21109ee Cast krb5_error_code to int to avoid warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22988 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:55:09 +00:00
Love Hörnquist Åstrand
156b2c77e8 Make num_entries an uint32 to avoid negative numbers and type warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:55:01 +00:00
Love Hörnquist Åstrand
96ece475a2 get_version returns an int, update
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:54:57 +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
Love Hörnquist Åstrand
7b1fad970e add AlgorithmIdentifier for glue.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 06:26:55 +00:00
Love Hörnquist Åstrand
63181bbae8 sort and export _krb5_pk_kdf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22941 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:07:34 +00:00
Love Hörnquist Åstrand
8e6f72fb92 Check kdf params. calculate the second half of the key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22939 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:07:24 +00:00
Love Hörnquist Åstrand
122f00f53b correct second half of key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22938 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:07:19 +00:00
Love Hörnquist Åstrand
48c1854a75 Comment testcase[0]
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:07:14 +00:00
Love Hörnquist Åstrand
b0bd2f7866 (_krb5_pk_kdf): Check that is sha1 we are using.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:07:10 +00:00
Love Hörnquist Åstrand
49ac4e17fc Add test_pknistkdf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22934 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:07:01 +00:00
Love Hörnquist Åstrand
50edb1b440 Test the new pkinit nist kdf.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:06:52 +00:00
Love Hörnquist Åstrand
bf33685d7e Complete _krb5_pk_kdf.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:06:35 +00:00
Love Hörnquist Åstrand
05422a8a8a First version of KDF in draft-ietf-krb-wg-pkinit-alg-agility-03.txt.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:06:25 +00:00
Love Hörnquist Åstrand
17e0e936a3 Revert "Use size_t where appropriate."
This reverts commit 5169642e08042c50ab86da9376d78bcb5b7cfce1.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 14:51:33 +00:00
Love Hörnquist Åstrand
4626bbd7e3 export krb5_scc_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22920 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:17:59 +00:00
Love Hörnquist Åstrand
ccd66600f5 Rename the pkinit type enum.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:17:14 +00:00
Love Hörnquist Åstrand
b07aeaac64 Name the pkinit type enum.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22914 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:16:56 +00:00
Love Hörnquist Åstrand
459b3f0a69 Drop krb5_pk_identity and rename constants to match global header.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:16:44 +00:00
Love Hörnquist Åstrand
a5301b2daa Include pkinit and include add krb5_pk_identity.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:16:40 +00:00
Love Hörnquist Åstrand
eb4e9f87d1 (scc_alloc): %x is unsigned int.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:16:19 +00:00
Love Hörnquist Åstrand
92286b7303 Sort and add krb5_cc_switch.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 20:17:49 +00:00
Love Hörnquist Åstrand
7a47e167d9 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:52:06 +00:00
Love Hörnquist Åstrand
f56b0f9866 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:36 +00:00
Love Hörnquist Åstrand
ed707620c0 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22871 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:32 +00:00
Love Hörnquist Åstrand
210ad42de3 Use size_t where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22868 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:20 +00:00
Love Hörnquist Åstrand
8e4183d9bb Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22867 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:16 +00:00
Love Hörnquist Åstrand
d46e99e899 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22866 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:12 +00:00
Love Hörnquist Åstrand
e7d288e184 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22865 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:07 +00:00
Love Hörnquist Åstrand
880d4d84f6 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:03 +00:00
Love Hörnquist Åstrand
0f4b203dd2 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22862 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:49:55 +00:00
Love Hörnquist Åstrand
6752ef7fbd simplify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:49:44 +00:00
Love Hörnquist Åstrand
319fa07a42 simplify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:49:40 +00:00
Love Hörnquist Åstrand
85af0f8b74 Add version number to krb5_cc_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22846 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:48:56 +00:00
Love Hörnquist Åstrand
331b920fdc Add version number to krb5_cc_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:48:51 +00:00
Love Hörnquist Åstrand
294407ee53 allow returning the default cc-type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:48:45 +00:00
Love Hörnquist Åstrand
4538b95576 Add krb5_cc_switch, to set the default credential cache.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:48:26 +00:00
Love Hörnquist Åstrand
21abe2d75e Implement set_default.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:48:15 +00:00
Love Hörnquist Åstrand
ae1a8c5c2e Implement set_default.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:48:10 +00:00
Love Hörnquist Åstrand
97119eb872 Extend krb5_cc_ops and add set_default to set the default cc name for
a credential type.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22836 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:48:06 +00:00