Commit Graph

9150 Commits

Author SHA1 Message Date
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
9f59e70024 Now that hcrypto supports DH, remove check for hx509 null DH.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:24:54 +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
2fd4a77e66 Spelling/mdoc from Björn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17462 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 13:18:39 +00:00
Love Hörnquist Åstrand
94c88846ef Spelling/mdoc from Björn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17461 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 13:13:18 +00:00
Love Hörnquist Åstrand
ba1492d065 (fkt_next_entry_int): read the 32 bit kvno if the reset of the data is
longer then 4 bytes in hope to be forward compatible. Pointed out by
Michael B Allen.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17457 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 12:36:57 +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
348b5d79c4 Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17442 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 09:31:15 +00:00
Love Hörnquist Åstrand
51476c2b24 Add test_store to TESTS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17441 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 09:11:22 +00:00
Love Hörnquist Åstrand
b3fc06db32 Catch using hx509 null DH and print a more useful error message.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17440 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 07:33:33 +00:00
Love Hörnquist Åstrand
809f1eef77 Rewrite the krb5_ret_u as proposed by Johan.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17438 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 07:15:18 +00:00
Love Hörnquist Åstrand
197bb022d1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17437 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 11:59:59 +00:00
Love Hörnquist Åstrand
f832671530 Less pointer signedness warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17436 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 11:59:19 +00:00
Love Hörnquist Åstrand
3dd8e3181b Avoid pointer signedness warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17435 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 11:56:50 +00:00
Love Hörnquist Åstrand
4ecf2c2402 (gssapi_decode_*): make data argument const void *
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 11:56:14 +00:00
Johan Danielsson
9823db8f2a change some casts from unsigned to signed types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 11:46:45 +00:00
Johan Danielsson
a0be47c4ec (krb5_store_uint16): change parameter to match function name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 11:45:00 +00:00
Johan Danielsson
c9a10c7d6a replace u_intN_t with uintN_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 11:42:50 +00:00
Love Hörnquist Åstrand
83b9ad094c Document ret and store function for the unsigned fixed size integer types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17427 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:40:35 +00:00
Love Hörnquist Åstrand
93f0be5d42 Use the new unsigned integer storage types. Fail that the address
doesn't match, not the reverse.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:21:07 +00:00
Love Hörnquist Åstrand
1d230f8bae (krb5_ret_uint32): fix typecast
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:16:51 +00:00
Love Hörnquist Åstrand
3da792b3fa Add ret and store function for the unsigned fixed size integer types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:16:08 +00:00
Love Hörnquist Åstrand
3569569378 Test the integer storage types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17423 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:15:07 +00:00