Signed-off-by: malo <malo@25cmsquare.io>
Padding for an odd number of bytes was not calculated properly.