mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-06 00:40:49 +02:00
F-2208 - Add ForceZero of RSA private exponent before free in Xilinx path
This commit is contained in:
@@ -2212,6 +2212,8 @@ static int wc_RsaFunctionSync(const byte* in, word32 inLen, byte* out,
|
||||
#endif
|
||||
}
|
||||
|
||||
if (d != NULL)
|
||||
ForceZero(d, dSz);
|
||||
XFREE(d, key->heap, DYNAMIC_TYPE_PRIVATE_KEY);
|
||||
}
|
||||
#endif
|
||||
|
||||
+2
-2
@@ -28,8 +28,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define LIBWOLFSSL_VERSION_STRING "5.8.4"
|
||||
#define LIBWOLFSSL_VERSION_HEX 0x05008004
|
||||
#define LIBWOLFSSL_VERSION_STRING "5.9.0"
|
||||
#define LIBWOLFSSL_VERSION_HEX 0x05009000
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user