Commit Graph

8 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
eda99f62e6 (hex_decode): support decoding odd number of characters, in the odd
len case, the character ends up in the first byte in the lower nibble.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-09 17:09:29 +00:00
Love Hörnquist Åstrand
3521604ac0 include "roken.h" to avoid undefined size_t/ssize_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15243 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-27 13:37:47 +00:00
Love Hörnquist Åstrand
709aa58c74 define ROKEN_LIB_FUNCTION on all exported functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-12 11:29:18 +00:00
Love Hörnquist Åstrand
20e1990667 check for overflows
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-21 13:31:33 +00:00
Love Hörnquist Åstrand
a93fe0ed4d (hex_encode): wrap SIZE_T_MAX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-17 13:25:35 +00:00
Love Hörnquist Åstrand
8fe2a2f908 fix decodeing, it processed to much data and thus returned the wrong length
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14621 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-06 16:37:55 +00:00
Love Hörnquist Åstrand
0a4ef1094d use size_t for length
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14619 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-04 16:59:58 +00:00
Love Hörnquist Åstrand
61e610065a add hex encoder/decoder
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14614 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-04 12:52:46 +00:00