diff --git a/wolfcrypt/src/aes.c b/wolfcrypt/src/aes.c index dc07259c6..a4e4b4a36 100644 --- a/wolfcrypt/src/aes.c +++ b/wolfcrypt/src/aes.c @@ -10913,7 +10913,6 @@ int wc_AesCcmDecrypt(Aes* aes, byte* out, const byte* in, word32 inSz, if (authIn == NULL && authInSz > 0) return BAD_FUNC_ARG; - /* sanity check on tag size */ if (wc_AesCcmCheckTagSize((int)authTagSz) != 0) { return BAD_FUNC_ARG;