Skip to content

Commit 975a30a

Browse files
committed
Fix for building with QAT v1.6 (no SHA3).
1 parent 14eed40 commit 975a30a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/port/intel/quickassist.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3297,7 +3297,7 @@ int IntelQaSymSha3(WC_ASYNC_DEV* dev, byte* out, const byte* in, word32 sz)
32973297
ret = 0;
32983298
break;
32993299
#endif
3300-
#ifdef WOLFSSL_SHA3
3300+
#if defined(WOLFSSL_SHA3) && defined(QAT_V2)
33013301
case WC_SHA3_256:
33023302
if (g_qatCapabilities.supSha3) {
33033303
if (hashAlgorithm) *hashAlgorithm = CPA_CY_SYM_HASH_SHA3_256;

0 commit comments

Comments
 (0)