ClickHouse v.21.8.10.19

Got exсeption when aes_encrypt_mysql got unexpected result as input

test case:
````
create table test_table
(
    value           Nullable(String),
    encrypted_value Nullable(String)
)
    engine MergeTree order by assumeNotNull(value);

insert into test_table
select 'test_value1', aes_encrypt_mysql('aes-256-ecb', 'test_value1', 'test_key________________________');
insert into test_table
select '', aes_encrypt_mysql('aes-256-ecb', '', 'test_key________________________');
insert into test_table
select null, aes_encrypt_mysql('aes-256-ecb', null, 'test_key________________________');

select aes_decrypt_mysql('aes-256-ecb', value, 'test_key________________________')
from test_table
````

got `Failed to decrypt. OpenSSL error code: 503316603: while executing 'FUNCTION aes_decrypt_mysql` as exception
{
        if (key.size != cipher_key_size)
            throw DB::Exception(fmt::format("Invalid key size: {} expected {}", key.size, cipher_key_size),
                    DB::ErrorCodes::BAD_ARGUMENTS);
        return key;
    }
};
template <>
struct KeyHolder<CipherMode::MySQLCompatibility>
{
    inline StringRef setKey(size_t cipher_key_size, const StringRef & key)
    {
        if (key.size < cipher_key_size)
            throw DB::Exception(fmt::format("Invalid key size: {} expected {}", key.size, cipher_key_size),
                    DB::ErrorCodes::BAD_ARGUMENTS);
        
        
        
        
        
        return foldEncryptionKeyInMySQLCompatitableMode(cipher_key_size, key, folded_key);
    }
    
    
    
private:
    std::array<char, EVP_MAX_KEY_LENGTH> folded_key;
};
template <CompatibilityMode compatibility_mode>
inline void validateCipherMode(const EVP_CIPHER * evp_cipher)