mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Allow for calling the Renesas RX TSIP AES crypto callback without a user context.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user