File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18362,6 +18362,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t aesgcm_test(void)
1836218362 ERROR_OUT(WC_TEST_RET_ENC_NC, out);
1836318363#endif
1836418364
18365+ #if !defined(HAVE_FIPS) || FIPS_VERSION3_GE(7,0,0)
1836518366 /* Regression test: wc_AesGcmDecryptFinal must reject authTagSz below
1836618367 * WOLFSSL_MIN_AUTH_TAG_SZ, consistent with wc_AesGcmDecrypt and
1836718368 * wc_AesGcmEncryptFinal. */
@@ -18376,6 +18377,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t aesgcm_test(void)
1837618377 if (ret != WC_NO_ERR_TRACE(BAD_FUNC_ARG))
1837718378 ERROR_OUT(WC_TEST_RET_ENC_EC(ret), out);
1837818379#endif /* HAVE_AES_DECRYPT && WOLFSSL_MIN_AUTH_TAG_SZ > 1 */
18380+ #endif /* !HAVE_FIPS || FIPS_VERSION3_GE(7,0,0) */
1837918381
1838018382 /* alen is the size to pass in with each update. */
1838118383 for (alen = 1; alen < WC_AES_BLOCK_SIZE + 1; alen++) {
You can’t perform that action at this time.
0 commit comments