Love Hornquist Astrand
1a625c0908
ltm-0.41
2010-07-01 10:51:29 -07:00
Love Hornquist Astrand
5ca101c63e
fix compile warnings
2010-06-29 11:57:56 -07:00
Love Hornquist Astrand
6d0e3950a5
add hc_i2d_DHparams
2010-06-16 14:55:51 -07:00
Love Hornquist Astrand
0dcfbd65c9
add i2d_DHparams
2010-06-16 14:55:08 -07:00
Love Hornquist Astrand
cda41d7252
add i2d_DHparams
2010-06-16 14:55:04 -07:00
Love Hornquist Astrand
91020dd11d
add cfb8-aes modes
2010-06-03 17:20:40 -07:00
Love Hornquist Astrand
efa5a314a8
fix warnings
2010-06-03 16:16:48 -07:00
Love Hornquist Astrand
a11303a4ca
make tfm default
2010-06-01 20:24:52 -07:00
Love Hornquist Astrand
3f56365be0
don't reinit variable
2010-06-01 19:18:24 -07:00
Love Hornquist Astrand
2527594a5c
If build with libcrypto, load the openssl engine
2010-06-01 17:17:21 -07:00
Love Hornquist Astrand
de4cee4dd7
speed for rsa
2010-06-01 17:16:25 -07:00
Love Hornquist Astrand
4f90bb51d2
add gmp
2010-06-01 17:11:29 -07:00
Love Hornquist Astrand
f41c361718
make almost work
2010-06-01 17:10:57 -07:00
Love Hornquist Astrand
3c8d9ef8d5
more symbols
2010-06-01 15:07:43 -07:00
Love Hornquist Astrand
40327e0cf3
add more generate
2010-06-01 15:07:17 -07:00
Love Hornquist Astrand
661ce3d1a4
add more generate
2010-06-01 15:07:07 -07:00
Love Hornquist Astrand
8bb2de2e3f
test --time-key=generate
2010-06-01 15:06:53 -07:00
Love Hornquist Astrand
3d4eabb5ea
more testing
2010-06-01 15:05:07 -07:00
Love Hornquist Astrand
36bfbfc1d8
add fp_init_multi and fp_find_prime
2010-06-01 11:16:20 -07:00
Love Hornquist Astrand
5377497d47
add dh-tfm.obj
2010-06-01 11:02:56 -07:00
Love Hornquist Astrand
7f6734138e
use lu and typecast to avoid warning for sizeof() between 32 and 64 bit hosts
2010-05-27 10:40:59 -05:00
Love Hornquist Astrand
83b86bf013
add fp_radix_size
2010-05-27 10:40:05 -05:00
Love Hornquist Astrand
90cb0ecae6
Windows fixes from Asanka Herath
2010-05-27 10:10:06 -05:00
Asanka Herath
85f6e6d670
Build Tom's fast math library on Windows
2010-05-26 12:17:30 -04:00
Love Hornquist Astrand
e404c9db96
indent
2010-05-26 10:45:53 -05:00
Love Hornquist Astrand
3108d93489
add and use fp_isneg
2010-05-26 10:45:15 -05:00
Love Hornquist Astrand
658d110d4a
add tfm dh (and some missing files)
2010-05-26 10:27:32 -05:00
Love Hornquist Astrand
b09eac50ee
clean up
2010-05-26 10:19:07 -05:00
Love Hornquist Astrand
a45d584792
add tfm dh (and some missing files)
2010-05-26 10:07:11 -05:00
Asanka Herath
a750f29cda
_getch() can return '\r' on Windows
2010-05-26 10:38:40 -04:00
Asanka Herath
7b8ebf0efe
Fix return value of w32crypto_bytes() and use correct data types
2010-05-26 10:38:40 -04:00
Love Hornquist Astrand
323ccec648
add support to generate keys
2010-05-26 09:31:23 -05:00
Love Hornquist Astrand
fa5a1cb201
tomcrypt rsa
2010-05-22 13:19:48 -07:00
Love Hornquist Astrand
3c58379590
tomsfastmath version of rsa, keygen missing
2010-05-19 22:29:07 -07:00
Simon Wilkinson
994e8641c0
hcrypto: Don't explicitly include system headers
...
Don't explicitly include system headers in hash.h. These get pulled
in anyway through roken.h, and explicitly including them here makes
compiling hcrypto in the kernel much harder.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2010-04-29 16:43:48 +02:00
Simon Wilkinson
887993e8b3
Add mutex protection for the fortuna PRNG
...
The fortuna PRNG has an statically held internal state. Prevent
concurrent access to this internal state by adding mutexes around
all of the access classes.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2010-04-19 14:26:53 +02:00
Love Hornquist Astrand
d02418be27
windows doesn't have /dev/random
2010-03-21 16:44:30 -07:00
Love Hornquist Astrand
08572822da
use pathp for pathbased file names
2010-03-21 16:07:45 -07:00
Love Hornquist Astrand
408e3420d1
try hard to unset HOME and randfile
2010-03-21 16:06:34 -07:00
Love Hornquist Astrand
c491b59007
pull out unix /dev/random if we cant get users home directory
2010-03-21 11:01:24 -07:00
Love Hornquist Astrand
76122d97c2
Test emptier environment
2010-03-21 10:59:26 -07:00
Love Hornquist Astrand
fc9aff2260
log the source too
2010-03-21 09:41:20 -07:00
Love Hornquist Astrand
3ac7d626c2
log failures
2010-03-21 09:37:42 -07:00
Andrew Tridge
6bff49a89d
memset the right length of the {i,o}pad data, memset opad not ipad in the opad case (typo)
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2010-03-18 10:59:51 -07:00
Love Hornquist Astrand
9200bb1738
Wrap <CommonCrypto/CommonDigest.h> with ifdef since it doesn't exists on Tiger
2010-01-08 13:12:44 +01:00
Love Hornquist Astrand
d65ba36a5e
replace exeext too
2010-01-01 13:33:47 +01:00
Love Hornquist Astrand
dd04b1d7ba
make DES_is_weak_key ct
2010-01-01 13:08:04 +01:00
Love Hornquist Astrand
212a3ea09a
test weak keys
2010-01-01 13:07:20 +01:00
Love Hornquist Astrand
02e980612e
make #ifdef positive, add comments
2009-12-24 07:19:49 +01:00
Love Hornquist Astrand
08d12ee6e0
implement RAND_pseudorand for the w32 provider in terms of w32crypto_bytes
2009-12-24 07:13:15 +01:00