Skip to content

Commit c7ff3b9

Browse files
committed
Allow for calling the Renesas RX TSIP AES crypto callback without a user context.
1 parent ad9d068 commit c7ff3b9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

wolfcrypt/src/port/Renesas/renesas_tsip_aes.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ int wc_tsip_AesCipher(int devIdArg, wc_CryptoInfo* info, void* ctx)
390390

391391
WOLFSSL_ENTER("wc_tsip_AesCipher");
392392

393-
if (info == NULL || ctx == NULL) {
393+
if (info == NULL) {
394394
return BAD_FUNC_ARG;
395395
}
396396

@@ -479,6 +479,7 @@ int wc_tsip_AesCipher(int devIdArg, wc_CryptoInfo* info, void* ctx)
479479
#endif /* !NO_AES */
480480

481481
}
482+
(void)cbInfo;
482483
WOLFSSL_LEAVE("wc_tsip_AesCipher", ret);
483484
return ret;
484485
}

0 commit comments

Comments
 (0)