Commit Graph

15 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
49c442c958 Fix the rsa-decrypt failed case that been hauting me for a while.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 21:31:30 +00:00
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
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
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
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
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
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
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
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
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
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
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
22c43d0f77 Add RSA support using imath.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17492 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:27:38 +00:00