From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko =?ISO-8859-1?Q?St=FCbner?= Date: Mon, 25 May 2020 19:18:06 +0200 Subject: [PATCH v5 5/8] lib: rsa: free local arrays after use in rsa_gen_key_prop() In-Reply-To: <20200522141937.3523692-5-heiko@sntech.de> References: <20200522141937.3523692-1-heiko@sntech.de> <20200522141937.3523692-5-heiko@sntech.de> Message-ID: <5508702.UP7rtf1JAX@diego> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Freitag, 22. Mai 2020, 16:19:34 CEST schrieb Heiko Stuebner: > From: Heiko Stuebner > > n, rr and rrtmp are used for internal calculations, but in the end > the results are copied into separately allocated elements of the > actual key_prop, so the n, rr and rrtmp elements are not used anymore > when returning from the function and should of course be freed. > > Signed-off-by: Heiko Stuebner transplanting a tag from v4: Reviewed-by: Philipp Tomsich