AFAIK OpenSSL doesn't expose padding except as an optional parameter to EVP which kills the ability to separate and compose it.