test/crypto: fix output buffer length