Commit Graph

526 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
7d627aac99 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17610 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-01 21:06:33 +00:00
Love Hörnquist Åstrand
726a88d9c6 (BN_rand): avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 19:32:18 +00:00
Love Hörnquist Åstrand
b0252ac443 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17538 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:49:23 +00:00
Love Hörnquist Åstrand
7329fc2b51 Fix the last one of the asserts.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17537 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:49:13 +00:00
Love Hörnquist Åstrand
cab95ddf13 (get_device_fd): use /dev/urandom first.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17522 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 20:37:24 +00:00
Love Hörnquist Åstrand
d8c9cace35 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 11:28:17 +00:00
Love Hörnquist Åstrand
3c6cb82e67 Less "pointer targets in passing argument differ in signedness" warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 11:27:49 +00:00
Love Hörnquist Åstrand
e6fc90db6d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17508 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 11:26:41 +00:00
Love Hörnquist Åstrand
ed00352654 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17502 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:58:10 +00:00
Love Hörnquist Åstrand
59641f933c print the lengths when they don't match.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17501 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:57:22 +00:00
Love Hörnquist Åstrand
7214c1cc3b Fix a off by one.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17500 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:57:05 +00:00
Love Hörnquist Åstrand
a20fd6a283 (ENGINE_load_builtin_engines): use RSA_imath_method for the building engine.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17499 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:40:31 +00:00
Love Hörnquist Åstrand
8d32354103 expose RSA_imath_method
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:34:02 +00:00
Love Hörnquist Åstrand
03dd091073 (RSA_check_key): Do sign/verify instead.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:33:28 +00:00
Love Hörnquist Åstrand
c91b4361c7 rename the DSA_METHOD
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17496 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:31:58 +00:00
Love Hörnquist Åstrand
5fb1f4adee rename the DH_METHOD
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:31:31 +00:00
Love Hörnquist Åstrand
a50dbb80fc Default to use rsa-imath.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:29:39 +00:00
Love Hörnquist Åstrand
755c9d43b3 Add rsa-imath.c to libhcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:28:56 +00:00
Love Hörnquist Åstrand
22c43d0f77 Add RSA support using imath.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17492 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:27:38 +00:00
Love Hörnquist Åstrand
19cf57843c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17488 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:20:53 +00:00
Love Hörnquist Åstrand
1ba2cefc7c Add license file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17485 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:16:18 +00:00
Love Hörnquist Åstrand
b118d4fa8e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17484 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:11:26 +00:00
Love Hörnquist Åstrand
692f240c28 Expose DH_imath_method.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17483 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:11:15 +00:00
Love Hörnquist Åstrand
e77be696f6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17482 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:05:21 +00:00
Love Hörnquist Åstrand
358a5c6aa8 Add imath source, add test_engine_dso to TESTS.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17481 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:05:09 +00:00
Love Hörnquist Åstrand
0948670ec4 Default to test DH.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:04:36 +00:00
Love Hörnquist Åstrand
d4dc7b5eba x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 12:41:50 +00:00
Love Hörnquist Åstrand
037bc4d27e Lets say we have RSA_null_method(), not really useable, but still.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17478 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 12:40:59 +00:00
Love Hörnquist Åstrand
c3e8bf64e5 Print the name of the METHOD.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17477 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 12:39:44 +00:00
Love Hörnquist Åstrand
7b4608758a If there are no arguments, use the internal engine.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17476 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 12:35:21 +00:00
Love Hörnquist Åstrand
8686b956f7 Cpp rename some ENGINE symbols.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17475 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 12:34:36 +00:00
Love Hörnquist Åstrand
eb20007f8a (ENGINE_load_builtin_engines): Load the internal engine.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17474 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 12:34:03 +00:00
Love Hörnquist Åstrand
eff39c224e Default to use DH-imath.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 12:33:08 +00:00
Love Hörnquist Åstrand
2a23d82706 Implement DH using imath.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 12:32:28 +00:00
Love Hörnquist Åstrand
3d256d3f4a import core of imath 1.1.9
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 12:31:07 +00:00
Love Hörnquist Åstrand
6ce1a8fb4d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 07:13:15 +00:00
Love Hörnquist Åstrand
87845fef3a (DH_check_pubkey): describe what the function do
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17469 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 07:12:51 +00:00
Love Hörnquist Åstrand
f8cfc4381e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17464 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 13:32:03 +00:00
Love Hörnquist Åstrand
327bc0cf08 (DH_compute_key): check return status value from DH_check_pubkey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17463 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 13:31:02 +00:00
Love Hörnquist Åstrand
5118c90498 Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 11:11:43 +00:00
Love Hörnquist Åstrand
cb704efeeb Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:37:46 +00:00
Love Hörnquist Åstrand
6c25b55ad5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:29:43 +00:00
Love Hörnquist Åstrand
54f16d4f4c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 15:23:48 +00:00
Love Hörnquist Åstrand
1a4fa0bb22 include <krb5-types.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 15:23:38 +00:00
Love Hörnquist Åstrand
f98cb94d4e Sprinkel some assertions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17212 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 14:36:28 +00:00
Love Hörnquist Åstrand
d0bfcde47f Move assertion and add another restriction, used as hint to beam that its ok
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 14:26:19 +00:00
Love Hörnquist Åstrand
a2f3d68355 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 20:45:12 +00:00
Love Hörnquist Åstrand
7b95f0b5f2 (RSA_check_key): don't do any checking if there is no private key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 20:45:00 +00:00
Love Hörnquist Åstrand
78ed40ac39 (add_engine): reassign engines variable after realloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 20:37:03 +00:00
Love Hörnquist Åstrand
a373ad9424 implement EVP_BytesToKey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 15:25:43 +00:00