Love Hörnquist Åstrand
c30aa8456e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18619 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-19 17:36:07 +00:00
Love Hörnquist Åstrand
f0f3239f00
(DH_compute_key): return -1 on bad public key.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18618 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-19 17:31:51 +00:00
Love Hörnquist Åstrand
6b00854f00
Remove stray ;
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18604 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-19 14:23:00 +00:00
Love Hörnquist Åstrand
be421558d5
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-19 12:48:39 +00:00
Love Hörnquist Åstrand
016955e82a
remove stray ;
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-19 11:33:01 +00:00
Love Hörnquist Åstrand
dbc15bde32
Does function typecasts instead of void * type-casts.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18593 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-19 11:22:33 +00:00
Love Hörnquist Åstrand
3cd9ba21de
Does function typecasts instead of void * type-casts.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18592 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-19 11:17:31 +00:00
Love Hörnquist Åstrand
0c07686775
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 20:08:10 +00:00
Love Hörnquist Åstrand
a80a2a3176
Move out rand-unix functions from the core lib.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18475 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-16 10:23:01 +00:00
Love Hörnquist Åstrand
527ba2f5f6
add rand-unix.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18474 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-16 10:22:33 +00:00
Love Hörnquist Åstrand
e5539a3167
Move out rand-unix functions from the core unix lib.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-16 10:21:58 +00:00
Love Hörnquist Åstrand
b13d4aa75d
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-15 10:46:24 +00:00
Love Hörnquist Åstrand
a0ae8a588e
(HMAC_CTX_cleanup): destroy the EVP_MD_CTX, so it will be freed.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-15 10:39:05 +00:00
Love Hörnquist Åstrand
7bb7aad766
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18451 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 09:23:00 +00:00
Love Hörnquist Åstrand
ee4ddbe911
Drop heim_any.h, prefix der primitives with der_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18449 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 09:21:09 +00:00
Love Hörnquist Åstrand
042b66d1ac
Drop heim_any.h.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18448 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 09:20:35 +00:00
Love Hörnquist Åstrand
84e59ac8a9
(RSA_free): Call the meth->finish before releasing the engine.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18408 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-11 21:26:23 +00:00
Love Hörnquist Åstrand
aa01dfb5e1
import imath 1.6
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 19:43:57 +00:00
Love Hörnquist Åstrand
22963acfd4
Remove dup return.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18321 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 18:55:59 +00:00
Love Hörnquist Åstrand
238037a82e
Fix spelling.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 17:21:48 +00:00
Love Hörnquist Åstrand
c107365d22
add OPENSSL_add_all_algorithms and friends
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18299 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 12:15:52 +00:00
Love Hörnquist Åstrand
0f02e41eff
add symbol rewrites
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18298 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 12:13:46 +00:00
Love Hörnquist Åstrand
ee7a2924f9
add OPENSSL_add_all_algorithms and friends
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 12:10:20 +00:00
Love Hörnquist Åstrand
b2f9603d3f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 07:31:06 +00:00
Love Hörnquist Åstrand
1e83468c03
Cast argument to ctype(3) functions to (unsigned char).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18253 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 07:30:54 +00:00
Love Hörnquist Åstrand
e44de8b05e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 15:49:20 +00:00
Love Hörnquist Åstrand
c7577f523b
(read_string): Try to not call signaction for signal 0 and use NSIG if
...
it exists to determin how many signals there exists, also, only
restore those signalhandlers that we got out.
Bug reported by and patch tested by Harald Barth.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 15:45:57 +00:00
Love Hörnquist Åstrand
364e63f12a
Add commeted out test that exponent is > 3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-15 14:09:28 +00:00
Love Hörnquist Åstrand
34b0d0c2ec
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18044 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-07 08:09:42 +00:00
Love Hörnquist Åstrand
a554fa893b
Reverse 1.5, not needed.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18043 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-07 08:09:21 +00:00
Love Hörnquist Åstrand
3d82dd78b7
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-05 21:25:05 +00:00
Love Hörnquist Åstrand
b69e61c398
Check for Daniel Bleichenbacher an attack on PKCS #1 v1.5 signatures.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18029 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-05 21:24:48 +00:00
Love Hörnquist Åstrand
50b0269256
s/11/RSA_PKCS1_PADDING_SIZE/
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17669 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-22 02:07:25 +00:00
Love Hörnquist Åstrand
7d627aac99
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17610 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-01 21:06:33 +00:00
Love Hörnquist Åstrand
726a88d9c6
(BN_rand): avoid shadowing.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 19:32:18 +00:00
Love Hörnquist Åstrand
b0252ac443
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17538 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:49:23 +00:00
Love Hörnquist Åstrand
7329fc2b51
Fix the last one of the asserts.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17537 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:49:13 +00:00
Love Hörnquist Åstrand
cab95ddf13
(get_device_fd): use /dev/urandom first.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17522 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 20:37:24 +00:00
Love Hörnquist Åstrand
d8c9cace35
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 11:28:17 +00:00
Love Hörnquist Åstrand
3c6cb82e67
Less "pointer targets in passing argument differ in signedness" warnings.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 11:27:49 +00:00
Love Hörnquist Åstrand
e6fc90db6d
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17508 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 11:26:41 +00:00
Love Hörnquist Åstrand
ed00352654
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17502 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:58:10 +00:00
Love Hörnquist Åstrand
59641f933c
print the lengths when they don't match.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17501 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:57:22 +00:00
Love Hörnquist Åstrand
7214c1cc3b
Fix a off by one.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17500 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:57:05 +00:00
Love Hörnquist Åstrand
a20fd6a283
(ENGINE_load_builtin_engines): use RSA_imath_method for the building engine.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17499 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:40:31 +00:00
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