forked from wolfSSL/wolfssl
Reduce TFM fp_int size by only adding the “int size” if ALT_ECC_SIZE or WOLFSSL_ASYNC_CRYPT is defined. Fix couple of async build errors in wolfCrypt test.
This commit is contained in:
@@ -6197,7 +6197,7 @@ int rsa_test(void)
|
||||
}
|
||||
do {
|
||||
#if defined(WOLFSSL_ASYNC_CRYPT)
|
||||
ret = wc_RsaAsyncWait(ret, key);
|
||||
ret = wc_RsaAsyncWait(ret, &key);
|
||||
#endif
|
||||
if (ret >= 0) {
|
||||
ret = wc_RsaPrivateDecryptInline(out, idx, &res, &key);
|
||||
@@ -6332,7 +6332,7 @@ int rsa_test(void)
|
||||
|
||||
do {
|
||||
#if defined(WOLFSSL_ASYNC_CRYPT)
|
||||
ret = wc_RsaAsyncWait(ret, key);
|
||||
ret = wc_RsaAsyncWait(ret, &key);
|
||||
#endif
|
||||
if (ret >= 0) {
|
||||
ret = wc_RsaPrivateDecryptInline_ex(out, idx, &res, &key,
|
||||
|
||||
Reference in New Issue
Block a user