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

This commit is contained in:
Vitaliy Filippov
2026-04-27 15:24:44 +03:00
parent 78a21542da
commit 440a8bc33a
5 changed files with 467 additions and 33 deletions
+10
View File
@@ -249,6 +249,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);