mirror of https://github.com/wolfSSL/wolfssl.git
Allow for calling the Renesas RX TSIP AES crypto callback without a user context.
parent
ad9d068174
commit
c7ff3b99b7
|
@ -390,7 +390,7 @@ int wc_tsip_AesCipher(int devIdArg, wc_CryptoInfo* info, void* ctx)
|
||||||
|
|
||||||
WOLFSSL_ENTER("wc_tsip_AesCipher");
|
WOLFSSL_ENTER("wc_tsip_AesCipher");
|
||||||
|
|
||||||
if (info == NULL || ctx == NULL) {
|
if (info == NULL) {
|
||||||
return BAD_FUNC_ARG;
|
return BAD_FUNC_ARG;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -479,6 +479,7 @@ int wc_tsip_AesCipher(int devIdArg, wc_CryptoInfo* info, void* ctx)
|
||||||
#endif /* !NO_AES */
|
#endif /* !NO_AES */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
(void)cbInfo;
|
||||||
WOLFSSL_LEAVE("wc_tsip_AesCipher", ret);
|
WOLFSSL_LEAVE("wc_tsip_AesCipher", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue