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
size_t input_rows_count,
        const ColumnPtr & input_column,
        const ColumnPtr & key_column,
        [[maybe_unused]] const ColumnPtr & iv_column,
        [[maybe_unused]] const ColumnPtr & aad_column)
    {
        using namespace OpenSSLDetails;
        auto evp_ctx_ptr = std::unique_ptr<EVP_CIPHER_CTX, decltype(&::EVP_CIPHER_CTX_free)>(EVP_CIPHER_CTX_new(), &EVP_CIPHER_CTX_free);
        auto * evp_ctx = evp_ctx_ptr.get();
        [[maybe_unused]] const auto block_size = static_cast<size_t>(EVP_CIPHER_block_size(evp_cipher));
        [[maybe_unused]] const auto iv_size = static_cast<size_t>(EVP_CIPHER_iv_length(evp_cipher));
        const size_t key_size = static_cast<size_t>(EVP_CIPHER_key_length(evp_cipher));
        static constexpr size_t tag_size = 16; 
        auto decrypted_result_column = ColumnString::create();
        auto & decrypted_result_column_data = decrypted_result_column->getChars();
        auto & decrypted_result_column_offsets = decrypted_result_column->getOffsets();
        {
            size_t resulting_size = 0;
            for (size_t r = 0; r < input_rows_count; ++r)
            {
                size_t string_size = input_column->getDataAt(r).size;
                resulting_size += string_size + 1;  
                if constexpr (mode == CipherMode::RFC5116_AEAD_AES_GCM)
                {
                    if (string_size < tag_size)
                        throw Exception("Encrypted data is smaller than the size of additional data for AEAD mode, cannot decrypt.",
                            ErrorCodes::BAD_ARGUMENTS);
                    resulting_size -= tag_size;
                }
            }