sha512 (raw): support max. length of 55 and minimize transfers to actually needed size.