F-2208 - Add ForceZero of RSA private exponent before free in Xilinx path

This commit is contained in:
Aidan Garske
2026-04-07 13:10:12 -07:00
parent ebd0bf21e0
commit 8d79ff3d6d
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -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
View File
@@ -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
}