From 48d872187d64dd1c31aec000a5bbcd1438c5b2fb Mon Sep 17 00:00:00 2001 From: John Safranek Date: Fri, 4 Oct 2019 09:01:59 -0700 Subject: [PATCH] Synchronous Quick Assist Support for Sniffer 1. Add a HardwareStop for the QAT sync build in wolfCrypt_Cleanup(); --- wolfcrypt/src/wc_port.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wolfcrypt/src/wc_port.c b/wolfcrypt/src/wc_port.c index ac83c68e9..8c37dba89 100644 --- a/wolfcrypt/src/wc_port.c +++ b/wolfcrypt/src/wc_port.c @@ -266,6 +266,10 @@ int wolfCrypt_Cleanup(void) wolfAsync_HardwareStop(); #endif + #ifdef HAVE_INTEL_QA_SYNC + IntelQaHardwareStop(); + #endif + #if defined(WOLFSSL_IMX6_CAAM) || defined(WOLFSSL_IMX6_CAAM_RNG) || \ defined(WOLFSSL_IMX6_CAAM_BLOB) wc_caamFree();