Commit Graph

700 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
ed26f631b1 (test_cipher): avoid leaking memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20395 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 13:36:06 +00:00
Love Hörnquist Åstrand
19813066bb write the sizeof(arr)/sizeof(arr[0]) on the common form.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20394 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 13:33:09 +00:00
Love Hörnquist Åstrand
d62b541ac2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20377 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 19:54:26 +00:00
Love Hörnquist Åstrand
bae7f53142 plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20376 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 19:54:09 +00:00
Love Hörnquist Åstrand
f7f0374925 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20353 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 10:27:12 +00:00
Love Hörnquist Åstrand
445d8c45ce CLEANFILES += test.file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20352 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 10:27:03 +00:00
Love Hörnquist Åstrand
1d64c2435a Test if commit mail works
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20338 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 16:58:52 +00:00
Love Hörnquist Åstrand
0dd050478c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20337 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 16:54:32 +00:00
Love Hörnquist Åstrand
c35f417298 Add randi.h.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20336 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 16:54:17 +00:00
Love Hörnquist Åstrand
1cd4fe8eb8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20298 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:10:53 +00:00
Love Hörnquist Åstrand
01f6b946a2 spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:10:35 +00:00
Love Hörnquist Åstrand
65915400c8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-01 22:08:50 +00:00
Love Hörnquist Åstrand
60cbef9fc8 Name the random file ~/.rnd, this is the same as OpenSSL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-01 22:08:41 +00:00
Love Hörnquist Åstrand
70c78948da x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 12:44:43 +00:00
Love Hörnquist Åstrand
24be41ca14 Make get_bytes static.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20093 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 12:44:28 +00:00
Love Hörnquist Åstrand
87b4962f43 (RAND_write_file): default to failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 12:42:50 +00:00
Love Hörnquist Åstrand
3e77eedd10 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20068 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-30 19:42:24 +00:00
Love Hörnquist Åstrand
040695a3bd Implement RAND_file_name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-30 19:41:35 +00:00
Love Hörnquist Åstrand
b73c455908 test RAND_file_name().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-30 19:40:56 +00:00
Love Hörnquist Åstrand
718bb416be x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20065 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-30 18:32:15 +00:00
Love Hörnquist Åstrand
2bfbb56713 Provide dummy implementation of RAND_file_name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20064 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-30 18:31:33 +00:00
Love Hörnquist Åstrand
ba8cd2915a add RAND_file_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-30 18:30:36 +00:00
Love Hörnquist Åstrand
63d9699b5b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-21 10:01:21 +00:00
Love Hörnquist Åstrand
dcbf620e8c clean more files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-21 10:00:47 +00:00
Love Hörnquist Åstrand
791e5558d6 access private functions though the RAND_METHOD switch, move global
egd function to rand-egd.c


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-21 09:56:30 +00:00
Love Hörnquist Åstrand
cc60062fbe access private functions though the RAND_METHOD switch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20029 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-21 09:55:42 +00:00
Love Hörnquist Åstrand
553f65418a unexport private functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-21 09:54:56 +00:00
Love Hörnquist Åstrand
c8aaf68c9b Unexport internal functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20027 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-21 09:54:00 +00:00
Love Hörnquist Åstrand
0381676ae8 access private functions though the RAND_METHOD switch, don't truncate
the seed-file, move global egd function to rand-egd.c


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-21 09:53:02 +00:00
Love Hörnquist Åstrand
75d0b8416e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20025 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-21 09:50:58 +00:00
Love Hörnquist Åstrand
d5f0098d37 add basic random tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20024 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-21 09:49:49 +00:00
Love Hörnquist Åstrand
3f64ab1f97 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20022 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-21 08:16:23 +00:00
Love Hörnquist Åstrand
ac46eccff7 SGI cc doesn' like return void_returning_function(); in a void
returning function.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20021 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-21 08:14:53 +00:00
Love Hörnquist Åstrand
3a8701962c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20006 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-20 20:59:34 +00:00
Love Hörnquist Åstrand
d4bb9814b0 Allow select rand method.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20005 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-20 20:58:49 +00:00
Love Hörnquist Åstrand
d4ff6d4b96 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-20 20:51:22 +00:00
Love Hörnquist Åstrand
2245b0bb00 expose _hc_rand_unix_status and the internal RAND_METHODs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-20 20:51:03 +00:00
Love Hörnquist Åstrand
a019133d4b expose _hc_rand_unix_status
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20002 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-20 20:50:11 +00:00
Love Hörnquist Åstrand
51e8f07957 Implement RAND_load_file and RAND_write_file.
Select UNIX random device if available, otherwise use Fortuna.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20001 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-20 20:49:28 +00:00
Love Hörnquist Åstrand
8a8e5b93f0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20000 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-20 20:15:45 +00:00
Love Hörnquist Åstrand
d71e77f64b add EGD/PRNGD support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19997 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-20 20:15:28 +00:00
Love Hörnquist Åstrand
0a66d3e486 use LIBADD_roken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 18:45:03 +00:00
Love Hörnquist Åstrand
b6d9890960 update version number and remove depenency on libvers for libraries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 17:30:31 +00:00
Love Hörnquist Åstrand
1765c9718d Add fortuna based on Marko Kreen s pgcrypt, no enabled yet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19942 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 00:24:33 +00:00
Love Hörnquist Åstrand
1eb0ccb9c5 update LICENSE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-13 13:25:27 +00:00
Love Hörnquist Åstrand
2bbb877357 if RAND is unhappy, don't run the tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 20:37:59 +00:00
Love Hörnquist Åstrand
5fdf640ff5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19855 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 20:24:12 +00:00
Love Hörnquist Åstrand
4ccc092c18 Update to imath-1.8 from Michael Fromberger
Fixed a bug in s_udiv() affecting the computation of quotient digits.
Thanks to Love Åstrand for isolating this bug.  Also in this release,
defining USELLONG=Y or USELLONG=N on the command line for make will
switch support for the "long long" data type on or off without having
to edit the Makefile.  The default is still to permit use of "long
long", even though the type is not standard ANSI C90.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19854 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 20:23:15 +00:00
Love Hörnquist Åstrand
e617970842 remove more debug stuff from s_udiv
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19832 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 03:59:34 +00:00
Love Hörnquist Åstrand
63a029268a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 03:56:18 +00:00