mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Merge pull request #4722 from dgarske/minor
This commit is contained in:
@@ -2263,6 +2263,7 @@ exit:
|
|||||||
(void)bench_mac_algs;
|
(void)bench_mac_algs;
|
||||||
(void)bench_asym_algs;
|
(void)bench_asym_algs;
|
||||||
(void)bench_other_algs;
|
(void)bench_other_algs;
|
||||||
|
(void)bench_pq_asym_algs;
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@@ -2356,8 +2356,19 @@ static int wc_RsaFunctionSync(const byte* in, word32 inLen, byte* out,
|
|||||||
|
|
||||||
#if defined(WOLFSSL_SP_MATH)
|
#if defined(WOLFSSL_SP_MATH)
|
||||||
(void)rng;
|
(void)rng;
|
||||||
|
#ifndef WOLFSSL_HAVE_SP_RSA
|
||||||
|
(void)in;
|
||||||
|
(void)inLen;
|
||||||
|
(void)out;
|
||||||
|
(void)outLen;
|
||||||
|
(void)type;
|
||||||
|
(void)key;
|
||||||
|
#error RSA SP option invalid (enable WOLFSSL_HAVE_SP_RSA or disable WOLFSSL_SP_MATH)
|
||||||
|
return NOT_COMPILED_IN;
|
||||||
|
#else
|
||||||
WOLFSSL_MSG("SP Key Size Error");
|
WOLFSSL_MSG("SP Key Size Error");
|
||||||
return WC_KEY_SIZE_E;
|
return WC_KEY_SIZE_E;
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
(void)rng;
|
(void)rng;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user