Commit Graph

7 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
e01da67d58 (RC2_set_key): abort on erroneous input (len <= 0) size that will case
out out bound indexing, and its invalid input.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17022 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-09 17:03:21 +00:00
Love Hörnquist Åstrand
6f1fa16431 Rename parameter, as encrypt shadows a global, from Andrew Bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-18 22:47:33 +00:00
Love Hörnquist Åstrand
c2d9c8331b use unsigned char to avoid signess warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15134 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-13 08:04:51 +00:00
Love Hörnquist Åstrand
6357f48500 handle non blocksized cbc messages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:06:51 +00:00
Love Hörnquist Åstrand
e166f76126 (RC2_set_key): rewrite the mask calculation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13756 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 12:08:22 +00:00
Love Hörnquist Åstrand
d3ee5536f7 (RC2_set_key): handle keys where effective bits are diffrent from keylength
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 12:05:26 +00:00
Love Hörnquist Åstrand
e8470007a1 rc2 implementation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13750 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-23 19:23:38 +00:00