Love Hörnquist Åstrand
|
d37ea650ff
|
Revert preious, something fishy is going on.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19204 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-12-02 09:14:55 +00:00 |
|
Love Hörnquist Åstrand
|
ded1164b42
|
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19203 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-12-02 09:00:29 +00:00 |
|
Love Hörnquist Åstrand
|
9dc51937ea
|
Use mp_int_to_binary to encode bignums
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19202 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-12-02 08:59:59 +00:00 |
|
Love Hörnquist Åstrand
|
89f9b6b049
|
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19201 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-12-02 08:49:39 +00:00 |
|
Love Hörnquist Åstrand
|
548ec1a806
|
Check if header is there
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19200 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-12-02 08:49:16 +00:00 |
|
Love Hörnquist Åstrand
|
b54d852966
|
add RSA_PKCS1_OAEP_PADDING
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19193 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-11-29 11:51:50 +00:00 |
|
Love Hörnquist Åstrand
|
da9641ef4f
|
split return values.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19170 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-11-28 11:48:01 +00:00 |
|
Love Hörnquist Åstrand
|
d2857fa912
|
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19150 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-11-27 11:41:03 +00:00 |
|
Love Hörnquist Åstrand
|
28229b426f
|
Return -1 for failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19149 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-11-27 11:24:33 +00:00 |
|
Love Hörnquist Åstrand
|
96df083d5d
|
Its ok with smaller signatures.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19148 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-11-27 11:12:11 +00:00 |
|
Love Hörnquist Åstrand
|
efaed32112
|
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19136 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-11-27 10:06:06 +00:00 |
|
Love Hörnquist Åstrand
|
81798cfcd3
|
Split error codes for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19135 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-11-27 10:04:30 +00:00 |
|
Love Hörnquist Åstrand
|
25622c7c44
|
(d2i_RSAPrivateKey): Return NULL on failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18857 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-24 12:52:38 +00:00 |
|
Love Hörnquist Åstrand
|
3c74296627
|
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18800 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 23:09:08 +00:00 |
|
Love Hörnquist Åstrand
|
51f86669ef
|
Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18799 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 23:07:32 +00:00 |
|
Love Hörnquist Åstrand
|
6968267966
|
(unix_bytes): read until the other side give us all or fail.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18794 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 21:09:14 +00:00 |
|
Love Hörnquist Åstrand
|
2f361edfd3
|
x
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18783 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 19:53:42 +00:00 |
|
Love Hörnquist Åstrand
|
7eadb147b2
|
(RSA_free): free the whole key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18782 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 19:53:00 +00:00 |
|
Love Hörnquist Åstrand
|
b4c55d807b
|
add imath-1.7
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18759 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 16:32:36 +00:00 |
|
Love Hörnquist Åstrand
|
8833c418b6
|
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18758 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 15:47:52 +00:00 |
|
Love Hörnquist Åstrand
|
dd7de52a6f
|
Add more dh tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18756 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-21 15:44:55 +00:00 |
|
Love Hörnquist Åstrand
|
5186425a4c
|
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18650 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-20 15:07:09 +00:00 |
|
Love Hörnquist Åstrand
|
20b7f3a475
|
Allocate more bits.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18649 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-20 15:04:51 +00:00 |
|
Love Hörnquist Åstrand
|
52d3f32887
|
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18646 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-20 06:57:58 +00:00 |
|
Love Hörnquist Åstrand
|
c766b40350
|
(dh_compute_key): fix signness test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18645 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-20 06:56:57 +00:00 |
|
Love Hörnquist Åstrand
|
aa144a7ac6
|
make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18644 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-20 06:49:45 +00:00 |
|
Love Hörnquist Åstrand
|
3b8b6b225b
|
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18643 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-20 06:40:01 +00:00 |
|
Love Hörnquist Åstrand
|
4c4e6c6307
|
Try harder to generate a good keypair.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18642 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-20 06:37:33 +00:00 |
|
Love Hörnquist Åstrand
|
a8c422b4c0
|
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18640 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-20 06:06:03 +00:00 |
|
Love Hörnquist Åstrand
|
cbc95607d5
|
Return -1 dh_compute_key on failure, pointed out by Olga Kornievskaia.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18639 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-20 05:58:22 +00:00 |
|
Love Hörnquist Åstrand
|
5638b99725
|
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18635 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-19 20:54:55 +00:00 |
|
Love Hörnquist Åstrand
|
acdc89e5b0
|
Add hash.h and des-tables.h.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18634 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-10-19 20:54:20 +00:00 |
|
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 |
|