Support isa-l_crypto for AES-GCM

This commit is contained in:
Vitaliy Filippov
2026-04-27 15:24:44 +03:00
parent 17cb875e10
commit 8dbbf4097a
8 changed files with 140 additions and 17 deletions
+8
View File
@@ -248,12 +248,20 @@ osd_client_t::~osd_client_t()
}
if (enc_ctx)
{
#ifdef WITH_ISAL_CRYPTO
free(enc_ctx);
#else
EVP_CIPHER_CTX_free(enc_ctx);
#endif
enc_ctx = NULL;
}
if (dec_ctx)
{
#ifdef WITH_ISAL_CRYPTO
free(dec_ctx);
#else
EVP_CIPHER_CTX_free(dec_ctx);
#endif
dec_ctx = NULL;
}
if (ssl_cli)