mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-08-13 19:11:27 +02:00
test_wc_AesEaxArgMcdc exercised the eax/out/in operands of wc_AesEaxEncryptUpdate / wc_AesEaxDecryptUpdate but always passed (authIn=NULL, authInSz=0), so the guard's authInSz>0 && authIn==NULL term was never evaluated with authInSz>0 -- leaving those two conditions (and their decrypt twins) uncovered in the MC/DC union. Add, for both Update functions, the (authIn==NULL, authInSz>0) row (rejected with BAD_FUNC_ARG) and the (authIn!=NULL, authInSz>0) row (accepted), completing both conditions' independence pairs. These four conditions were the only uncovered code the recent master merge (AES-GCM-SIV, AES-OFB/CFB callbacks) added to aes.c that was reachable from tests/api; closes them so the aes.c union returns to its residual-only gap (410/445, gap 35).
Before creating any new configure files (.conf) read the CONF_FILES_README.md