Implement direct AES-256-GCM with a static key for benchmark

This commit is contained in:
Vitaliy Filippov
2026-07-05 14:58:09 +03:00
parent d40ba7c5ce
commit 8b39a268b9
5 changed files with 467 additions and 33 deletions
+10
View File
@@ -230,6 +230,16 @@ osd_client_t::~osd_client_t()
write_csum_state = NULL;
}
#ifdef WITH_OPENSSL
if (enc_ctx)
{
EVP_CIPHER_CTX_free(enc_ctx);
enc_ctx = NULL;
}
if (dec_ctx)
{
EVP_CIPHER_CTX_free(dec_ctx);
dec_ctx = NULL;
}
if (ssl_cli)
{
SSL_free(ssl_cli);