4 Commits

Author SHA1 Message Date
TLINDEN
5d44a4d9ba fix #8, unfortunately used symbol already in use by system, globally 2015-04-01 20:21:03 +02:00
git@daemon.de
e033df7156 changed z85 padding (incompatible to previous pcp versions!):
now we padd with zeroes as usual but append 4 bytes to the
raw input, the last one indicates the pad count. It's always
present, even if no padding occurred (the pad blob will then
read 0000).
This fixes the issue of earlier versions where trailing zeroes
in the original input (between block boundaries) have been
removed. Since we now add the pad counter, we know how many
zeroes to remove. If the original chunk already ended with zeroes
they will left untouched.
Re-created all test keys/data to match the change.
Also, the pcp_z85_encode() function now haves another flag
doblock. If set to 1, the function does the 72 chars per line
block creation itself, otherwise it just returns the z85 string
without any newlines added. Required by pcpstream class.
2014-07-31 16:41:20 +02:00
git@daemon.de
01f149d4f1 adapt unittests to new pcp context stuff 2014-05-05 11:57:57 +02:00
TLINDEN
0767e55e55 added -L, enhanced -E 2014-03-02 18:04:54 +01:00