Set the key length when initializing an OpenSSL cipher context

This is required for variable key length ciphers like CAST5 and blowfish