check all bytes in strip_pkcs7_padding