mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
Restore useful comments above wc_RsaDirect in the .c file.
This commit is contained in:
@ -2868,6 +2868,9 @@ static int wc_RsaFunctionAsync(const byte* in, word32 inLen, byte* out,
|
|||||||
#endif /* WOLFSSL_ASYNC_CRYPT && WC_ASYNC_ENABLE_RSA */
|
#endif /* WOLFSSL_ASYNC_CRYPT && WC_ASYNC_ENABLE_RSA */
|
||||||
|
|
||||||
#if defined(WC_RSA_DIRECT) || defined(WC_RSA_NO_PADDING)
|
#if defined(WC_RSA_DIRECT) || defined(WC_RSA_NO_PADDING)
|
||||||
|
/* Performs direct RSA computation without padding. The input and output must
|
||||||
|
* match the key size (ex: 2048-bits = 256 bytes). Returns the size of the
|
||||||
|
* output on success or negative value on failure. */
|
||||||
int wc_RsaDirect(byte* in, word32 inLen, byte* out, word32* outSz,
|
int wc_RsaDirect(byte* in, word32 inLen, byte* out, word32* outSz,
|
||||||
RsaKey* key, int type, WC_RNG* rng)
|
RsaKey* key, int type, WC_RNG* rng)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user