Use PKCS7 padding, the same as OpenSSL