Allow for calling the Renesas RX TSIP AES crypto callback without a user context.

pull/8854/head
David Garske 2025-06-11 14:46:17 -07:00
parent ad9d068174
commit c7ff3b99b7
1 changed files with 2 additions and 1 deletions

View File

@ -390,7 +390,7 @@ int wc_tsip_AesCipher(int devIdArg, wc_CryptoInfo* info, void* ctx)
WOLFSSL_ENTER("wc_tsip_AesCipher");
if (info == NULL || ctx == NULL) {
if (info == NULL) {
return BAD_FUNC_ARG;
}
@ -479,6 +479,7 @@ int wc_tsip_AesCipher(int devIdArg, wc_CryptoInfo* info, void* ctx)
#endif /* !NO_AES */
}
(void)cbInfo;
WOLFSSL_LEAVE("wc_tsip_AesCipher", ret);
return ret;
}