Commit Graph

511 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand 26712f7c01 make EVP_BytesToKey return an error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 15:01:44 +00:00
Love Hörnquist Åstrand 22857c96da Add EVP_get_cipherbyname, unbreak EVP_BytesToKey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 15:01:20 +00:00
Love Hörnquist Åstrand 5c59fc96ca Add prototype for EVP_BytesToKey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 13:06:45 +00:00
Love Hörnquist Åstrand 67e1f79d36 Add stub for EVP_BytesToKey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-21 13:06:27 +00:00
Love Hörnquist Åstrand a1d2bc1334 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-20 18:17:39 +00:00
Love Hörnquist Åstrand d8e767cb10 Add cpp-rename for DH_check_pubkey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-20 18:16:17 +00:00
Love Hörnquist Åstrand b5bb0fb2b1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-17 13:24:08 +00:00
Love Hörnquist Åstrand 134300927d Add more RAND functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17099 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-17 13:23:04 +00:00
Love Hörnquist Åstrand 0256eb27e6 Split out unix /dev/random to a RAND_METHOD
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17098 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-17 13:19:05 +00:00
Love Hörnquist Åstrand 347ebf4079 add RAND support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17097 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-17 13:16:17 +00:00
Love Hörnquist Åstrand 1668824ca5 s/rc4_64/rc2_64/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17096 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-17 13:14:16 +00:00
Love Hörnquist Åstrand 3a87bd3b39 Use right flags to open(2) when doing reading/writing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17095 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-17 12:25:57 +00:00
Love Hörnquist Åstrand 45a1e8c9ef Add RAND_METHOD and some associated functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-17 12:19:35 +00:00
Love Hörnquist Åstrand 9d126566c5 Test BN_rand
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17093 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-17 12:12:11 +00:00
Love Hörnquist Åstrand 5ce1e2cb21 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-16 19:39:52 +00:00