Commit Graph

189 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
4cac444c71 doxygen.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22354 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-28 09:04:24 +00:00
Love Hörnquist Åstrand
86ab466658 Move test HAVE_GMP to make it not include the header files, and thus
no cause warnings when pointer type is later used.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-14 05:29:43 +00:00
Love Hörnquist Åstrand
d872c4ef2b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22274 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 11:01:03 +00:00
Love Hörnquist Åstrand
b51c335df2 export hc_DH_gmp_method
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 11:00:30 +00:00
Love Hörnquist Åstrand
474e150812 More documentation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 11:00:14 +00:00
Love Hörnquist Åstrand
0da80757d8 More documentation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22271 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 10:59:56 +00:00
Love Hörnquist Åstrand
c8ded2f31d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 10:59:31 +00:00
Love Hörnquist Åstrand
8ebb9eed1d add RSA_gmp_method
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 10:59:22 +00:00
Love Hörnquist Åstrand
2fc521f797 add test_dh and rsa-gmp.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 10:58:53 +00:00
Love Hörnquist Åstrand
67e429dfb4 RSA implementation written using GMP.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 10:58:31 +00:00
Love Hörnquist Åstrand
454c030b42 Test of DH by Matthias Koenig.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 10:57:46 +00:00
Love Hörnquist Åstrand
62d790d879 DH is a subpage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22264 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-09 06:42:19 +00:00
Love Hörnquist Åstrand
c443af3b62 some doxygen documentation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-09 06:41:57 +00:00
Love Hörnquist Åstrand
cc4288372a (BN_is_negative): make argument const.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22261 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-09 06:24:18 +00:00
Love Hörnquist Åstrand
d274926bde (BN_is_negative): make argument const.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22260 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-09 06:23:47 +00:00
Love Hörnquist Åstrand
13c16750fa add doxygen.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 21:57:46 +00:00
Love Hörnquist Åstrand
75f90b9fa9 doxygen main page
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22223 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 16:41:31 +00:00
Love Hörnquist Åstrand
0d71c026fa (DH_check_pubkey): doxygen + if g == 2, pub_key have more then one bit
set, if bits set is 1, log_2(pub_key) is trival


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22222 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 16:40:59 +00:00
Love Hörnquist Åstrand
9252d2927e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 14:02:34 +00:00
Love Hörnquist Åstrand
dcadcad1c3 Can't call getpwuid(getuid()) at all since that causes recursive
lookups. Pointed out by Hai Zaar.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 13:43:25 +00:00
Love Hörnquist Åstrand
5fed824f37 its vs it\'s etc. From Bjorn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-14 20:04:50 +00:00
Love Hörnquist Åstrand
e8a0e0d638 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21924 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-16 14:45:05 +00:00
Love Hörnquist Åstrand
42a31610b1 Use test from camellia samples.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-16 14:44:55 +00:00
Love Hörnquist Åstrand
2696ef729d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21922 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-16 14:39:24 +00:00
Love Hörnquist Åstrand
83c263ed4f Export camellia.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21921 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-16 14:39:05 +00:00
Love Hörnquist Åstrand
568d61d2d2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21920 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-16 14:37:33 +00:00
Love Hörnquist Åstrand
3f3b2c61bc Make camellia-128-cbc tests pass.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-16 14:37:14 +00:00
Love Hörnquist Åstrand
1eee085a85 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-07 07:46:16 +00:00
Love Hörnquist Åstrand
37868a2976 Sprinkle EVP cipher names.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21829 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-07 07:45:59 +00:00
Love Hörnquist Åstrand
015e358ad6 Add --help and --version.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21735 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 02:11:31 +00:00
Love Hörnquist Åstrand
bf0e6fd956 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21728 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-30 10:49:47 +00:00
Love Hörnquist Åstrand
cd12d998ed Include <krb5-types.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21727 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-30 10:48:18 +00:00
Love Hörnquist Åstrand
41cad104b4 add missing camellia files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21695 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-24 23:00:50 +00:00
Love Hörnquist Åstrand
fd660b2e43 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21689 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-24 16:31:31 +00:00
Love Hörnquist Åstrand
97414f05ca Add Camellia
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21687 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-24 16:29:05 +00:00
Love Hörnquist Åstrand
4e0a0910d7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21441 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:43:27 +00:00
Love Hörnquist Åstrand
0ed0300c1e New library version.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21440 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:43:17 +00:00
Love Hörnquist Åstrand
a041a6bf66 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21392 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-30 08:04:14 +00:00
Love Hörnquist Åstrand
e8950bc2ae (HMAC_Init_ex): also zero out key material on re-init.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21391 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-30 08:04:00 +00:00
Love Hörnquist Åstrand
f3bdc8ab1e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:11:00 +00:00
Love Hörnquist Åstrand
b0b726ed0f Default to fortuna due to weired /dev/*random that failes to deliver
random data for us in hi load situations.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:10:41 +00:00
Love Hörnquist Åstrand
e2e4e947a5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:09:32 +00:00
Love Hörnquist Åstrand
124f90e3dc Reseed the random generator now and then from external sources.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:08:58 +00:00
Love Hörnquist Åstrand
ed66cf5d8c Avoid stoping unrelated memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 22:00:59 +00:00
Love Hörnquist Åstrand
fd300fa93a Leak less memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:59:44 +00:00
Love Hörnquist Åstrand
e22bb14371 Remove unused assert.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:58:12 +00:00
Love Hörnquist Åstrand
3b9777f5ac x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 05:20:58 +00:00
Love Hörnquist Åstrand
5e25789281 Use /etc/shadow, not /dev/shadow, pointed out by Andrew Bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 05:19:45 +00:00
Love Hörnquist Åstrand
ed07eec3c8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21103 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:56:14 +00:00
Love Hörnquist Åstrand
08fa7ba08b add rand-timer.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:55:28 +00:00